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

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: Disabled the async signal test for glibc 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..62da8a187fa8001e6807d1b8b8b507f05e101605 100644
--- a/tests/nonsfi/nacl.scons
+++ b/tests/nonsfi/nacl.scons
@@ -21,6 +21,16 @@ 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}',
+ '${EXCEPTION_LIBS}'])
Mark Seaborn 2015/08/12 01:43:07 I don't think this executable uses EXCEPTION_LIBS.
Luis Héctor Chávez 2015/08/12 22:14:27 Done.
+ 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'):

Powered by Google App Engine
This is Rietveld 408576698