Update unit test template with last modifications, clean and manage some errors

This commit is contained in:
Jeremy D
2022-02-16 11:45:27 +01:00
parent 8ba8ab4715
commit edd4095d25
5 changed files with 25 additions and 15 deletions
+1 -3
View File
@@ -1,5 +1,3 @@
#!/bin/bash
MOUNT_FOLDER="addon_moderlab"
export FOLDER_TEST=$MOUNT_FOLDER
/opt/blender/blender --background --python-exit-code 1 --python "/addon_moderlab/tests/utils/blender_addon.py" > /dev/null 2>&1 || exit 1
/opt/blender/blender --background --python-exit-code 1 --python "$FOLDER_TEST/tests/utils/blender_addon.py" || exit 1 > /dev/null 2>&1
/opt/blender/blender --background -noaudio --disable-autoexec --python-exit-code 1 --python "$1" -- --verbose || exit 1