Browse Source

add basic infra for mksh test runs

Waldemar Brodkorb 10 years ago
parent
commit
4be5f4d51a
1 changed files with 10 additions and 1 deletions
  1. 10 1
      embedded-test.sh

+ 10 - 1
embedded-test.sh

@@ -447,6 +447,12 @@ EOF
 cat >> ${root}/run.sh << EOF
 /opt/ltp/runltp
 exit
+EOF
+	fi
+	if [ $test = "mksh" ];then
+cat >> ${root}/run.sh << EOF
+mksh /opt/mksh/test.sh
+exit
 EOF
 	fi
 	if [ $test = "libc" ];then
@@ -536,6 +542,9 @@ build() {
 	if [ $test = "ltp" ];then
 		DEFAULT="$DEFAULT ADK_TEST_LTP=y"
 	fi
+	if [ $test = "mksh" ];then
+		DEFAULT="$DEFAULT ADK_TEST_MKSH=y"
+	fi
 	if [ $test = "libc" ];then
 		case $lib in
 			uclibc-ng)
@@ -792,7 +801,7 @@ for lib in ${libc}; do
 		build $lib $arch notest
 		if [ ! -z "$tests" ];then
 			for test in ${tests}; do
-				if [ $test = "boot" -o $test = "libc" -o $test = "ltp" -o $test = "native" ];then
+				if [ $test = "boot" -o $test = "libc" -o $test = "ltp" -o $test = "native" -o $test = "mksh" ];then
 					case $lib in 
 					uclibc-ng)
 						case $arch in