Commit 158db532 authored by Nick Mathewson's avatar Nick Mathewson 🥔
Browse files

Merge branch 'maint-0.3.3' into maint-0.3.4

parents cf2cb783 bcc1a718
Loading
Loading
Loading
Loading

changes/bug27948

0 → 100644
+6 −0
Original line number Diff line number Diff line
  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.
+6 −4
Original line number Diff line number Diff line
@@ -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)