# add another two postprocessing presets to the regression suite's database of model minidumps. Totally we have ~1200 test cases now.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@954 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
aramis_acg 2011-04-21 22:43:39 +00:00
parent 94f8e5fdb0
commit 724b562e6f
3 changed files with 9 additions and 2 deletions

Binary file not shown.

View File

@ -87,7 +87,7 @@ def process_dir(d, outfile, file_filter):
outf = os.path.join(os.getcwd(), settings.database_name,
utils.hashing(fullp, pp))
cmd = [utils.assimp_bin_path,"dump",fullp,outf,"-b","-s",pp]
cmd = [utils.assimp_bin_path,"dump",fullp,outf,"-b","-s","-l",pp]
outfile.write("assimp dump "+"-"*80+"\n")
outfile.flush()
if subprocess.call(cmd, stdout=outfile, stderr=outfile, shell=False):

View File

@ -64,6 +64,7 @@ exclude_extensions = [".lws",".assbin",".assxml",".txt",".jpeg",".jpg",".png",".
# '-og -om' :run optimize-scenegraph in combination with optimize-meshes.
# '-vds -jiv' :join-identical-vertices alone. This is a hotspot where
# floating-point inaccuracies can cause severe damage.
# '-ptv': transform all meshes to world-space
# As you can see, not all possible combinations of pp steps are covered -
# but at least each step is executed at least once on each model.
@ -71,7 +72,13 @@ exclude_extensions = [".lws",".assbin",".assxml",".txt",".jpeg",".jpg",".png",".
pp_configs_to_test = [
"-cfull",
"-og -om -vds",
"-vds -jiv"
"-vds -jiv",
"-ptv -gsn -cts -db",
# this is especially important: if no failures are present with this
# preset, the regression is most likely caused by the post
# processing pipeline.
""
]
# -------------------------------------------------------------------------------
# Name of the regression database file to be used