mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 543839 - followup to skip the test if evalcx is not available. This should fix jsreftest orange CLOSED TREE
This commit is contained in:
parent
e9eee093c7
commit
209d509752
@ -1,4 +1,4 @@
|
||||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* Any copyright is dedicated to the Public Domain.
|
||||
* http://creativecommons.org/licenses/publicdomain/
|
||||
@ -25,9 +25,15 @@ function test()
|
||||
return 1;
|
||||
}
|
||||
|
||||
test();
|
||||
test();
|
||||
test();
|
||||
actual = evalcx("test()", this);
|
||||
if (typeof evalcx == 'undefined')
|
||||
{
|
||||
print('Skipping. This test requires evalcx.');
|
||||
actual = expect;
|
||||
} else {
|
||||
test();
|
||||
test();
|
||||
test();
|
||||
actual = evalcx("test()", this);
|
||||
}
|
||||
|
||||
reportCompare(expect, actual, summary);
|
||||
|
Loading…
Reference in New Issue
Block a user