Skip to content

Commit 6adec03

Browse files
committed
[roottest] convert cling/reflex to cmake
First generate reflex dictionary and then run tests using this dictionary Remove tests using Reflex/Type.h and Cintex - which are no longer available and were not testsed in plain Makefile
1 parent 1020406 commit 6adec03

13 files changed

+40
-238
lines changed

roottest/cling/reflex/.rootrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

roottest/cling/reflex/CMakeLists.txt

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,43 @@
44
# define a CTest test that calls 'make' in ${CMAKE_CURRENT_SOURCE_DIR}
55
#
66
#-------------------------------------------------------------------------------
7-
ROOTTEST_ADD_OLDTEST(LABELS longtest)
7+
# ROOTTEST_ADD_OLDTEST(LABELS longtest)
8+
9+
ROOTTEST_GENERATE_REFLEX_DICTIONARY(classVersion
10+
classVersion.h
11+
SELECTION classVersion_selection.xml
12+
FIXTURES_SETUP cling-reflex-classVersion-fixture)
13+
14+
ROOTTEST_ADD_TEST(classVersion_rflx
15+
MACRO classVersion_test.C
16+
ROOTEXE_OPTS -e "(void)gSystem->Load(\"libclassVersion_dictrflx\")"
17+
OUTREF classVersion_rflx.ref
18+
FIXTURES_REQUIRED cling-reflex-classVersion-fixture)
19+
20+
ROOTTEST_GENERATE_REFLEX_DICTIONARY(properties
21+
properties.h
22+
SELECTION properties_selection.xml
23+
FIXTURES_SETUP cling-reflex-properties-fixture)
24+
25+
ROOTTEST_ADD_TEST(properties_rflx
26+
MACRO properties_test.C
27+
ROOTEXE_OPTS -e "(void)gSystem->Load(\"libproperties_dictrflx\")"
28+
OUTREF properties_rflx.ref
29+
FIXTURES_REQUIRED cling-reflex-properties-fixture)
30+
31+
ROOTTEST_GENERATE_REFLEX_DICTIONARY(iotype
32+
iotype.h
33+
SELECTION iotype_selection.xml
34+
FIXTURES_SETUP cling-reflex-iotype-fixture)
35+
36+
ROOTTEST_GENERATE_REFLEX_DICTIONARY(iotype32
37+
iotype32.h
38+
SELECTION iotype32_selection.xml
39+
FIXTURES_SETUP cling-reflex-iotype32-fixture)
40+
41+
ROOTTEST_ADD_TEST(iotype_rflx
42+
MACRO iotype_test.C
43+
ROOTEXE_OPTS -e "(void)gSystem->Load(\"libiotype_dictrflx\")"
44+
-e "(void)gSystem->Load(\"libiotype32_dictrflx\")"
45+
OUTREF iotype_rflx.ref
46+
FIXTURES_REQUIRED cling-reflex-iotype-fixture cling-reflex-iotype32-fixture)

roottest/cling/reflex/CintexReflexOrder.ref

Lines changed: 0 additions & 3 deletions
This file was deleted.

roottest/cling/reflex/Makefile

Lines changed: 0 additions & 79 deletions
This file was deleted.

roottest/cling/reflex/ReflexCintexOrder.ref

Lines changed: 0 additions & 3 deletions
This file was deleted.

roottest/cling/reflex/Tools.ref

Lines changed: 0 additions & 19 deletions
This file was deleted.

roottest/cling/reflex/runCintexReflexOrder.C

Lines changed: 0 additions & 10 deletions
This file was deleted.

roottest/cling/reflex/runReflexCintexOrder.C

Lines changed: 0 additions & 11 deletions
This file was deleted.

roottest/cling/reflex/runTools.C

Lines changed: 0 additions & 38 deletions
This file was deleted.

roottest/cling/reflex/updateMembers.h

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)