Add needs-run-enabled directive for should-fail tests

I was wary of doing any automatic disabling here, since should-fail
is how we test compiletest itself.
This commit is contained in:
Tyler Mandry 2021-04-29 01:02:07 +00:00
parent e282fd045a
commit f64c45a7d2
5 changed files with 16 additions and 5 deletions

View file

@ -2,6 +2,7 @@
// == Test [gdb|lldb]-[command|check] are parsed correctly ===
// should-fail
// needs-run-enabled
// compile-flags:-g
// === GDB TESTS ===================================================================================

View file

@ -4,6 +4,7 @@
// run-fail
// revisions: foo bar
// should-fail
// needs-run-enabled
//[foo] error-pattern:bar
//[bar] error-pattern:foo