poldek: poldek/tests/sh/lib/setup - -l list tests
mis
mis at pld-linux.org
Wed Oct 28 21:50:22 CET 2009
Author: mis Date: Wed Oct 28 20:50:22 2009 GMT
Module: poldek Tag: HEAD
---- Log message:
- -l list tests
---- Files affected:
poldek/poldek/tests/sh/lib:
setup (1.5 -> 1.6)
---- Diffs:
================================================================
Index: poldek/poldek/tests/sh/lib/setup
diff -u poldek/poldek/tests/sh/lib/setup:1.5 poldek/poldek/tests/sh/lib/setup:1.6
--- poldek/poldek/tests/sh/lib/setup:1.5 Mon Jan 21 15:50:40 2008
+++ poldek/poldek/tests/sh/lib/setup Wed Oct 28 21:50:16 2009
@@ -27,22 +27,26 @@
while test $# -gt 0 ; do
case "${1}" in
+ -l)
+ egrep -B 1 ^test $0 | sed 's|()||g;s|{||g'; exit; shift ;;
+
--source-repo)
shift; SOURCE_REPO="${1}"; shift ;;
-v)
shift; VERBOSE="$VERBOSE -v";;
+
-n) shift; MAXLOOP="${1}"; shift ;;
- --runtest)
+ -t)
shift; RUNTEST_ONLY="${1}"; shift ;;
-h)
echo "Usage: $(basename $0) [--source-repo REPO] [-v] [-n NUM]"
echo ' --source-repo - source (read-only) repository for *-repo tests'
echo " -v - be verbose"
echo ' -n NUM - do NUM iteration in *-loop tests'
- echo ' --runtest NAME - run NAME test only'
+ echo ' -t NAME - run NAME test only'
exit 0; shift ;;
*)
echo "unknown option ${1}; try -h"; exit 1;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/poldek/poldek/tests/sh/lib/setup?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list