Skip to content

Commit 59aa513

Browse files
committed
[roottest] use fixture in math/vdt test
1 parent f839c25 commit 59aa513

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

roottest/root/math/vdt/.rootrc

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
if (ROOT_vdt_FOUND AND NOT ROOT_CLASSIC_BUILD AND NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
1+
if (vdt AND NOT ROOT_CLASSIC_BUILD AND NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
22

3-
set (testname stressVdt)
4-
set(additional_compile_flags "-O3")
3+
set (testname stressVdt)
4+
set(additional_compile_flags "-O3")
55

6-
include_directories(${VDT_INCLUDE_DIRS})
6+
include_directories(${VDT_INCLUDE_DIRS})
77

8-
ROOTTEST_GENERATE_EXECUTABLE(${testname}
9-
${testname}.cxx
10-
COMPILE_FLAGS ${additional_compile_flags}
11-
LIBRARIES Core Hist Gpad MathCore ${VDT_LIBRARIES})
8+
ROOTTEST_GENERATE_EXECUTABLE(${testname}
9+
${testname}.cxx
10+
COMPILE_FLAGS ${additional_compile_flags}
11+
LIBRARIES Core Hist Gpad MathCore ${VDT_LIBRARIES}
12+
FIXTURES_SETUP root-math-vdt-stressVdt-fixture)
1213

13-
ROOTTEST_ADD_TEST(${testname}
14-
EXEC ./${testname}
15-
FAILREGEX "too inaccurate"
16-
DEPENDS ${GENERATE_EXECUTABLE_TEST}
17-
LABELS longtest)
14+
ROOTTEST_ADD_TEST(${testname}
15+
EXEC ./${testname}
16+
FAILREGEX "too inaccurate"
17+
FIXTURES_REQUIRED root-math-vdt-stressVdt-fixture
18+
LABELS longtest)
1819
endif()

0 commit comments

Comments
 (0)