9a99763
diff -ur root-6.06.02.orig/test/CMakeLists.txt root-6.06.02/test/CMakeLists.txt
9a99763
--- root-6.06.02.orig/test/CMakeLists.txt	2016-03-03 10:36:03.000000000 +0100
9a99763
+++ root-6.06.02/test/CMakeLists.txt	2016-04-02 17:06:39.536489046 +0200
9a99763
@@ -239,13 +239,14 @@
9a99763
 
9a99763
 #--stressProof-------------------------------------------------------------------------------
9a99763
 if(NOT WIN32)
9a99763
-  add_custom_target(TestData ALL COMMAND ${CMAKE_COMMAND} -DDST=${CMAKE_SOURCE_DIR}/files -P ${CMAKE_CURRENT_SOURCE_DIR}/rootDownloadData.cmake)
9a99763
+  add_custom_target(TestData COMMAND ${CMAKE_COMMAND} -DDST=${CMAKE_SOURCE_DIR}/files -P ${CMAKE_CURRENT_SOURCE_DIR}/rootDownloadData.cmake)
9a99763
   ROOT_EXECUTABLE(stressProof stressProof.cxx LIBRARIES Proof ProofPlayer Hist)
9a99763
   ROOT_ADD_TEST(test-stressproof COMMAND stressProof lite://
9a99763
                                          -h1 ${CMAKE_SOURCE_DIR}/files/h1 -event ${CMAKE_SOURCE_DIR}/files/event
9a99763
                                          -l /tmp/stressProof-%d.log -cleanlog -catlog -noprogress
9a99763
                                          ENVIRONMENT PATH=${CMAKE_BINARY_DIR}/bin:$ENV{PATH}
9a99763
-                                         FAILREGEX "FAILED|Error in")
9a99763
+                                         FAILREGEX "FAILED|Error in"
9a99763
+                                         DEPENDS TestData)
9a99763
 endif()
9a99763
 
9a99763
 #--testbits----------------------------------------------------------------------------------