chiark
/
gitweb
/
~mdw
/
mLib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
58084d9
)
Make sure that the bits testcase gets its test vector from the source
author
mdw
<mdw>
Sat, 14 Oct 2000 16:46:44 +0000
(16:46 +0000)
committer
mdw
<mdw>
Sat, 14 Oct 2000 16:46:44 +0000
(16:46 +0000)
directory.
Makefile.am
patch
|
blob
|
blame
|
history
bits.c
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.am
b/Makefile.am
index fdd39550365c4123fba3c52d94d0391c2019ca8b..4a2a0185434043ca553736b6196b6aaf31335f65 100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-1,6
+1,6
@@
## -*-Makefile-*-
##
## -*-Makefile-*-
##
-## $Id: Makefile.am,v 1.2
5 2000/10/08 11:20:57
mdw Exp $
+## $Id: Makefile.am,v 1.2
6 2000/10/14 16:46:44
mdw Exp $
##
## Building the distribution
##
##
## Building the distribution
##
@@
-29,6
+29,10
@@
##----- Revision history ----------------------------------------------------
##
## $Log: Makefile.am,v $
##----- 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.
##
## 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_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
bits-test: bits.t
./bits.t -f $(srcdir)/bits.test
diff --git
a/bits.c
b/bits.c
index 7ecebe6d747f187872513ca3eea6c23a4ea2383b..f3d773236faad8bee4ffabd04e54eb35f1e1958a 100644
(file)
--- a/
bits.c
+++ b/
bits.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-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
*
*
* Test rig for bits header
*
@@
-30,6
+30,10
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: bits.c,v $
/*----- 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'.
*
* 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[])
{
int main(int argc, char *argv[])
{
- test_run(argc, argv, tests,
"
bits.test");
+ test_run(argc, argv, tests,
SRCDIR "/
bits.test");
return (0);
}
return (0);
}