Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-03-16 15:06:12 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-16 15:06:12 +0300
commit1787fdbeed1085f7bf7778d1f6b7d4a4b68645df (patch)
treef96d61662e24fa87173a69a3e207921c741a2128 /source/tests
parentda18391ac48e3a08120563f1a8f5aef167999e63 (diff)
update x3d test md5s for recent changes, also ensure directory is created or export tests fail.
Diffstat (limited to 'source/tests')
-rw-r--r--source/tests/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/tests/CMakeLists.txt b/source/tests/CMakeLists.txt
index 00278697764..88acf52a875 100644
--- a/source/tests/CMakeLists.txt
+++ b/source/tests/CMakeLists.txt
@@ -28,6 +28,9 @@
set(TEST_SRC_DIR ${CMAKE_SOURCE_DIR}/../lib/tests)
set(TEST_OUT_DIR ${CMAKE_BINARY_DIR}/tests)
+# ugh, any better way to do this on testing only?
+execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${TEST_OUT_DIR})
+
#~ if(NOT IS_DIRECTORY ${TEST_SRC_DIR})
#~ message(FATAL_ERROR "CMake test directory not found!")
#~ endif()
@@ -163,7 +166,7 @@ add_test(export_x3d_cube ${TEST_BLENDER_EXE}
--python ${CMAKE_CURRENT_LIST_DIR}/bl_test.py --
--run={'FINISHED'}&bpy.ops.export_scene.x3d\(filepath='${TEST_OUT_DIR}/export_x3d_cube.x3d',use_selection=False\)
--md5_source=${TEST_OUT_DIR}/export_x3d_cube.x3d
- --md5=560ba3762a6604669994f661235ef93c --md5_method=FILE
+ --md5=9198ca86f19b68a4f1eb75bb48cb3dea --md5_method=FILE
)
add_test(export_x3d_nurbs ${TEST_BLENDER_EXE}
@@ -179,7 +182,7 @@ add_test(export_x3d_all_objects ${TEST_BLENDER_EXE}
--python ${CMAKE_CURRENT_LIST_DIR}/bl_test.py --
--run={'FINISHED'}&bpy.ops.export_scene.x3d\(filepath='${TEST_OUT_DIR}/export_x3d_all_objects.x3d',use_selection=False\)
--md5_source=${TEST_OUT_DIR}/export_x3d_all_objects.x3d
- --md5=5f8153d1475e187efca15dcb029d280d --md5_method=FILE
+ --md5=75df3075412ff60611ea05bc469e593b --md5_method=FILE
)