Skip to content

[roottest] move reflex test from io/evolution to subdir #19088

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 8 additions & 22 deletions roottest/root/io/evolution/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,6 @@ ROOTTEST_ADD_TEST(boolUpdate
FIXTURES_REQUIRED root-io-evolution-boolUpdate-fixture)


ROOTTEST_COMPILE_MACRO(cms.cxx
FIXTURES_SETUP root-io-evolution-cms-fixture)

ROOTTEST_ADD_TEST(foreign310
MACRO runforeign310.C
OUTREF foreign310.ref
COPY_TO_BUILDDIR CMS.root
LABELS longtest io
FIXTURES_REQUIRED root-io-evolution-cms-fixture)

ROOTTEST_ADD_TEST(Missing
MACRO runMissing.C
OUTREF Missing.ref
Expand Down Expand Up @@ -200,20 +190,16 @@ ROOTTEST_ADD_TEST(ClonesArrayEvo
LABELS longtest io
FIXTURES_REQUIRED root-io-evolution-Event_3-fixture)

# there is problem parsing XML file on Windows, therefore reflex dictionary generation fails
if (NOT MSVC OR win_broken_tests)
ROOTTEST_GENERATE_REFLEX_DICTIONARY(libioReadRuleEquivalentCode
ioReadRuleEquivalentCode.h
SELECTION ioReadRuleEquivalentCode_selection.xml
FIXTURES_SETUP root-io-evolution-libioReadRuleEquivalentCode-fixture)
ROOTTEST_COMPILE_MACRO(cms.cxx
FIXTURES_SETUP root-io-evolution-cms-fixture)

ROOTTEST_ADD_TEST(ioReadRuleEquivalentCode
MACRO execioReadRuleEquivalentCode.C
OUTREF execioReadRuleEquivalentCode.ref
COPY_TO_BUILDDIR ioReadRuleEquivalentCode.root
ROOTTEST_ADD_TEST(foreign310
MACRO runforeign310.C
OUTREF foreign310.ref
COPY_TO_BUILDDIR CMS.root
LABELS longtest io
FIXTURES_REQUIRED root-io-evolution-libioReadRuleEquivalentCode-fixture)
endif()
FIXTURES_REQUIRED root-io-evolution-cms-fixture)


ROOTTEST_ADD_TEST(Skipbaseclass
MACRO execSkipbaseclass.cxx+
Expand Down
14 changes: 14 additions & 0 deletions roottest/root/io/evolution/equivalent/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# there is problem parsing XML file on Windows, therefore reflex dictionary generation fails
if (NOT MSVC OR win_broken_tests)
ROOTTEST_GENERATE_REFLEX_DICTIONARY(ioReadRuleEquivalentCode
ioReadRuleEquivalentCode.h
SELECTION ioReadRuleEquivalentCode_selection.xml
FIXTURES_SETUP root-io-evolution-equivalent-ioReadRuleEquivalentCode-fixture)

ROOTTEST_ADD_TEST(ioReadRuleEquivalentCode
MACRO execioReadRuleEquivalentCode.C
OUTREF execioReadRuleEquivalentCode.ref
COPY_TO_BUILDDIR ioReadRuleEquivalentCode.root
LABELS longtest io
FIXTURES_REQUIRED root-io-evolution-equivalent-ioReadRuleEquivalentCode-fixture)
endif()
Loading