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

Unified Diff: tests/thread_suspension/nacl.scons

Issue 10392005: Thread suspension: Implement for Linux (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Comment about docs Created 8 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 | « src/trusted/service_runtime/win/thread_suspension.c ('k') | tests/thread_suspension/suspend_test_host.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/thread_suspension/nacl.scons
diff --git a/tests/thread_suspension/nacl.scons b/tests/thread_suspension/nacl.scons
index 36fbfa45be31908792bb111956ab81bcd508de0f..34c988b331a5ae82cb0fd520cb79c648cdd5c1e0 100644
--- a/tests/thread_suspension/nacl.scons
+++ b/tests/thread_suspension/nacl.scons
@@ -29,10 +29,10 @@ bootstrap, _ = env.GetBootstrap()
if bootstrap is not None:
test_command = [bootstrap] + test_command
+# TODO(mseaborn): Implement thread suspension for Mac OS X too.
+is_broken = (not env.Bit('nacl_static_link') or
+ env.Bit('host_mac'))
+
node = env.CommandTest('thread_suspension_test.out', test_command)
-# Thread suspension is currently on implemented for Windows.
-# TODO(mseaborn): Implement thread suspension for all other platforms.
env.AddNodeToTestSuite(node, ['small_tests'],
- 'run_thread_suspension_test',
- is_broken=(not env.Bit('nacl_static_link') or
- not env.Bit('host_windows')))
+ 'run_thread_suspension_test', is_broken=is_broken)
« no previous file with comments | « src/trusted/service_runtime/win/thread_suspension.c ('k') | tests/thread_suspension/suspend_test_host.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698