summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-11-12 23:06:39 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-11-12 23:12:32 +0100
commit4be5f4d51a0e36af0024824593be89db26b153f3 (patch)
tree9c2b6c38f823a2b0556aec1edcbe97e4b2ffbc4c
parente78bfa1fb970fd75dfccb75463f532cb59f48950 (diff)
add basic infra for mksh test runs
-rwxr-xr-xembedded-test.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/embedded-test.sh b/embedded-test.sh
index ef8115d..3d11fee 100755
--- a/embedded-test.sh
+++ b/embedded-test.sh
@@ -449,6 +449,12 @@ cat >> ${root}/run.sh << EOF
exit
EOF
fi
+ if [ $test = "mksh" ];then
+cat >> ${root}/run.sh << EOF
+mksh /opt/mksh/test.sh
+exit
+EOF
+ fi
if [ $test = "libc" ];then
case $lib in
@@ -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