From: Martin Str|mberg Message-Id: <200001102025.VAA05824@father.ludd.luth.se> Subject: The test directory (djtst203.zip) To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS) Date: Mon, 10 Jan 100 21:25:52 +0100 (MET) X-Mailer: ELM [version 2.4ME+ PL15 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com 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