Skip to content
Snippets Groups Projects
Commit d69fc2fa authored by eta's avatar eta
Browse files

Merge branch 'backtrace' into 'main'

Do backtrace string matching test only on Linux

See merge request tpo/core/arti!509
parents 34b49422 777b2c12
No related branches found
No related tags found
No related merge requests found
......@@ -250,6 +250,12 @@ impl HasKind for Bug {
mod test {
use super::*;
// We test this on Linux only. This test case is to ensure that we are using the
// backtrace module correctly, etc., which can be checked by doing it on one platform.
// Doing it on others simply exposes us to the vagaries of platform backtrace support.
// Arti ought not to fail its tests just because someone is using a platform with poor
// backtrace support.
#[cfg(target_os = "linux")]
#[test]
fn internal_macro_test() {
let start_of_func = line!();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment