Skip to content

Commit 42a97ad

Browse files
committed
[roottest[ configure fixtures for cling/const test
To ensure that execution of runConst.C and runConst.C+ do not affect each other, first delete compiled code, than run interpreted macro and at the end in compiled mode
1 parent 6adec03 commit 42a97ad

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

roottest/cling/const/CMakeLists.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
1+
ROOTTEST_ADD_TEST(delmacro
2+
COMMAND ${CMAKE_COMMAND} -E remove -f "runConst_C.*"
3+
FIXTURES_SETUP cling-const-delmacro-fixture)
4+
15
ROOTTEST_ADD_TEST(run1
26
MACRO runConst.C
37
OUTREF good1.output
4-
LABELS roottest regression cling)
8+
LABELS roottest regression cling
9+
FIXTURES_REQUIRED cling-const-delmacro-fixture
10+
FIXTURES_SETUP cling-const-run1-fixture)
511

612
ROOTTEST_ADD_TEST(run2
713
MACRO runConst.C+
814
OUTREF good2.output
9-
LABELS roottest regression cling)
15+
LABELS roottest regression cling
16+
FIXTURES_REQUIRED cling-const-run1-fixture)
1017

1118
ROOTTEST_ADD_TEST(constCharTest
1219
MACRO constissue.C

0 commit comments

Comments
 (0)