Skip to content

Commit 58bac00

Browse files
committed
Merge pull request #1260 from screamerbg/master
Add travis test whether the testsuite is usable
2 parents c5a4d10 + 482941a commit 58bac00

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

workspace_tools/build_travis.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,14 @@ def run_test_linking(dry_run):
134134
if os.system(cmdline) != 0:
135135
sys.exit(1)
136136

137+
def run_test_testsuite(dry_run):
138+
cmdline = "python workspace_tools/singletest.py --version"
139+
print "Executing: " + cmdline
140+
if not dry_run:
141+
if os.system(cmdline) != 0:
142+
sys.exit(1)
137143

138144
if __name__ == "__main__":
139145
run_builds("-s" in sys.argv)
140146
run_test_linking("-s" in sys.argv)
147+
run_test_testsuite("-s" in sys.argv)

0 commit comments

Comments
 (0)