From f9d9bf41f6bf48866b4da0f85782db2f757a2633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 8 May 2020 12:16:44 +0200 Subject: [PATCH] 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. --- tests/python/alembic_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {