[Bf-blender-cvs] [f457dc122d1] master: Cleanup: Alembic, rename unit test

Sybren A. Stüvel noreply at git.blender.org
Fri Feb 14 15:42:42 CET 2020


Commit: f457dc122d1d58f5e0e35db746104b69332597b0
Author: Sybren A. Stüvel
Date:   Fri Feb 14 15:14:46 2020 +0100
Branches: master
https://developer.blender.org/rBf457dc122d1d58f5e0e35db746104b69332597b0

Cleanup: Alembic, rename unit test

This rename is to prepare for a future addition to the unit test file.
Currently it's named "import" and I will add an export test as well. The
rename is a separate commit to easily see the difference between the
rename and the addition of another test.

No functional changes.

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

M	tests/python/CMakeLists.txt
R099	tests/python/bl_alembic_import_test.py	tests/python/bl_alembic_io_test.py

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

diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt
index 5a3eeb6d14e..0eb17d7fafe 100644
--- a/tests/python/CMakeLists.txt
+++ b/tests/python/CMakeLists.txt
@@ -644,8 +644,8 @@ if(WITH_ALEMBIC)
   )
 
   add_blender_test(
-    script_alembic_import
-    --python ${CMAKE_CURRENT_LIST_DIR}/bl_alembic_import_test.py
+    script_alembic_io
+    --python ${CMAKE_CURRENT_LIST_DIR}/bl_alembic_io_test.py
     --
     --testdir "${TEST_SRC_DIR}/alembic"
   )
diff --git a/tests/python/bl_alembic_import_test.py b/tests/python/bl_alembic_io_test.py
similarity index 99%
rename from tests/python/bl_alembic_import_test.py
rename to tests/python/bl_alembic_io_test.py
index baf76dc581f..41b28cb7c33 100644
--- a/tests/python/bl_alembic_import_test.py
+++ b/tests/python/bl_alembic_io_test.py
@@ -19,7 +19,7 @@
 # <pep8 compliant>
 
 """
-./blender.bin --background -noaudio --factory-startup --python tests/python/bl_alembic_import_test.py -- --testdir /path/to/lib/tests/alembic
+./blender.bin --background -noaudio --factory-startup --python tests/python/bl_alembic_io_test.py -- --testdir /path/to/lib/tests/alembic
 """
 
 import pathlib



More information about the Bf-blender-cvs mailing list