diff options
author | Jacques Lucke <jacques@blender.org> | 2021-08-02 11:38:11 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-08-02 11:38:11 +0300 |
commit | 3fd5c93f9ce805b1a59bb6a03a9d39767697e336 (patch) | |
tree | 17b88a2e3879eef89b93d450d9efb816b13b1e99 /tests | |
parent | de91cdd930614d5396ca4691b37cc0502481ead7 (diff) |
Geometry Nodes: increase threshold to make regression tests pass
The real fix here is to use some kind of relative error in `customdata_compare`
instead of the absolute error used now. If vertex coordinates get larger in magnitude,
the allowed error should increase as well.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/python/geo_node_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/python/geo_node_test.py b/tests/python/geo_node_test.py index fa87fb23bee..5da28977ba4 100644 --- a/tests/python/geo_node_test.py +++ b/tests/python/geo_node_test.py @@ -25,7 +25,7 @@ import sys sys.path.append(os.path.dirname(os.path.realpath(__file__))) from modules.mesh_test import BlendFileTest -geo_node_test = BlendFileTest("test_object", "expected_object") +geo_node_test = BlendFileTest("test_object", "expected_object", threshold=1e-4) result = geo_node_test.run_test() # Telling `ctest` about the failed test by raising Exception. |