From 222778dadcd68ad73a3fbbcff72f5f033e5b8270 Mon Sep 17 00:00:00 2001 From: Jonah Friedman Date: Sat, 26 Dec 2020 14:37:15 -0800 Subject: [PATCH] Updated for Arnold 6.1.0.0. Removed test for non-cryptomatte pixels of test 010 as they are different between versions of Arnold. --- tests/cryptomatte/010_htoa_instances.ass | 1 + tests/cryptomatte_tests.py | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/cryptomatte/010_htoa_instances.ass b/tests/cryptomatte/010_htoa_instances.ass index 3ca115e..3f44274 100644 --- a/tests/cryptomatte/010_htoa_instances.ass +++ b/tests/cryptomatte/010_htoa_instances.ass @@ -9949,6 +9949,7 @@ skydome_light { name /obj/arnold_skydome_light1 color /obj/arnold_skydome_light1/shopnet/arnold_vopnet/physical_sky1 + camera 0 exposure 2 samples 2 motion_end 0 diff --git a/tests/cryptomatte_tests.py b/tests/cryptomatte_tests.py index 4f93e10..5ff8fc0 100644 --- a/tests/cryptomatte_tests.py +++ b/tests/cryptomatte_tests.py @@ -364,7 +364,7 @@ def test_build_compatibility(self): 5.0.1.0 for 5.0.* and 5.1.*, and building against 5.2.0.0 for 5.2.*. """ - legal_versions = ['5.0.1.0', '5.2.0.0'] + legal_versions = ['5.0.1.0', '5.2.0.0', '6.0.0.0', '6.1.0.0', '6.2.0.0'] legal_phrases = ['cryptomatte uses Arnold %s' % x for x in legal_versions] with open(self.result_log) as f: log_contents = f.read() @@ -473,9 +473,6 @@ def test_results_all_present(self): def test_cryptomatte_pixels(self): self.assertCryptomattePixelsMatch() - def test_non_cryptomatte_pixels(self): - self.assertNonCryptomattePixelsMatch() - class Cryptomatte020(CryptomatteTestBase): """