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

Unified Diff: buildbot/buildbot_pnacl.sh

Issue 424763007: Non-SFI Mode: Centralise test whitelists; move to Scons (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Rebase Created 6 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
« no previous file with comments | « buildbot/buildbot_pnacl.py ('k') | src/nonsfi/irt/irt_interfaces.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: buildbot/buildbot_pnacl.sh
diff --git a/buildbot/buildbot_pnacl.sh b/buildbot/buildbot_pnacl.sh
index 9c158efdc117fdb299456ae2bc650097723c432c..56fdecccf365f6b23e3c48a210a630f1add0ae74 100755
--- a/buildbot/buildbot_pnacl.sh
+++ b/buildbot/buildbot_pnacl.sh
@@ -30,51 +30,21 @@ readonly SCONS_EVERYTHING=""
readonly SCONS_S_M="small_tests medium_tests"
readonly SCONS_S_M_IRT="small_tests_irt medium_tests_irt"
-# This uses the newlib-based nonsfi_loader, for which only a subset of
-# the tests works so far.
-# TODO(hamaji): Enable more tests.
-readonly SCONS_NONSFI_NEWLIB_TESTS="\
- run_dup_test_irt \
- run_float_test_irt \
- run_hello_world_test_irt \
- run_malloc_realloc_calloc_free_test_irt \
- run_mmap_test_irt \
- run_stack_alignment_test_irt \
- run_syscall_test_irt"
-# This uses the host-libc-based nonsfi_loader, for which only a subset of
-# the tests works so far.
+# This uses the newlib-based nonsfi_loader.
+readonly SCONS_NONSFI_NEWLIB="\
+ nonsfi_nacl=1 \
+ nonsfi_tests_irt"
+# This uses the host-libc-based nonsfi_loader.
# Using skip_nonstable_bitcode=1 here disables the tests for zero-cost C++
# exception handling, which don't pass for Non-SFI mode yet because we
# don't build libgcc_eh for Non-SFI mode.
-# TODO(mseaborn): Run small_tests_irt with nonsfi_nacl=1 when it passes,
-# instead of the following whitelist of tests.
-readonly SCONS_NONSFI_TESTS="\
- run_clock_get_test \
- run_dup_test \
- run_fcntl_test \
- run_fork_test \
- run_hello_world_test \
- run_mmap_test \
- run_nanosleep_test \
- run_prctl_test \
- run_printf_test \
- run_pwrite_test \
- run_sigaction_test \
- run_socket_test \
- run_stack_alignment_test \
- run_syscall_test \
- run_hello_world_test_irt \
- run_float_test_irt \
- run_malloc_realloc_calloc_free_test_irt \
- run_dup_test_irt \
- run_mmap_test_irt \
- run_syscall_test_irt \
- run_getpid_test_irt \
+readonly SCONS_NONSFI="\
+ nonsfi_nacl=1 \
+ nonsfi_tests \
+ nonsfi_tests_irt \
toolchain_tests_irt \
skip_nonstable_bitcode=1 \
use_newlib_nonsfi_loader=0"
-readonly SCONS_NONSFI_NEWLIB="nonsfi_nacl=1 ${SCONS_NONSFI_NEWLIB_TESTS}"
-readonly SCONS_NONSFI="nonsfi_nacl=1 ${SCONS_NONSFI_TESTS}"
# subset of tests used on toolchain builders
readonly SCONS_TC_TESTS="small_tests medium_tests"
« no previous file with comments | « buildbot/buildbot_pnacl.py ('k') | src/nonsfi/irt/irt_interfaces.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698