Skip to content

Commit 98721cd

Browse files
committed
Exclude WebRootls tests from the Windows battery
since on Windows ROOT cannot read through the https protocol.
1 parent 5a4b565 commit 98721cd

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

python/cmdLineUtils/CMakeLists.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,15 @@ ROOTTEST_ADD_TEST(LongRootls4
6363
COMMAND ${TOOLS_PREFIX}/rootls${pyext} -l test.root:tof/*
6464
OUTREF LongRootls4.ref)
6565

66-
ROOTTEST_ADD_TEST(WebRootls1
67-
COMMAND ${TOOLS_PREFIX}/rootls${pyext} -1 http://root.cern.ch/files/pippa.root
68-
OUTREF WebRootls.ref)
69-
70-
ROOTTEST_ADD_TEST(WebRootls2
71-
COMMAND ${TOOLS_PREFIX}/rootls${pyext} -1 http://root.cern.ch/files/pippa.root:LL
72-
OUTREF WebRootls2.ref)
66+
if(NOT MSVC) # Windows cannot yet read https
67+
ROOTTEST_ADD_TEST(WebRootls1
68+
COMMAND ${TOOLS_PREFIX}/rootls${pyext} -1 http://root.cern.ch/files/pippa.root
69+
OUTREF WebRootls.ref)
70+
71+
ROOTTEST_ADD_TEST(WebRootls2
72+
COMMAND ${TOOLS_PREFIX}/rootls${pyext} -1 http://root.cern.ch/files/pippa.root:LL
73+
OUTREF WebRootls2.ref)
74+
endif()
7375

7476
ROOTTEST_ADD_TEST(TreeRootls1
7577
COMMAND ${TOOLS_PREFIX}/rootls${pyext} -t simpleTree.root

0 commit comments

Comments
 (0)