From e21f1136c2dc95ba78b871955e2679b74e42e223 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 10 Dec 2020 17:16:18 +1100 Subject: Tests: fix 'ctest -j' running multiple tests at once bl_blendfile_io & bl_blendfile_liblink shared a filename, which could make these tests fail. --- tests/python/bl_blendfile_io.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/python/bl_blendfile_io.py') diff --git a/tests/python/bl_blendfile_io.py b/tests/python/bl_blendfile_io.py index 49814ea5902..2c27b60f34e 100644 --- a/tests/python/bl_blendfile_io.py +++ b/tests/python/bl_blendfile_io.py @@ -20,7 +20,9 @@ class TestBlendFileSaveLoadBasic(TestHelper): output_dir = self.args.output_dir self.ensure_path(output_dir) - output_path = os.path.join(output_dir, "blendfile.blend") + + # Take care to keep the name unique so multiple test jobs can run at once. + output_path = os.path.join(output_dir, "blendfile_io.blend") orig_data = self.blender_data_to_tuple(bpy.data, "orig_data 1") -- cgit v1.2.3