apenwarr-redo/t
Avery Pennarun 6d767e2a65 user-friendliness sanity checks: catch common mistakes regarding $1/$2/$3.
.do files should never modify $1, and should write to *either* $3 or stdout,
but not both.  If they write to both, it's probably because they forgot to
redirect stdout to stderr, a very easy mistake to make but a hard one to
detect.

Now redo detects it for you and prints an informative message.
2010-11-22 04:43:33 -08:00
..
curse Refactor all.do and test.do in various directories. 2010-11-21 05:47:48 -08:00
deps user-friendliness sanity checks: catch common mistakes regarding $1/$2/$3. 2010-11-22 04:43:33 -08:00
example Add t/example, a basic example build environment suitable for a tutorial. 2010-11-18 22:48:46 -08:00
space dir Add a new test for filenames with spaces. 2010-11-21 06:20:16 -08:00
.gitignore Add a new passfailtest. 2010-11-21 06:12:27 -08:00
all.do Refactor all.do and test.do in various directories. 2010-11-21 05:47:48 -08:00
bellow.do Add minimal/do, a stripped-down redo implementation in 977 bytes of sh. 2010-11-16 00:27:52 -08:00
c.c.c.b.b.a Support for default.*.do rules. 2010-11-16 03:04:11 -08:00
c.do Support for default.*.do rules. 2010-11-16 03:04:11 -08:00
CC.do Extremely basic integration of wvtest for testing. 2010-11-12 17:19:42 -08:00
clean.do Add a new test for filenames with spaces. 2010-11-21 06:20:16 -08:00
default.args.do minimal/do: handle nonzero exit codes and set $1/$2 correctly. 2010-11-17 19:07:27 -08:00
default.b.do Support for default.*.do rules. 2010-11-16 03:04:11 -08:00
default.c.c.do Support for default.*.do rules. 2010-11-16 03:04:11 -08:00
default.c.do Support for default.*.do rules. 2010-11-16 03:04:11 -08:00
default.do Support for default.*.do rules. 2010-11-16 03:04:11 -08:00
deltest.do If the .do script deletes $3, don't die. 2010-11-17 17:55:16 -08:00
deltest2.do If the .do script deletes $3, don't die. 2010-11-17 17:55:16 -08:00
hello.c Add README.md and LICENSE. 2010-11-17 00:53:58 -08:00
hello.do Add minimal/do, a stripped-down redo implementation in 977 bytes of sh. 2010-11-16 00:27:52 -08:00
hello.o.do t/*.do: add some time delays. 2010-11-13 02:17:22 -08:00
LD.do Extremely basic integration of wvtest for testing. 2010-11-12 17:19:42 -08:00
passfail.do Add a new passfailtest. 2010-11-21 06:12:27 -08:00
passfailtest.do Add a new passfailtest. 2010-11-21 06:12:27 -08:00
sleep t/*.do: add some time delays. 2010-11-13 02:17:22 -08:00
test.do Add a new test for filenames with spaces. 2010-11-21 06:20:16 -08:00
test2.args.do minimal/do: handle nonzero exit codes and set $1/$2 correctly. 2010-11-17 19:07:27 -08:00
yellow.do Add minimal/do, a stripped-down redo implementation in 977 bytes of sh. 2010-11-16 00:27:52 -08:00
yellow.o.do t/*.do: add some time delays. 2010-11-13 02:17:22 -08:00