mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 627300 - Intermittent failure in places/tests/queries/test_tags.js owing to poor book-keeping in the test. test-only, a=bustage-fix.
This commit is contained in:
parent
3fb39ef252
commit
5701087f08
@ -590,6 +590,12 @@ var gTests = [
|
||||
cleanDatabase(run_next_test);
|
||||
},
|
||||
|
||||
function lastTestJustCallsTestFinished() {
|
||||
// close out our over-arching test
|
||||
do_test_finished();
|
||||
// and let run_next_test close out its pending test too.
|
||||
run_next_test();
|
||||
},
|
||||
];
|
||||
|
||||
// The tag keys in query URIs, i.e., "place:tag=foo&!tags=1"
|
||||
@ -826,5 +832,9 @@ function setsAreEqual(aArr1, aArr2, aIsOrdered) {
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
function run_test() {
|
||||
// Create an overarching test for our entire test run. this is balanced
|
||||
// by a dummy test as the last test in our test list that just calls
|
||||
// do_test_finished().
|
||||
do_test_pending();
|
||||
run_next_test();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user