Mail Archives: djgpp-workers/2000/01/10/15:26:38
How is it supposed to work? Should "make" result in the tests being
run? Or is it "make test" or "make tests" that makes the tests being
run?
Anyway here's two files that I'm working on to make it make in one
go. Feedback and ideas are welcome.
----- Start of /djgpp/tests/libc/makefile. -----
all :
-export CURDIR = `pwd`
find * -type d -exec bash ${CURDIR}/cd_make.sh '{}' ';'
----- End of /djgpp/tests/libc/makefile. -----
----- Start of /djgpp/tests/libc/cd_make.sh. -----
#!/bin/bash
cd $1
if [ -f makefile -o -f Makefile ]
make $2
else
echo "No makefile found, skipping directory '`pwd`'."
fi
----- End of /djgpp/tests/libc/cd_make.sh. -----
Pettersson, Symphony 14,
MartinS
- Raw text -