aboutsummaryrefslogtreecommitdiff
path: root/src/test/bt_test.py
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-02-01 14:11:45 -0500
committerNick Mathewson <nickm@torproject.org>2016-02-01 14:11:45 -0500
commitb860f82d565191a6d21bde0b6940fc1871e4d935 (patch)
tree27df4fee383956e931efac350de4a1662c84eb70 /src/test/bt_test.py
parentc6fa55d2da728ab5abb8be82eba4c903c452516e (diff)
downloadtor-b860f82d565191a6d21bde0b6940fc1871e4d935.tar.gz
tor-b860f82d565191a6d21bde0b6940fc1871e4d935.zip
Treat bt_test.py failures as "SKIP" on freebsd.
Closes #18204.
Diffstat (limited to 'src/test/bt_test.py')
-rwxr-xr-xsrc/test/bt_test.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/bt_test.py b/src/test/bt_test.py
index dab02d7699..30591453b9 100755
--- a/src/test/bt_test.py
+++ b/src/test/bt_test.py
@@ -39,7 +39,15 @@ for I in range(len(LINES)):
print("OK")
sys.exit(0)
+print("BAD")
+
for l in LINES:
print("{}".format(l), end="")
+if sys.platform.startswith('freebsd'):
+ # See bug #17808 if you know how to fix this.
+ print("Test failed; but FreeBSD is known to have backtrace problems.\n"
+ "Treating as 'SKIP'.")
+ sys.exit(77)
+
sys.exit(1)