[Bf-blender-cvs] [f26492d] master: CTest: disable bl_run_operators.py, fun for finding crashes, takes a long time

Campbell Barton noreply at git.blender.org
Wed Mar 26 22:34:08 CET 2014


Commit: f26492d3e814af416fe96c69ee22db915bbb3d13
Author: Campbell Barton
Date:   Thu Mar 27 07:30:22 2014 +1100
https://developer.blender.org/rBf26492d3e814af416fe96c69ee22db915bbb3d13

CTest: disable bl_run_operators.py, fun for finding crashes, takes a long time

===================================================================

M	source/tests/CMakeLists.txt

===================================================================

diff --git a/source/tests/CMakeLists.txt b/source/tests/CMakeLists.txt
index 0f29e26..85c6869 100644
--- a/source/tests/CMakeLists.txt
+++ b/source/tests/CMakeLists.txt
@@ -22,6 +22,9 @@
 
 # Use '--write-blend=/tmp/test.blend' to view output
 
+# Some tests are interesting but take too long to run
+# and don't give deterministic results
+set(USE_EXPERIMENTAL_TESTS FALSE)
 
 set(TEST_SRC_DIR ${CMAKE_SOURCE_DIR}/../lib/tests)
 set(TEST_OUT_DIR ${CMAKE_BINARY_DIR}/tests)
@@ -63,9 +66,11 @@ add_test(script_load_modules ${TEST_BLENDER_EXE}
 )
 
 # test running operators doesn't segfault under various conditions
-add_test(script_run_operators ${TEST_BLENDER_EXE}
-	--python ${CMAKE_CURRENT_LIST_DIR}/bl_run_operators.py
-)
+if(USE_EXPERIMENTAL_TESTS)
+	add_test(script_run_operators ${TEST_BLENDER_EXE}
+		--python ${CMAKE_CURRENT_LIST_DIR}/bl_run_operators.py
+	)
+endif()
 
 # test running mathutils testing script
 add_test(script_pyapi_mathutils ${TEST_BLENDER_EXE}




More information about the Bf-blender-cvs mailing list