Skip to content

Commit 1ad692d

Browse files
authored
Merge pull request tree-sitter#2583 from ahlinc/chore-hang-tests-note
chore: add an extra notes for hang tests
2 parents a0d0b35 + cbce87d commit 1ad692d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cli/src/tests/parser_hang_test.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ use tree_sitter::Parser;
1515
// because they don't work well with subprocesses _(it's an assumption)_.
1616
//
1717
// Bellow are two alternative examples of how to disable tests for some arches
18-
// if a way with excluding the whole mod from compilation would work well.
18+
// if a way with excluding the whole mod from compilation wouldn't work well.
19+
//
20+
// XXX: Also may be it makes sense to keep such tests as ignored by default
21+
// to omit surprises and enable them on CI by passing an extra option explicitly:
22+
//
23+
// > cargo test -- --include-ignored
1924
//
2025
// #[cfg(all(any(target_arch = "x86_64", target_arch = "x86"), not(sanitizing)))]
2126
// #[cfg_attr(not(all(any(target_arch = "x86_64", target_arch = "x86"), not(sanitizing))), ignore)]

0 commit comments

Comments
 (0)