Browse Source

regression tests: ignore pond.0.ply file due to overly long runtime.

acgessler 11 years ago
parent
commit
5a0c7058b5
2 changed files with 12 additions and 0 deletions
  1. 4 0
      test/regression/run.py
  2. 8 0
      test/regression/settings.py

+ 4 - 0
test/regression/run.py

@@ -160,6 +160,10 @@ def process_dir(d, outfile_results, zipin, result):
             process_dir(fullpath, outfile_results, zipin, result)
             continue
 
+        if f in settings.files_to_ignore:
+            print("Ignoring " + f)
+            continue
+
         for pppreset in settings.pp_configs_to_test:
             filehash = utils.hashing(fullpath, pppreset)
             failure = False

+ 8 - 0
test/regression/settings.py

@@ -47,6 +47,14 @@ test scripts rely on this)
 
 import os
 
+# -------------------------------------------------------------------------------
+# Files to ignore (with reason)
+#
+# pond.0.ply - loads with 40k identical triangles, causing postprocessing
+# to have quadratic runtime.
+# -------------------------------------------------------------------------------
+files_to_ignore = ["pond.0.ply"]
+
 # -------------------------------------------------------------------------------
 # List of file extensions to be excluded from the regression suite
 # File extensions are case insensitive