projects
/
recode
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a799dff
)
tests/test-one added
author
François Pinard
<pinard@iro.umontreal.ca>
Tue, 19 Feb 2008 02:55:13 +0000
(21:55 -0500)
committer
François Pinard
<pinard@iro.umontreal.ca>
Tue, 19 Feb 2008 04:31:39 +0000
(23:31 -0500)
tests/test-one
[new file with mode: 0755]
patch
|
blob
diff --git a/tests/test-one
b/tests/test-one
new file mode 100755
(executable)
index 0000000..
9746cac
--- /dev/null
+++ b/
tests/test-one
@@ -0,0
+1,17
@@
+#!/bin/sh
+# Execute a suite made up of one, or only a few `m4' files.
+# Copyright © 1998 Progiciels Bourbeau-Pinard inc.
+# François Pinard <pinard@iro.umontreal.ca>, 1998.
+
+if test -f atconfig; then
+ . ./atconfig
+else
+ echo >&2 'Execute from the testing directory in the build hierarchy.'
+ echo >&2 ' (a typical call is: ../../tests/test-one t-exclude.m4).'
+ exit 1
+fi
+
+grep AT_INIT $at_srcdir/suite.m4 \
+| m4 -I $at_srcdir atgeneral.m4 - $* | cat -s > one
+
+sh one