2
0
Эх сурвалжийг харах

Reduce garbage errors during regression checks.

Alexander Gessler 10 жил өмнө
parent
commit
e976cc2117

+ 1 - 1
test/regression/run.py

@@ -171,7 +171,7 @@ def process_dir(d, outfile_results, zipin, result):
             process_dir(fullpath, outfile_results, zipin, result)
             continue
 
-        if f in settings.files_to_ignore:
+        if f in settings.files_to_ignore or os.path.splitext(f)[1] in settings.exclude_extensions:
             print("Ignoring " + f)
             continue
 

+ 1 - 1
test/regression/settings.py

@@ -62,7 +62,7 @@ files_to_ignore = ["pond.0.ply"]
 exclude_extensions = [
     ".lws", ".assbin", ".assxml", ".txt", ".md",
     ".jpeg", ".jpg", ".png", ".gif", ".tga", ".bmp",
-    ".skeleton", ".skeleton.xml"
+    ".skeleton", ".skeleton.xml", ".license"
 ]
 
 # -------------------------------------------------------------------------------