Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion roottest/root/meta/MakeProject/.rootrc

This file was deleted.

50 changes: 29 additions & 21 deletions roottest/root/meta/MakeProject/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
ROOTTEST_GENERATE_DICTIONARY(stl_makeproject_test stl_makeproject_test.h LINKDEF stl_makeproject_test_linkdef.h NO_ROOTMAP NO_CXXMODULE)
ROOTTEST_GENERATE_DICTIONARY(stl_makeproject_test
stl_makeproject_test.h
LINKDEF stl_makeproject_test_linkdef.h
NO_ROOTMAP NO_CXXMODULE
FIXTURES_SETUP root-meta-MakeProject-stl_makeproject_test-fixture)
# If we build roottest in-tree, add a dependecy on Hist because the header
# includes TH1D.
if(TARGET Hist)
add_dependencies(stl_makeproject_test Hist)
endif()

if(ROOT_runtime_cxxmodules_FOUND)
# FIXME: For C++ modules builds, module.modulemap is generated during configuration time
if(runtime_cxxmodules)
# FIXME: For C++ modules builds, module.modulemap is generated during configuration time
# and it is not needed during execution of stltest*, but later for other tests it needs to be back in build directory.
# FIXME: We need to run some tests in serial mode, because in very-parallel builds,
# since they access the same build directory, they could conflict via existent/not module.modulemap file.
Expand All @@ -18,8 +22,7 @@ if(ROOT_runtime_cxxmodules_FOUND)
OUTCNV atlasaod_convert.sh
OUTREF atlasaod.ref
LABELS longtest
RUN_SERIAL
)
RUN_SERIAL)

ROOTTEST_ADD_TEST(runcms310
COPY_TO_BUILDDIR enable_modulemap.sh
Expand All @@ -39,37 +42,38 @@ if(ROOT_runtime_cxxmodules_FOUND)
OUTCNV aliceesd_convert.sh
OUTREF aliceesd.ref
RUN_SERIAL)

ROOTTEST_ADD_TEST(examples
COPY_TO_BUILDDIR enable_modulemap.sh
COPY_TO_BUILDDIR enable_modulemap.sh disable_modulemap.sh stl_makeproject_test.h
PRECMD ./enable_modulemap.sh ${CMAKE_CURRENT_BINARY_DIR}
COPY_TO_BUILDDIR stl_makeproject_test.h
MACRO create_makeproject_examples.C
OUTREF create_makeproject_examples.ref
DEPENDS ${GENERATE_DICTIONARY_TEST} stl_makeproject_test-build)
FIXTURES_REQUIRED root-meta-MakeProject-stl_makeproject_test-fixture
FIXTURES_SETUP root-meta-MakeProject-examples-fixture)

ROOTTEST_ADD_TEST(stltest
COPY_TO_BUILDDIR disable_modulemap.sh enable_modulemap.sh
PRECMD ./disable_modulemap.sh ${CMAKE_CURRENT_BINARY_DIR}
MACRO runstltest.C
POSTCMD ./enable_modulemap.sh ${CMAKE_CURRENT_BINARY_DIR}
OUTREF teststlCTEST.ref
DEPENDS examples)
FIXTURES_REQUIRED root-meta-MakeProject-examples-fixture
FIXTURES_SETUP root-meta-MakeProject-stltest-fixture)

ROOTTEST_ADD_TEST(stltest2
COPY_TO_BUILDDIR disable_modulemap.sh enable_modulemap.sh
PRECMD ./disable_modulemap.sh ${CMAKE_CURRENT_BINARY_DIR}
MACRO runstltest2.C
POSTCMD ./enable_modulemap.sh ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS stltest)
OUTREF stltest2.ref
FIXTURES_REQUIRED root-meta-MakeProject-stltest-fixture)

ROOTTEST_ADD_TEST(foreign
COPY_TO_BUILDDIR enable_modulemap.sh foreign.root
PRECMD ./enable_modulemap.sh ${CMAKE_CURRENT_BINARY_DIR}
MACRO runforeign.C
OUTREF foreign.ref
RUN_SERIAL)
else()
ROOTTEST_ADD_TEST(runatlasaod
ROOTTEST_ADD_TEST(runatlasaod
COPY_TO_BUILDDIR small_aod.pool.root
MACRO runatlasaod.C
OUTCNV atlasaod_convert.sh
Expand All @@ -88,24 +92,28 @@ else()
MACRO runaliceesd.C
OUTCNV aliceesd_convert.sh
OUTREF aliceesd.ref)

ROOTTEST_ADD_TEST(examples
COPY_TO_BUILDDIR stl_makeproject_test.h
MACRO create_makeproject_examples.C
OUTREF create_makeproject_examples.ref
DEPENDS ${GENERATE_DICTIONARY_TEST} stl_makeproject_test-build)
FIXTURES_REQUIRED root-meta-MakeProject-stl_makeproject_test-fixture
FIXTURES_SETUP root-meta-MakeProject-examples-fixture)

ROOTTEST_ADD_TEST(stltest
MACRO runstltest.C
OUTREF teststlCTEST${ref_suffix}
DEPENDS examples)

FIXTURES_REQUIRED root-meta-MakeProject-examples-fixture
FIXTURES_SETUP root-meta-MakeProject-stltest-fixture)

ROOTTEST_ADD_TEST(stltest2
MACRO runstltest2.C
DEPENDS stltest)
OUTREF stltest2.ref
FIXTURES_REQUIRED root-meta-MakeProject-stltest-fixture)

ROOTTEST_ADD_TEST(foreign
COPY_TO_BUILDDIR foreign.root
MACRO runforeign.C)
COPY_TO_BUILDDIR foreign.root
MACRO runforeign.C
OUTREF foreign${ref_suffix})
endif()

134 changes: 0 additions & 134 deletions roottest/root/meta/MakeProject/Makefile

This file was deleted.

6 changes: 3 additions & 3 deletions roottest/root/meta/MakeProject/foreign.ref
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
Processing runforeign.C...
Warning in <TClass::Init>: no dictionary for class ndtf::FinalStateParticle is available
MakeProject has generated 1 classes in foreign
MAKEP file has been generated
foreign.so has been generated
foreign.so has been dynamically linked
foreign/MAKEP file has been generated
Shared lib foreign/foreign.so has been generated
Shared lib foreign/foreign.so has been dynamically linked
10 changes: 10 additions & 0 deletions roottest/root/meta/MakeProject/foreign_win32.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

Processing runforeign.C...
Warning in <TClass::Init>: no dictionary for class ndtf::FinalStateParticle is available


foreignProjectSource.cxx
MakeProject has generated 1 classes in foreign
foreign/MAKEP file has been generated
Shared lib foreign/foreign.dll has been generated
Shared lib foreign/foreign.dll has been dynamically linked
10 changes: 10 additions & 0 deletions roottest/root/meta/MakeProject/foreign_win64.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

Processing runforeign.C...
Warning in <TClass::Init>: no dictionary for class ndtf::FinalStateParticle is available


foreignProjectSource.cxx
MakeProject has generated 1 classes in foreign
foreign/MAKEP file has been generated
Shared lib foreign/foreign.dll has been generated
Shared lib foreign/foreign.dll has been dynamically linked
7 changes: 0 additions & 7 deletions roottest/root/meta/MakeProject/teststl.ref

This file was deleted.

1 change: 0 additions & 1 deletion roottest/root/meta/iotypeioname/.rootrc

This file was deleted.

18 changes: 8 additions & 10 deletions roottest/root/meta/iotypeioname/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
ROOTTEST_GENERATE_REFLEX_DICTIONARY(classes classes.h SELECTION classes_selection.xml)
ROOTTEST_GENERATE_REFLEX_DICTIONARY(classes
classes.h
SELECTION classes_selection.xml
FIXTURES_SETUP root-meta-iotypeioname-dict-fixture)

#---Copy from source to binary some of the files
configure_file(example.xml . COPYONLY)

ROOTTEST_ADD_AUTOMACROS(DEPENDS ${GENERATE_REFLEX_TEST}
EXCLUDE execionameiotype)

ROOTTEST_ADD_TEST(execionameiotype
ROOTTEST_ADD_TEST(ionameiotype
MACRO execionameiotype.C
DEPENDS ${GENERATE_REFLEX_TEST}
OUTREF execionameiotype.ref)
COPY_TO_BUILDDIR example.xml
OUTREF execionameiotype.ref
FIXTURES_REQUIRED root-meta-iotypeioname-dict-fixture)
2 changes: 0 additions & 2 deletions roottest/root/meta/loadAllLibs/.rootrc

This file was deleted.

38 changes: 0 additions & 38 deletions roottest/root/meta/loadAllLibs/Makefile

This file was deleted.

3 changes: 0 additions & 3 deletions roottest/root/meta/loadAllLibs/execLoadAllLibs.ref

This file was deleted.

3 changes: 0 additions & 3 deletions roottest/root/meta/loadAllLibs/execLoadAllLibsAZ.ref

This file was deleted.

3 changes: 0 additions & 3 deletions roottest/root/meta/loadAllLibs/execLoadAllLibsZA.ref

This file was deleted.

2 changes: 0 additions & 2 deletions roottest/root/meta/method/.rootrc

This file was deleted.

Loading
Loading