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

Unified Diff: tests/minnacl/nacl.scons

Issue 11543028: Allow creating a NaClAppThread without creating a new host OS thread (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Review: Add NACL_WUR Created 8 years 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 | « tests/minnacl/minimal_test_host.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/minnacl/nacl.scons
diff --git a/tests/minnacl/nacl.scons b/tests/minnacl/nacl.scons
index ee18ed31158645178f59afbbcd257c95a216243c..cd2fc3542175771417bbfcbfe38ec44aa8aaeea3 100644
--- a/tests/minnacl/nacl.scons
+++ b/tests/minnacl/nacl.scons
@@ -31,8 +31,18 @@ if env.ShouldTranslateToNexe(test_prog):
env.Replace(TRANSLATEFLAGS=['-nostdlib'])
test_prog = env.GetTranslatedNexe(test_prog)
+is_broken = not env.Bit('nacl_static_link')
+
node = env.CommandTest('minimal_test.out',
env.AddBootstrap(runner, [test_prog]),
stdout_golden=env.File('minimal_test.stdout'))
env.AddNodeToTestSuite(node, ['small_tests'], 'run_minnacl_test',
- is_broken=not env.Bit('nacl_static_link'))
+ is_broken=is_broken)
+
+node = env.CommandTest('minimal_test_separate_thread.out',
+ env.AddBootstrap(runner,
+ ['--use_separate_thread', test_prog]),
+ stdout_golden=env.File('minimal_test.stdout'))
+env.AddNodeToTestSuite(node, ['small_tests'],
+ 'run_minnacl_separate_thread_test',
+ is_broken=is_broken)
« no previous file with comments | « tests/minnacl/minimal_test_host.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698