Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
77e8f7f4
Kaydet (Commit)
77e8f7f4
authored
Agu 02, 2011
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert o3tl to gbuild
üst
84fb7420
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
141 additions
and
60 deletions
+141
-60
CppunitTest_o3tl_tests.mk
o3tl/CppunitTest_o3tl_tests.mk
+15
-53
Makefile
o3tl/Makefile
+38
-0
Module_o3tl.mk
o3tl/Module_o3tl.mk
+38
-0
Package_inc.mk
o3tl/Package_inc.mk
+37
-0
makefile.mk
o3tl/prj/makefile.mk
+12
-6
test-cow_wrapper.cxx
o3tl/qa/test-cow_wrapper.cxx
+1
-1
No files found.
o3tl/
qa/makefile
.mk
→
o3tl/
CppunitTest_o3tl_tests
.mk
Dosyayı görüntüle @
77e8f7f4
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 201
0
Oracle and/or its affiliates.
#
# Copyright 2000, 201
1
Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
...
...
@@ -25,58 +25,20 @@
#
#*************************************************************************
PRJ
=
..
PRJNAME
=
o3tl
TARGET
=
tests
ENABLE_EXCEPTIONS
=
TRUE
# --- Settings -----------------------------------------------------
.INCLUDE
:
settings.mk
.IF
"$(CROSS_COMPILING)"
==
"YES"
all
:
@echo
Nothing
done
when
cross-compiling
.ENDIF
CFLAGSCXX
+=
$(CPPUNIT_CFLAGS)
.IF
"$(L10N_framework)"
==
""
# --- Common ----------------------------------------------------------
# BEGIN ----------------------------------------------------------------
SHL1OBJS
=
\
$(SLO)$/
cow_wrapper_clients.obj
\
$(SLO)$/
test-cow_wrapper.obj
\
$(SLO)$/
test-vector_pool.obj
\
$(SLO)$/
test-heap_ptr.obj
\
$(SLO)$/
test-range.obj
SHL1TARGET
=
tests
SHL1STDLIBS
=
$(SALLIB)
\
$(CPPUNITLIB)
SHL1IMPLIB
=
i
$(SHL1TARGET)
DEF1NAME
=
$(SHL1TARGET)
SHL1VERSIONMAP
=
export.map
SHL1RPATH
=
NONE
# END ------------------------------------------------------------------
#------------------------------- All object files -------------------------------
# do this here, so we get right dependencies
SLOFILES
=
$(SHL1OBJS)
$(eval $(call gb_CppunitTest_CppunitTest,o3tl_tests))
# --- Targets ------------------------------------------------------
.ENDIF
# L10N_framework
$(eval $(call gb_CppunitTest_add_package_headers,o3tl_tests,o3tl_inc))
.INCLUDE
:
target.mk
$(eval $(call gb_CppunitTest_add_linked_libs,o3tl_tests,\
sal \
))
# --- Enable test execution in normal build ------------------------
.IF
"$(L10N_framework)"
==
""
.INCLUDE
:
_cppunit.mk
.ENDIF
# L10N_framework
$(eval $(call gb_CppunitTest_add_exception_objects,o3tl_tests,\
o3tl/qa/cow_wrapper_clients \
o3tl/qa/test-cow_wrapper \
o3tl/qa/test-heap_ptr \
o3tl/qa/test-range \
o3tl/qa/test-vector_pool \
))
# vim: set noet sw=4:
o3tl/Makefile
0 → 100644
Dosyayı görüntüle @
77e8f7f4
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2011 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
ifeq
($(strip
$(SOLARENV)),)
$(error
No
environment
set!)
endif
gb_PARTIALBUILD
:=
T
GBUILDDIR
:=
$(SOLARENV)
/gbuild
include
$(GBUILDDIR)/gbuild.mk
$(eval
$(call
gb_Module_make_global_targets,$(shell
ls
$(dir
$(realpath
$(firstword
$(MAKEFILE_LIST))))/Module*.mk)))
# vim: set noet sw=4 ts=4:
o3tl/Module_o3tl.mk
0 → 100644
Dosyayı görüntüle @
77e8f7f4
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2011 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Module_Module,o3tl))
$(eval $(call gb_Module_add_targets,o3tl,\
Package_inc \
))
$(eval $(call gb_Module_add_check_targets,o3tl,\
CppunitTest_o3tl_tests \
))
# vim: set noet sw=4:
o3tl/Package_inc.mk
0 → 100644
Dosyayı görüntüle @
77e8f7f4
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2011 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Package_Package,o3tl_inc,$(SRCDIR)/o3tl/inc))
$(eval $(call gb_Package_add_file,o3tl_inc,inc/o3tl/compat_functional.hxx,o3tl/compat_functional.hxx))
$(eval $(call gb_Package_add_file,o3tl_inc,inc/o3tl/cow_wrapper.hxx,o3tl/cow_wrapper.hxx))
$(eval $(call gb_Package_add_file,o3tl_inc,inc/o3tl/heap_ptr.hxx,o3tl/heap_ptr.hxx))
$(eval $(call gb_Package_add_file,o3tl_inc,inc/o3tl/lazy_update.hxx,o3tl/lazy_update.hxx))
$(eval $(call gb_Package_add_file,o3tl_inc,inc/o3tl/range.hxx,o3tl/range.hxx))
$(eval $(call gb_Package_add_file,o3tl_inc,inc/o3tl/vector_pool.hxx,o3tl/vector_pool.hxx))
# vim: set noet sw=4:
o3tl/
qa/export.map
→
o3tl/
prj/makefile.mk
Dosyayı görüntüle @
77e8f7f4
...
...
@@ -25,10 +25,16 @@
#
#*************************************************************************
UDK_3_0_0 {
global:
cppunitTestPlugIn;
PRJ
=
..
TARGET
=
prj
local:
*;
};
.INCLUDE
:
settings.mk
.IF
"$(VERBOSE)"
!=
""
VERBOSEFLAG
:=
.ELSE
VERBOSEFLAG
:=
-s
.ENDIF
all
:
cd
$(PRJ)
&&
$(GNUMAKE)
$(VERBOSEFLAG)
-r
-j
$(MAXPROCESS)
$(gb_MAKETARGET)
&&
$(GNUMAKE)
$(VERBOSEFLAG)
-r
deliverlog
o3tl/qa/test-cow_wrapper.cxx
Dosyayı görüntüle @
77e8f7f4
...
...
@@ -4,7 +4,7 @@
#include "cppunit/TestAssert.h"
#include "cppunit/TestFixture.h"
#include "cppunit/extensions/HelperMacros.h"
#include
"cppunit/plugin/TestPlugIn.h"
#include
<sal/cppunit.h>
#include "cow_wrapper_clients.hxx"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment