Get "make check" ($srcdir) to work with the new testsuite.
This commit is contained in:
parent
90252bb4c9
commit
52d2f4bd90
@ -90,6 +90,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
for applet in $applets; do
|
for applet in $applets; do
|
||||||
|
if [ "$applet" == links ]; then continue; fi
|
||||||
if [ "$applet" != CVS -a -d "$srcdir/$applet" ]; then
|
if [ "$applet" != CVS -a -d "$srcdir/$applet" ]; then
|
||||||
if run_applet_tests $applet; then
|
if run_applet_tests $applet; then
|
||||||
:
|
:
|
||||||
@ -102,8 +103,8 @@ for applet in $applets; do
|
|||||||
then
|
then
|
||||||
mkdir links 2>/dev/null
|
mkdir links 2>/dev/null
|
||||||
rm -f links/"$applet"
|
rm -f links/"$applet"
|
||||||
ln -s ../../busybox links/"$applet"
|
ln -s ${bindir:-../..}/busybox links/"$applet"
|
||||||
PATH=links:$PATH ./"$applet".tests
|
PATH="$srcdir:$PATH" COMMAND="links/$applet" "${srcdir:-.}/$applet".tests
|
||||||
if [ $? -ne 0 ]; then status=1; fi
|
if [ $? -ne 0 ]; then status=1; fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user