File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,26 @@ IF(RUN_BASIC_REGRESSION_TESTS)
7979 MESSAGE (STATUS "Using executable: ${EXE_LOC} to test networks" )
8080
8181 # Run all the possible .srn5 files in src/ExampleNets
82- FILE (GLOB_RECURSE scirun_srns "${SCIRun_SOURCE_DIR} /ExampleNets/regression/*.srn5" )
82+ FILE (GLOB_RECURSE scirun_srns_modules "${SCIRun_SOURCE_DIR} /ExampleNets/regression/Modules/*.srn5" )
83+ FILE (GLOB_RECURSE scirun_srns_network "${SCIRun_SOURCE_DIR} /ExampleNets/regression/Network/*.srn5" )
84+ FILE (GLOB_RECURSE scirun_srns_io "${SCIRun_SOURCE_DIR} /ExampleNets/regression/ImportExport/*.srn5" )
85+ set (scirun_srns ${scirun_srns_modules} ${scirun_srns_network} ${scirun_srns_io} )
86+
87+ IF (NOT BUILD_HEADLESS)
88+ FILE (GLOB_RECURSE scirun_srns_renderer "${SCIRun_SOURCE_DIR} /ExampleNets/regression/Renderer/*.srn5" )
89+ set (scirun_srns ${scirun_srns} ${scirun_srns_renderer} )
90+ ENDIF ()
91+
92+ IF (BUILD_WITH_PYTHON)
93+ FILE (GLOB_RECURSE scirun_srns_python "${SCIRun_SOURCE_DIR} /ExampleNets/regression/Python/*.srn5" )
94+ set (scirun_srns ${scirun_srns} ${scirun_srns_python} )
95+ ENDIF ()
96+
97+ IF (WITH_OSPRAY)
98+ FILE (GLOB_RECURSE scirun_srns_ospray "${SCIRun_SOURCE_DIR} /ExampleNets/regression/Ospray/*.srn5" )
99+ set (scirun_srns ${scirun_srns} ${scirun_srns_ospray} )
100+ ENDIF ()
101+
83102 FOREACH (srn ${scirun_srns} )
84103 GET_FILENAME_COMPONENT (srn_name ${srn} NAME_WE )
85104 ADD_TEST (".Test.Samples.${srn_name} _srn" ${EXE_LOC} -E ${srn} --no_splash --regression 30 -d ${SCIRUN_TEST_RESOURCE_DIR} )
You can’t perform that action at this time.
0 commit comments