Merge pull request #1260 from screamerbg/master

Add travis test whether the testsuite is usable
pull/1261/head
Martin Kojtal 2015-07-23 11:24:57 +02:00
commit 58bac00e25
1 changed files with 7 additions and 0 deletions

View File

@ -134,7 +134,14 @@ def run_test_linking(dry_run):
if os.system(cmdline) != 0:
sys.exit(1)
def run_test_testsuite(dry_run):
cmdline = "python workspace_tools/singletest.py --version"
print "Executing: " + cmdline
if not dry_run:
if os.system(cmdline) != 0:
sys.exit(1)
if __name__ == "__main__":
run_builds("-s" in sys.argv)
run_test_linking("-s" in sys.argv)
run_test_testsuite("-s" in sys.argv)