From 4be5f4d51a0e36af0024824593be89db26b153f3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 12 Nov 2015 23:06:39 +0100 Subject: add basic infra for mksh test runs --- embedded-test.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/embedded-test.sh b/embedded-test.sh index ef8115d..3d11fee 100755 --- a/embedded-test.sh +++ b/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 -- cgit v1.2.3