summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-22 15:40:39 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-22 15:40:45 +0200
commita749fb66621df9037c7d01e765fade5408446213 (patch)
treeb27ede38b8860f5f7790ccf62dc0a97a4697be4a
parent0d68a006d21577faf0d7b64ecce610681c387596 (diff)
allow to skip nsim checks for arc architecture
-rwxr-xr-xembedded-test.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/embedded-test.sh b/embedded-test.sh
index 511e446..1c06b26 100755
--- a/embedded-test.sh
+++ b/embedded-test.sh
@@ -78,7 +78,8 @@ Syntax: $0 [ --libc=<libc> --arch=<arch> --test=<test> ]
Explanation:
--libc=<libc> C library to use (${valid_libc})
--arch=<arch> architecture to check (otherwise all supported)
- --skiparch=<arch> architectures to skip when all choosen
+ --skip-arch=<arch> architectures to skip when all choosen
+ --skip-nsim skip nsim simulator tests
--targets=<targets.txt> a list of remote targets to test via nfsroot or chroot
--test=<test> run test (${valid_tests}), default toolchain
--threads=<type> configure threading support (${valid_thread_types}) (only for uClibc-ng)
@@ -120,6 +121,7 @@ create=0
static=0
ssp=0
debug=0
+skipnsim=0
ntp=""
libc=""
test="toolchain"
@@ -138,7 +140,8 @@ while [[ $1 != -- && $1 = -* ]]; do case $1 {
(--shell) shell=1 shift ;;
(--libc=*) libc=${1#*=}; shift ;;
(--arch=*) archs=${1#*=}; shift ;;
- (--skiparch=*) skiparchs=${1#*=}; shift ;;
+ (--skip-arch=*) skiparchs=${1#*=}; shift ;;
+ (--skip-nsim) skipnsim=1 shift ;;
(--targets=*) targets=${1#*=}; shift ;;
(--test=*) test=${1#*=}; shift ;;
(--threads=*) threads=${1#*=}; shift ;;
@@ -1509,6 +1512,13 @@ for lib in ${libc}; do
echo "Skipping $skiplt"
continue
fi
+ # skip nsim
+ if [ $skipnsim -eq 1 ]; then
+ if [[ "$arch" = arcv* ]]; then
+ echo "Skipping nsim $arch"
+ continue
+ fi
+ fi
if [[ "$allowed_tests" = *${test}* ]]; then
if [[ "$allowed_libc" = *${lib}* ]]; then