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

Unified Diff: ports/jpeg8d/build.sh

Issue 1578573002: Disable running of sel_ldr arm tests on mac (Closed) Base URL: https://chromium.googlesource.com/webports.git@master
Patch Set: Created 4 years, 11 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 | « ports/fftw/build.sh ('k') | ports/zlib/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/jpeg8d/build.sh
diff --git a/ports/jpeg8d/build.sh b/ports/jpeg8d/build.sh
index 9ae53c589a30cafeb0596efcac0cf75c92f6a2c1..d0af466583f40c41f40fdf4d139066adb7a6d15b 100644
--- a/ports/jpeg8d/build.sh
+++ b/ports/jpeg8d/build.sh
@@ -5,6 +5,15 @@
EXECUTABLES="rdjpgcom${NACL_EXEEXT} wrjpgcom${NACL_EXEEXT} \
cjpeg${NACL_EXEEXT} djpeg${NACL_EXEEXT} jpegtran${NACL_EXEEXT}"
+RunTestsPnacl() {
+ local arch=$1
+ for exe in ${EXECUTABLES}; do
+ local exe_noext=${exe%.*}
+ WriteLauncherScript ${exe_noext} ${exe_noext}.${arch}.nexe
+ done
+ LogExecute make test
+}
+
TestStep() {
export SEL_LDR_LIB_PATH=$PWD/.libs
@@ -17,12 +26,9 @@ TestStep() {
LogExecute make test
if [[ ${NACL_ARCH} == pnacl ]]; then
- for arch in x86-32 arm; do
- for exe in ${EXECUTABLES}; do
- local exe_noext=${exe%.*}
- WriteLauncherScript ${exe_noext} ${exe_noext}.${arch}.nexe
- done
- LogExecute make test
- done
+ RunTestsPnacl x86-32
+ if [[ ${SEL_LDR_SUPPORTS_ARM} == 1 ]]; then
+ RunTestsPnacl arm
+ fi
fi
}
« no previous file with comments | « ports/fftw/build.sh ('k') | ports/zlib/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698