Test framework: Silent failure on bad "outcome" values

Bug #574141 reported by Matt Giuca
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mars
Fix Released
High
Matt Giuca

Bug Description

The compilation testing phase of the Mars test framework accepts a parameter "outcome" which must be one of "succeed" or "fail". If any other value is given, it will currently silently treat it as "fail". It should be an error (like it is for other bad values in the MTC file).

This is particularly troublesome, as I have a habit of writing "outcome: pass", which is implicitly interpreted as "outcome: fail". (In fact, several MTC files contain "outcome: pass", and these will need to be fixed.)

Tags: testing

Related branches

Revision history for this message
Matt Giuca (mgiuca) wrote :

While you're at it, enhance the documentation in this section. It is very confusing (what the difference is between "outcome" and "expect").

Revision history for this message
Matt Giuca (mgiuca) wrote :

Fixed in trunk r1006.

Changed in mars:
status: Triaged → In Progress
status: In Progress → Fix Committed
Matt Giuca (mgiuca)
Changed in mars:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.