aboutsummaryrefslogtreecommitdiff
path: root/src/test/bt_test.py
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2015-03-05 11:05:17 +0100
committerNick Mathewson <nickm@torproject.org>2015-04-23 09:56:25 -0400
commit0e89abfa73ee8494f1e654823ab68282858038b0 (patch)
tree9773c70269a61b06fd198d52f1a71e64b2880b66 /src/test/bt_test.py
parentc535494238cee580acaa6debe2eb942bb90ea59d (diff)
downloadtor-0e89abfa73ee8494f1e654823ab68282858038b0.tar.gz
tor-0e89abfa73ee8494f1e654823ab68282858038b0.zip
Integrate backtrace test into the automake test suite.
For this to work bt_test.py now returns an exit code indicating success or failure. Additionally, check-local and its specific dependencies are now obsolete so they are removed.
Diffstat (limited to 'src/test/bt_test.py')
-rwxr-xr-xsrc/test/bt_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/bt_test.py b/src/test/bt_test.py
index 0afe797a6d..e694361703 100755
--- a/src/test/bt_test.py
+++ b/src/test/bt_test.py
@@ -36,7 +36,7 @@ LINES = sys.stdin.readlines()
for I in range(len(LINES)):
if matches(LINES[I:], FUNCNAMES):
print("OK")
- break
+ sys.exit(0)
else:
print("BAD")
-
+ sys.exit(1)