delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/01/10/15:26:38

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
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
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019