94f931f2da
Update maintainer and add RCS tags. ok pvalchev@ avsm@
28 lines
940 B
Plaintext
28 lines
940 B
Plaintext
$OpenBSD: patch-Makefile,v 1.2 2004/04/23 03:00:07 dons Exp $
|
|
Add a nice regress target
|
|
|
|
--- Makefile.orig Wed Jun 19 23:48:31 2002
|
|
+++ Makefile Wed Jul 23 12:45:05 2003
|
|
@@ -368,3 +368,21 @@
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
+TEST_RESULT=actual.result
|
|
+
|
|
+check::
|
|
+ @( cd happy/tests/ ; ${MAKE} | tee ../../${TEST_RESULT}.raw )
|
|
+ @( sed '1d;$$d' ${TEST_RESULT}.raw > ${TEST_RESULT} )
|
|
+ @(if cmp -s expected.result ${TEST_RESULT} ; then \
|
|
+ echo ;\
|
|
+ echo "All is good!" ; \
|
|
+ echo ;\
|
|
+ else \
|
|
+ echo ;\
|
|
+ echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@";\
|
|
+ echo "Unexpected regress results!" ;\
|
|
+ echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@";\
|
|
+ echo ;\
|
|
+ echo "here is a diff:" ;\
|
|
+ diff -u expected.result ${TEST_RESULT} ;\
|
|
+ fi ; exit 0 )
|