Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Unified Diff: tests/nanosleep/nacl.scons

Issue 7020011: disable timing tests on windows. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/syscalls/nacl.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/nanosleep/nacl.scons
===================================================================
--- tests/nanosleep/nacl.scons (revision 5515)
+++ tests/nanosleep/nacl.scons (working copy)
@@ -6,6 +6,7 @@
Import('env')
+test_is_broken_on_this_os=False
slop_args = []
if 'TRUSTED_ENV' in env and (env['TRUSTED_ENV'].Bit('windows') or
@@ -15,6 +16,9 @@
# early, after invoking nanosleep (on Windows, implemnted via
# Sleep()). On WinXP, Sleep sometimes return early.
+if 'TRUSTED_ENV' in env and env['TRUSTED_ENV'].Bit('windows'):
+ test_is_broken_on_this_os=True
+
env.ComponentProgram('nanosleep_test.nexe',
'nanosleep_test.c',
EXTRA_LIBS=['pthread'])
@@ -26,4 +30,4 @@
'nanosleep_test.out',
command=[env.File('nanosleep_test.nexe')] + slop_args)
env.AddNodeToTestSuite(node, ['small_tests'], 'run_nanosleep_test',
- is_broken=is_broken)
+ is_broken=is_broken or test_is_broken_on_this_os)
jasonwkim 2011/06/01 17:38:32 What about is_on_vm?
bsy 2011/06/01 18:21:16 renamed here and on line 27.
« no previous file with comments | « no previous file | tests/syscalls/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698