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

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: Added a TODO to remove code after roll Created 5 years, 4 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/untrusted/irt/irt.h ('k') | tests/nonsfi/user_async_signal_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/nonsfi/nacl.scons
diff --git a/tests/nonsfi/nacl.scons b/tests/nonsfi/nacl.scons
index 52fe7f01f591b20c80f1c5d27ea8e1410e6e4ca5..8cb846364d6f1c4d5afbc415ead15a532857e3a0 100644
--- a/tests/nonsfi/nacl.scons
+++ b/tests/nonsfi/nacl.scons
@@ -21,6 +21,15 @@ is_broken = (not env.Bit('build_arm') or env.Bit('pnacl_generate_pexe') or
env.AddNodeToTestSuite(node, ['small_tests'], 'run_icache_test',
is_broken=is_broken)
+# Tests sending and receiving userspace signals. This test only works with the
+# newlib nonsfi loader.
+if env.Bit('tests_use_irt') and env.Bit('use_newlib_nonsfi_loader'):
+ nexe = env.ComponentProgram('user_async_signal_test',
+ 'user_async_signal_test.cc',
+ EXTRA_LIBS=['${NONIRT_LIBS}'])
+ node = env.CommandSelLdrTestNacl('user_async_signal_test.out', nexe)
+ env.AddNodeToTestSuite(node, ['small_tests'], 'run_user_async_signal_test')
+
# The subsequent tests are for syscall wrappers required by newlib
# based non-SFI nacl_helper. The rest of NaCl does not need them.
if env.Bit('tests_use_irt'):
« no previous file with comments | « src/untrusted/irt/irt.h ('k') | tests/nonsfi/user_async_signal_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698