Skip to content
Snippets Groups Projects

Do backtrace string matching test only on Linux

Merged Ian Jackson requested to merge Diziet/arti:backtrace into main
4 unresolved threads

"Fixes" #455 (closed) by suppressing the test.

CC @wiz

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
250 250 mod test {
251 251 use super::*;
252 252
253 // We tet this on Linux only. This test case is to ensure that we are using the
  • 250 250 mod test {
    251 251 use super::*;
    252 252
    253 // We tet this on Linux only. This test case is to ensure that we are using the
    254 // backtrace module correctly, etc., which can be checked by doing it on one platform.
    255 // Doing it on others simply exposes us to the vagaries of platform backtrace support.
    256 // Arti ought not to fail its tests just because someone is using a platform with poor.
  • Ian Jackson added 1 commit

    added 1 commit

    Compare with previous version

  • Author Maintainer

    Thanks, fixed the typos :-).

    • qq: Instead of doing this only on linux, can we disable it specifically on the platforms where it doesn't work? I'd like to know we're still getting backtraces on e.g. windows and osx.

    • Author Maintainer

      Hi. (I did wonder what had happened to this MR as it vanished off my gitlab thingy)

      If we want to end-to-end test the Rust backtrace module we could do that. I don't think it's a good idea to do it on all platforms by default. That would expose us to random lossage on lower-tier Rust platforms. Evidently we don't think it's our job to go and fix the platforms and there's nothing much we can do in our code to work around it.

      How about I add the strings for OSX and Windows, explicity?

    • Please register or sign in to reply
  • eta approved this merge request

    approved this merge request

  • eta mentioned in commit d69fc2fa

    mentioned in commit d69fc2fa

  • merged

  • eta mentioned in commit 9d8ce432

    mentioned in commit 9d8ce432

  • Ian Jackson mentioned in merge request !512 (merged)

    mentioned in merge request !512 (merged)

  • Please register or sign in to reply
    Loading