]> thyrsus.com Git - comparator.git/commitdiff
Initial revision
authorEric S. Raymond <esr@thyrsus.com>
Mon, 15 Sep 2003 21:00:30 +0000 (21:00 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 15 Sep 2003 21:00:30 +0000 (21:00 +0000)
makefile [new file with mode: 0644]

diff --git a/makefile b/makefile
new file mode 100644 (file)
index 0000000..84c2709
--- /dev/null
+++ b/makefile
@@ -0,0 +1,32 @@
+
+# Tests we can't ship, because they depend on having real source trees handy.
+
+include Makefile
+
+# Test that making several hash files at one go doesn't mess up. 
+UNIX = /home/esr/src/unix
+SRC1  = net2
+SRC2  = src5r4
+regress2:
+       comparator -C -d $(UNIX) $(SRC1) | dumpscf >test1-old.dump
+       comparator -C -d $(UNIX) $(SRC2) | dumpscf >test2-old.dump
+       comparator -C -c -d $(UNIX) $(SRC1) $(SRC2)
+       dumpscf <$(SRC1).scf >test1.dump
+       dumpscf <$(SRC2).scf >test2.dump
+       diff -u test1-old.dump test1.dump
+       diff -u test2-old.dump test2.dump
+
+LOC1=test4-a
+LOC2=test4-b
+DIR=test
+regress3:
+       comparator -C -d $(DIR) $(LOC1) | dumpscf >test1-old.dump
+       comparator -C -d $(DIR) $(LOC2) | dumpscf >test2-old.dump
+       comparator -C -c -d $(DIR) $(LOC1) $(LOC2)
+       dumpscf <$(LOC1).scf >test1.dump
+       dumpscf <$(LOC2).scf >test2.dump
+       diff -u test1-old.dump test1.dump
+       diff -u test2-old.dump test2.dump
+
+blackspot.ovl:
+       time comparator -v -C -d $(UNIX) src5r4 linux-2.4.19 >blackspot.ovl