Add a verbose mode for tests (default)
This commit is contained in:
parent
3f90b7c4b0
commit
38f099604d
|
@ -162,7 +162,7 @@ sources=template.asm
|
|||
|
||||
[tests.log]
|
||||
type=script
|
||||
script=./tests.sh
|
||||
script=./tests.sh -v
|
||||
depends=$(OBJDIR)amd64.o,$(OBJDIR)arm.o,$(OBJDIR)armeb.o,$(OBJDIR)armel.o,$(OBJDIR)i386.o,$(OBJDIR)i386_real.o,$(OBJDIR)i486.o,$(OBJDIR)i586.o,$(OBJDIR)i686.o,python.sh,$(OBJDIR)sparc.o,$(OBJDIR)sparc64.o,tests.sh,$(OBJDIR)yasep.o,$(OBJDIR)yasep16.o,$(OBJDIR)yasep32.o,$(OBJDIR)../tools/asm-static,$(OBJDIR)../tools/deasm-static
|
||||
|
||||
[yasep.o]
|
||||
|
|
|
@ -21,7 +21,7 @@ PROGNAME="tests.sh"
|
|||
#executables
|
||||
DATE="date"
|
||||
DEASM="${OBJDIR}../tools/deasm-static"
|
||||
DEBUG="_debug"
|
||||
DEBUG=
|
||||
|
||||
|
||||
#functions
|
||||
|
@ -95,14 +95,14 @@ _test()
|
|||
#usage
|
||||
_usage()
|
||||
{
|
||||
echo "Usage: $PROGNAME [-c][-P prefix] target" 1>&2
|
||||
echo "Usage: $PROGNAME [-cv][-P prefix] target" 1>&2
|
||||
return 1
|
||||
}
|
||||
|
||||
|
||||
#main
|
||||
clean=0
|
||||
while getopts "cP:" name; do
|
||||
while getopts "cP:v" name; do
|
||||
case "$name" in
|
||||
c)
|
||||
clean=1
|
||||
|
@ -110,6 +110,9 @@ while getopts "cP:" name; do
|
|||
P)
|
||||
#XXX ignored
|
||||
;;
|
||||
v)
|
||||
DEBUG="_debug"
|
||||
;;
|
||||
?)
|
||||
_usage
|
||||
exit $?
|
||||
|
|
Loading…
Reference in New Issue
Block a user