Browse Source

libc specific runtest arch combination

Waldemar Brodkorb 10 years ago
parent
commit
35fb731851
1 changed files with 38 additions and 1 deletions
  1. 38 1
      embedded-test.sh

+ 38 - 1
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"