| 1 |
# %TEST-EXEC-FAIL: btest -j t1 t2 |
| 2 |
# %TEST-EXEC: btest-diff mystate |
| 3 |
# |
| 4 |
# %TEST-DOC: Tests that the StateFile is always sorted. |
| 5 |
|
| 6 |
# This test fails last (and also ends up in the list of failed tests last), but |
| 7 |
# shoult be the first to be listed in the statefile. |
| 8 |
# %TEST-START-FILE t1 |
| 9 |
# @TEST-EXEC: sleep 1 && exit 1 |
| 10 |
# %TEST-END-FILE |
| 11 |
|
| 12 |
# %TEST-START-FILE t2 |
| 13 |
# @TEST-EXEC: exit 1 |
| 14 |
# %TEST-END-FILE |
| 15 |
|
| 16 |
# %TEST-START-FILE btest.cfg |
| 17 |
[btest] |
| 18 |
TmpDir = .tmp |
| 19 |
StateFile = mystate |
| 20 |
# %TEST-END-FILE |