Script to create new test case boilerplate

This commit is contained in:
H. Peter Anvin 2008-08-29 17:27:00 -07:00
parent 163e5874d9
commit 1c7cb9e28c

10
test/new Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
for f; do
if [ -e "$f".asm ]; then
# For safety...
echo "$0: $f already exists" 1>&2
exit 1
fi
echo ";Testname=test; Arguments=-fbin -o$f.bin; Files=.stdout .stderr $f.bin" > "$f".asm
done