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

Unified Diff: tests/signal_handler/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: Created 5 years, 6 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/signal_handler/nacl.scons
diff --git a/tests/signal_handler/nacl.scons b/tests/signal_handler/nacl.scons
index 956c9b31c2dd4ee762853ba378824d2c55140cf2..5de99ff78cca57c2386bb557bf9ee9644a9cf9ca 100644
--- a/tests/signal_handler/nacl.scons
+++ b/tests/signal_handler/nacl.scons
@@ -5,6 +5,21 @@
Import('env')
+if env.Bit('nonsfi_nacl'):
Mark Seaborn 2015/06/26 18:32:00 Can you put this test in tests/nonsfi/, please? I
Luis Héctor Chávez 2015/07/06 23:45:00 Done.
+ # Tests sending and receiving userspace signals.
+ nexe = env.ComponentProgram(
+ 'user_signal_test',
+ 'user_signal_test.cc',
Mark Seaborn 2015/06/26 18:32:00 Can you add "async" to the test names?
Luis Héctor Chávez 2015/07/06 23:45:00 Done.
+ EXTRA_LIBS=['${NONIRT_LIBS}',
+ '${EXCEPTION_LIBS}'])
+ node = env.CommandSelLdrTestNacl(
+ 'user_signal_test.out',
+ nexe,
+ sel_ldr_flags=['-S'],
+ exit_status='0',
+ using_nacl_signal_handler=True)
+ env.AddNodeToTestSuite(node, ['small_tests'], 'run_user_signal_test')
+
trusted_env = env.get('TRUSTED_ENV')
if trusted_env is None:
Return()

Powered by Google App Engine
This is Rietveld 408576698