Closed Bug 600661 Opened 14 years ago Closed 6 years ago

acceptance runtests.py should be able to distinguish failure modes

Categories

(Tamarin Graveyard :: Tools, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: cpeyer, Assigned: cpeyer)

References

Details

If a test is marked as expectedfail there is no way to distinguish as to what type of failure is expected.  We should be able to specify the type of failure (assert/testcase failure/etc).
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Assignee: nobody → cpeyer
Status: NEW → ASSIGNED
Flags: flashplayer-qrb? → flashplayer-qrb+
Priority: -- → P3
Target Milestone: --- → flash10.x - Serrano
Proposed expectedfail modes:

expectedfail : this covers any deviation in stdout
expectedfail-stderr : stderr output that is expected due to bug
expectedfail-exitcode : exitcode that is expected due to bug

In addition to the type of expectedfail, should we also be able to specify the exact type of failure in testconfig?  That way any other type of failure will still be flagged by runtests.  

e.g.:
path/testname, config, expectedfail-exitcode = 1, description & bugnumber

The testcase would then fail for any non-1 exitcode.

This would essentially be a parallel system to our specialized files (.err, .exitcode ...) that are used in the test system, except these can be defined for specific configurations.  I would think that the files are used when that is the expected correct behavior of the tests, and the testconfig string is only used when it is a failure related to a bug.
Blocks: 607714
it would be helpful if the comments about testconfig.txt were included in a simple user guide page, and linked to from here:

https://developer.mozilla.org/En/Tamarin/Tamarin_Build_System_Documentation
Depends on: 607719
Target Milestone: Q3 11 - Serrano → Q4 11 - Anza
Priority: P3 → --
Target Milestone: Q4 11 - Anza → Future
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.