X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=bin%2Firspy.pl;h=2d7c276b70871245e03013655c645a97def19343;hp=11245ff27c2edfd1247badad0e7dfe3b89746bb3;hb=5994a273c2933e7d237fcedc9b7ee8abf0cabe6c;hpb=abfc0ca5cd73705b1b655e3540b06bf5f53fdcdd diff --git a/bin/irspy.pl b/bin/irspy.pl index 11245ff..2d7c276 100755 --- a/bin/irspy.pl +++ b/bin/irspy.pl @@ -1,9 +1,16 @@ #!/usr/bin/perl -w -# $Id: irspy.pl,v 1.11 2006-10-09 07:29:43 mike Exp $ +# $Id: irspy.pl,v 1.13 2006-10-12 16:53:04 mike Exp $ # # Run like this: # YAZ_LOG=irspy,irspy_test,irspy_debug,irspy_event perl -I ../lib irspy.pl -t Main localhost:3313/IR-Explain---1 bagel.indexdata.dk/gils z3950.loc.gov:7090/Voyager bagel.indexdata.dk:210/marc +# Available log-levels are as follows: +# irspy -- high-level application logging +# irspy_debug -- low-level debugging (not very interesting) +# irspy_event -- invocations of ZOOM_event() and individual events +# irspy_unhandled -- unhandled events (not very interesting) +# irspy_test -- adding, queueing and running tests +# irspy_task -- adding, queueing and running tasks use strict; use warnings; @@ -28,5 +35,5 @@ my $res = $spy->check($opts{t}); if ($res == 0) { print "All tests were run\n"; } else { - print "Some tests were skipped\n"; + print "$res tests were skipped\n"; }