Add travis test whether the testsuite is usable

pull/1260/head
Mihail Stoyanov 2015-07-23 12:12:06 +03:00
parent c5a4d1068e
commit 482941ab0e
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)