Merge branch 'master' into gtest_final

Conflicts:
	.travis.yml
pull/371/head
Jared Duke 2014-09-07 10:51:14 -07:00
commit a0030735f8
3 changed files with 21 additions and 2 deletions

View File

@ -1,5 +1,5 @@
before_install: before_install:
- sudo apt-get install cmake - sudo apt-get install cmake python3
env: env:
- TRAVIS_NO_EXPORT=YES - TRAVIS_NO_EXPORT=YES
@ -16,6 +16,14 @@ compiler:
script: script:
- cmake -G "Unix Makefiles" -DASSIMP_ENABLE_BOOST_WORKAROUND=YES -DASSIMP_NO_EXPORT=$TRAVIS_NO_EXPORT -STATIC_BUILD=$TRAVIS_STATIC_BUILD - cmake -G "Unix Makefiles" -DASSIMP_ENABLE_BOOST_WORKAROUND=YES -DASSIMP_NO_EXPORT=$TRAVIS_NO_EXPORT -STATIC_BUILD=$TRAVIS_STATIC_BUILD
- make - make
- sudo make install
- sudo ldconfig
- cd test/unit - cd test/unit
- ../../bin/unit - ../../bin/unit
- cd ../regression
- chmod 755 run.py
- ./run.py
- echo "=========================================================="
- echo "REGRESSION TEST FAILS (results/run_regression_suite_failures.csv)"
- cat ../results/run_regression_suite_failures.csv

View File

@ -160,6 +160,10 @@ def process_dir(d, outfile_results, zipin, result):
process_dir(fullpath, outfile_results, zipin, result) process_dir(fullpath, outfile_results, zipin, result)
continue continue
if f in settings.files_to_ignore:
print("Ignoring " + f)
continue
for pppreset in settings.pp_configs_to_test: for pppreset in settings.pp_configs_to_test:
filehash = utils.hashing(fullpath, pppreset) filehash = utils.hashing(fullpath, pppreset)
failure = False failure = False
@ -258,6 +262,5 @@ def run_test():
# ------------------------------------------------------------------------------- # -------------------------------------------------------------------------------
if __name__ == "__main__": if __name__ == "__main__":
run_test() run_test()
input("Press any key to continue ...")
# vim: ai ts=4 sts=4 et sw=4 # vim: ai ts=4 sts=4 et sw=4

View File

@ -47,6 +47,14 @@ test scripts rely on this)
import os 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 # List of file extensions to be excluded from the regression suite
# File extensions are case insensitive # File extensions are case insensitive