diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-05-08 13:16:44 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-05-08 16:10:28 +0300 |
commit | f9d9bf41f6bf48866b4da0f85782db2f757a2633 (patch) | |
tree | e162eb7b882e04e990795130d0dfd4d4215bb9a5 /tests/python | |
parent | 18f833be2986c3432b28802a783c4ff5a10abafa (diff) |
Tests: Alembic, log entire command when `abcls` fails
This makes it easier to manually run the `abcls` when a test fails, aiding
inspection & fixing.
No function changes to actual Blender code.
Diffstat (limited to 'tests/python')
-rw-r--r-- | tests/python/alembic_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/python/alembic_tests.py b/tests/python/alembic_tests.py index 9de1bc06d84..8c0315f1b68 100644 --- a/tests/python/alembic_tests.py +++ b/tests/python/alembic_tests.py @@ -76,7 +76,7 @@ class AbstractAlembicTest(AbstractBlenderRunnerTest): output = output.replace('\r\n', '\n').replace('\r', '\n') if proc.returncode: - raise AbcPropError('Error %d running abcls:\n%s' % (proc.returncode, output)) + raise AbcPropError('Error %d running %s:\n%s' % (proc.returncode, ' '.join(command), output)) # Mapping from value type to callable that can convert a string to Python values. converters = { |