summaryrefslogtreecommitdiff
path: root/embedded-test.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-11-29 13:09:03 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2014-11-29 13:09:03 -0600
commit35fb731851659fae64f9362420179b34a91cf109 (patch)
tree6b9dbdce03e579c28a8217a7db94611af95c6d9f /embedded-test.sh
parent435fd43c47785ff815cf7e3a4b90c60a068aac45 (diff)
libc specific runtest arch combination
Diffstat (limited to 'embedded-test.sh')
-rwxr-xr-xembedded-test.sh39
1 files changed, 38 insertions, 1 deletions
diff --git a/embedded-test.sh b/embedded-test.sh
index 8ecdcb9..872198a 100755
--- a/embedded-test.sh
+++ b/embedded-test.sh
@@ -634,7 +634,42 @@ for lib in ${libc}; do
if [ ! -z "$tests" ];then
for test in ${tests}; do
if [ $test = "boot" -o $test = "libc" -o $test = "ltp" -o $test = "native" ];then
- case $arch in
+ case $lib in
+ uclibc-ng)
+ case $arch in
+ arc|arcbe|avr32|bfin|cris|m68k|m68k-nommu|ppc|ppc-nofpu|sheb|sparc|sparc64|mips64eln32|mips64n32|tile)
+ echo "runtime tests disabled for $arch."
+ ;;
+ *)
+ build $lib $arch $test
+ runtest $lib $arch $test
+ ;;
+ esac
+ ;;
+ uclibc)
+ case $arch in
+ arc|arcbe|avr32|bfin|cris|m68k|m68k-nommu|ppc|ppc-nofpu|sheb|sparc|sparc64|mips64eln32|mips64n32|tile)
+ echo "runtime tests disabled for $arch."
+ ;;
+ *)
+ build $lib $arch $test
+ runtest $lib $arch $test
+ ;;
+ esac
+ ;;
+ musl)
+ case $arch in
+ arc|arcbe|avr32|bfin|cris|m68k|m68k-nommu|ppc|ppc-nofpu|sheb|sparc64|mips64eln32|mips64n32|tile)
+ echo "runtime tests disabled for $arch."
+ ;;
+ *)
+ build $lib $arch $test
+ runtest $lib $arch $test
+ ;;
+ esac
+ ;;
+ glibc)
+ case $arch in
arc|arcbe|avr32|bfin|cris|m68k|m68k-nommu|ppc|ppc-nofpu|sheb|sparc64|mips64eln32|mips64n32|tile)
echo "runtime tests disabled for $arch."
;;
@@ -642,6 +677,8 @@ for lib in ${libc}; do
build $lib $arch $test
runtest $lib $arch $test
;;
+ esac
+ ;;
esac
else
echo "Test $test is not valid. Allowed tests: boot libc ltp native"