Add test scripts to ctest & rename
This commit is contained in:
parent
81f64312d2
commit
fc6f4c11ae
@ -73,6 +73,16 @@ if(USE_EXPERIMENTAL_TESTS)
|
||||
)
|
||||
endif()
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# PY API TESTS
|
||||
add_test(script_pyapi_bpy_path ${TEST_BLENDER_EXE}
|
||||
--python ${CMAKE_CURRENT_LIST_DIR}/bl_pyapi_bpy_path.py
|
||||
)
|
||||
|
||||
add_test(script_pyapi_bpy_utils_units ${TEST_BLENDER_EXE}
|
||||
--python ${CMAKE_CURRENT_LIST_DIR}/bl_pyapi_bpy_utils_units.py
|
||||
)
|
||||
|
||||
# test running mathutils testing script
|
||||
add_test(script_pyapi_mathutils ${TEST_BLENDER_EXE}
|
||||
--python ${CMAKE_CURRENT_LIST_DIR}/bl_pyapi_mathutils.py
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Apache License, Version 2.0
|
||||
|
||||
# ./blender.bin --background -noaudio --python tests/python/bl_bpy_path.py -- --verbose
|
||||
# ./blender.bin --background -noaudio --python tests/python/bl_pyapi_bpy_path.py -- --verbose
|
||||
import unittest
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Apache License, Version 2.0
|
||||
|
||||
# ./blender.bin --background -noaudio --python tests/python/bl_pyapi_units.py -- --verbose
|
||||
# ./blender.bin --background -noaudio --python tests/python/bl_pyapi_bpy_utils_units.py -- --verbose
|
||||
import unittest
|
||||
|
||||
from bpy.utils import units
|
Loading…
Reference in New Issue
Block a user