← Commit list

52d2f4bd9

Rob Landley
Rob Landley
2005-09-20
SOURCE BUG Duration: 6s

Subject

Get "make check" ($srcdir) to work with the new testsuite.

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

testsuite/runtest+3 -2
@@ -90,6 +90,7 @@ else
fi
for applet in $applets; do
+ if [ "$applet" == links ]; then continue; fi
if [ "$applet" != CVS -a -d "$srcdir/$applet" ]; then
if run_applet_tests $applet; then
:
@@ -102,8 +103,8 @@ for applet in $applets; do
then
mkdir links 2>/dev/null
rm -f links/"$applet"
- ln -s ../../busybox links/"$applet"
- PATH=links:$PATH ./"$applet".tests
+ ln -s ${bindir:-../..}/busybox links/"$applet"
+ PATH="$srcdir:$PATH" COMMAND="links/$applet" "${srcdir:-.}/$applet".tests
if [ $? -ne 0 ]; then status=1; fi
fi