]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Treat backtrace test failures as expected on most BSD-derived systems
authorteor <teor@torproject.org>
Tue, 23 Oct 2018 01:21:10 +0000 (11:21 +1000)
committerteor <teor@torproject.org>
Tue, 23 Oct 2018 01:21:10 +0000 (11:21 +1000)
Treat backtrace test failures as expected on NetBSD, OpenBSD, and
macOS/Darwin, until we solve bug 17808.

(FreeBSD failures have been treated as expected since 18204 in 0.2.8.)

Fixes bug 27948; bugfix on 0.2.5.2-alpha.

changes/bug27948 [new file with mode: 0644]
src/test/bt_test.py

diff --git a/changes/bug27948 b/changes/bug27948
new file mode 100644 (file)
index 0000000..fea16f3
--- /dev/null
@@ -0,0 +1,6 @@
+  o Minor bugfixes (tests):
+    - Treat backtrace test failures as expected on BSD-derived systems
+      (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
+      (FreeBSD failures have been treated as expected since 18204 in 0.2.8.)
+      Fixes bug 27948; bugfix on 0.2.5.2-alpha.
+
index 30591453b9aab8941c7c54576a0ed8d536955102..a1efca00fb72305aa3c0db4d3ef6a1a43760080e 100755 (executable)
@@ -44,10 +44,12 @@ 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'.")
+if (sys.platform.startswith('freebsd') or sys.platform.startswith('netbsd') or
+    sys.platform.startswith('openbsd') or sys.platform.startswith('darwin')):
+    # See bug #17808 if you know how to fix backtraces on BSD-derived systems
+    print("Test failed; but {} is known to have backtrace problems."
+          .format(sys.platform))
+    print("Treating as 'SKIP'.")
     sys.exit(77)
 
 sys.exit(1)