summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2014-08-05 10:38:47 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2014-08-05 10:38:47 +0200
commit2475eb4aa55d59677570a0be965c2e79dd740b53 (patch)
treebb971bf5ee8fe512bfdcdbd20c58718847dab912
parent313102ecc532927c669ab4a5962074211b226a6c (diff)
use libc-test for musl/glibc
-rwxr-xr-xembedded-test.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/embedded-test.sh b/embedded-test.sh
index b82e334..e9b6734 100755
--- a/embedded-test.sh
+++ b/embedded-test.sh
@@ -474,6 +474,9 @@ exit
EOF
fi
if [ $2 -eq 2 ];then
+
+ case $libc in
+ uclibc-ng|uclibc)
cat > ${root}/run.sh << EOF
#!/bin/sh
uname -a
@@ -482,6 +485,19 @@ cd /opt/$libc/test
CROSS_COMPILE=": ||" make UCLIBC_ONLY=y -k run
exit
EOF
+ ;;
+ musl|glibc)
+cat > ${root}/run.sh << EOF
+#!/bin/sh
+uname -a
+rdate -n \$ntp_server
+cd /opt/libc-test
+make run
+exit
+EOF
+ ;;
+ esac
+
fi
chmod u+x ${root}/run.sh