Skip to content

Commit 787952f

Browse files
committed
[test] Exclude test if TShape is not available
because geom=OFF, e.g. for minimal builds.
1 parent 118d293 commit 787952f

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

roottest/root/treeformula/casting/CMakeLists.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ ROOTTEST_ADD_TEST(write
33
FIXTURES_REQUIRED root-io-event-TestIoEvent-fixture
44
FIXTURES_SETUP root-treeformula-casting-write-fixture)
55

6-
ROOTTEST_COMPILE_MACRO(Simple.cxx
7-
FIXTURES_SETUP root-treeformula-casting-Simple-fixture)
8-
96
if(geom)
7+
ROOTTEST_COMPILE_MACRO(Simple.cxx
8+
FIXTURES_SETUP root-treeformula-casting-Simple-fixture)
9+
10+
1011
ROOTTEST_ADD_TEST(run
1112
MACRO Run.C
1213
OUTREF Simple.ref
1314
FIXTURES_REQUIRED root-treeformula-casting-write-fixture
1415
root-treeformula-casting-Simple-fixture)
15-
endif()
16+
endif()

0 commit comments

Comments
 (0)