File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed
roottest/cling/staticinit Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1
- set (RootExternalIncludes -e "gInterpreter->AddIncludePath(\" -I${CMAKE_CURRENT_SOURCE_DIR} \" );" )
2
-
3
1
ROOTTEST_ADD_TEST (ROOT-7775
4
2
MACRO execROOT-7775.C
3
+ ROOTEXE_OPTS -e "gInterpreter->AddIncludePath(\" -I${CMAKE_CURRENT_SOURCE_DIR} \" )"
5
4
OUTREF execROOT-7775.ref )
6
5
7
6
ROOTTEST_ADD_TESTDIRS ()
Original file line number Diff line number Diff line change 4
4
#
5
5
# For modules we load based on the missing symbol, i.e. after the parent
6
6
# transaction has been committed.
7
- if (NOT ROOT_runtime_cxxmodules_FOUND )
7
+ if (NOT runtime_cxxmodules )
8
8
return ()
9
9
endif ()
10
10
11
- add_library (ROOT10426 SHARED
12
- ROOT10426.cxx )
11
+ add_library (ROOT10426 SHARED ROOT10426.cxx )
13
12
target_link_libraries (ROOT10426 PUBLIC ROOT::Core )
14
13
15
- ROOTTEST_ADD_TEST (ROOT-10426
16
- MACRO execROOT10426.C
17
- OUTREF execROOT10426.ref )
14
+ add_test (NAME roottest-cling-staticinit-ROOT-10426-lib
15
+ COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR}
16
+ ${build_config}
17
+ --target ROOT10426${fast}
18
+ -- ${always-make} )
19
+
20
+ set_property (TEST roottest-cling-staticinit-ROOT-10426-lib PROPERTY FIXTURES_SETUP cling-staticinit-ROOT-10426-fixture )
21
+
22
+ ROOTTEST_ADD_TEST (run
23
+ MACRO execROOT10426.C
24
+ OUTREF execROOT10426.ref
25
+ FIXTURES_REQUIRED cling-staticinit-ROOT-10426-fixture )
You can’t perform that action at this time.
0 commit comments