From: mdw Date: Sat, 14 Oct 2000 16:46:44 +0000 (+0000) Subject: Make sure that the bits testcase gets its test vector from the source X-Git-Tag: 2.0.4~139 X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/commitdiff_plain/cb114820387fa33d504766fa8fd03132bde55973 Make sure that the bits testcase gets its test vector from the source directory. --- diff --git a/Makefile.am b/Makefile.am index fdd3955..4a2a018 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ ## -*-Makefile-*- ## -## $Id: Makefile.am,v 1.25 2000/10/08 11:20:57 mdw Exp $ +## $Id: Makefile.am,v 1.26 2000/10/14 16:46:44 mdw Exp $ ## ## Building the distribution ## @@ -29,6 +29,10 @@ ##----- Revision history ---------------------------------------------------- ## ## $Log: Makefile.am,v $ +## Revision 1.26 2000/10/14 16:46:44 mdw +## Make sure that the bits testcase gets its test vector from the source +## directory. +## ## Revision 1.25 2000/10/08 11:20:57 mdw ## Clean some more files. ## @@ -161,6 +165,8 @@ sym-test.test: sym-test sym-test.in sym-test.ref bits_t_SOURCES = bits.c bits_t_LDADD = libmLib.la bits_t_LDFLAGS = -static +bits.o: bits.c + $(COMPILE) -c -DSRCDIR=\"$(srcdir)\" $(srcdir)/bits.c -o bits.o bits-test: bits.t ./bits.t -f $(srcdir)/bits.test diff --git a/bits.c b/bits.c index 7ecebe6..f3d7732 100644 --- a/bits.c +++ b/bits.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: bits.c,v 1.1 2000/07/16 12:28:00 mdw Exp $ + * $Id: bits.c,v 1.2 2000/10/14 16:46:44 mdw Exp $ * * Test rig for bits header * @@ -30,6 +30,10 @@ /*----- Revision history --------------------------------------------------* * * $Log: bits.c,v $ + * Revision 1.2 2000/10/14 16:46:44 mdw + * Make sure that the bits testcase gets its test vector from the source + * directory. + * * Revision 1.1 2000/07/16 12:28:00 mdw * Test equipment for the 64-bit arithmetic in `bits.h'. * @@ -105,7 +109,7 @@ static test_chunk tests[] = { int main(int argc, char *argv[]) { - test_run(argc, argv, tests, "bits.test"); + test_run(argc, argv, tests, SRCDIR "/bits.test"); return (0); }