Test framework: --report-fail doesn't report expected compile errors
Bug #574149 reported by
Matt Giuca
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mars |
Fix Released
|
Medium
|
Matt Giuca |
Bug Description
Using --report-fail is supposed to report all errors, even if they have been flagged "expected". However, it will not report compiler errors flagged "expect: compile_error".
Related branches
Changed in mars: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
A test case for this: trunk r1006.
$ ./test.py --report-fail cases/compiler/ switch. mar.
switch: .
1/1 cases passed
(with a red dot)