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

Unified Diff: tests/nonsfi/nacl.scons

Issue 1212613002: Non-SFI mode: Add Linux asynchronous signal support (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Fixed a small window where signals could corrupt the stack Created 5 years, 5 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
Index: tests/nonsfi/nacl.scons
diff --git a/tests/nonsfi/nacl.scons b/tests/nonsfi/nacl.scons
index 52fe7f01f591b20c80f1c5d27ea8e1410e6e4ca5..a4167040469374154de630f23dd0491b5c993f5a 100644
--- a/tests/nonsfi/nacl.scons
+++ b/tests/nonsfi/nacl.scons
@@ -26,6 +26,16 @@ env.AddNodeToTestSuite(node, ['small_tests'], 'run_icache_test',
if env.Bit('tests_use_irt'):
Mark Seaborn 2015/07/16 23:21:16 By putting the test after this, you're not testing
Luis Héctor Chávez 2015/07/20 18:13:47 Done.
Return()
+# Tests sending and receiving userspace signals.
+nexe = env.ComponentProgram('user_async_signal_test',
+ 'user_async_signal_test.cc',
+ EXTRA_LIBS=['${NONIRT_LIBS}',
+ '${EXCEPTION_LIBS}'])
+node = env.CommandSelLdrTestNacl('user_async_signal_test.out', nexe,
+ sel_ldr_flags=['-S'], exit_status='0',
Mark Seaborn 2015/07/16 23:21:17 These args shouldn't be needed
Luis Héctor Chávez 2015/07/20 18:13:47 Done.
+ using_nacl_signal_handler=True)
Mark Seaborn 2015/07/16 23:21:16 Ditto
Luis Héctor Chávez 2015/07/20 18:13:47 Done.
+env.AddNodeToTestSuite(node, ['small_tests'], 'run_user_async_signal_test')
+
nexe = env.ComponentProgram('fcntl_test',
'fcntl_test.cc',
EXTRA_LIBS=['${NONIRT_LIBS}'])

Powered by Google App Engine
This is Rietveld 408576698