X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=bin%2Firspy.pl;h=eb5961f22cae1d0efa0a2ce47bf5fdeefb5fd1c6;hp=60c2df312bc28313786cd7761341bba62ef98f1e;hb=f79979ee9c538cc7c860898d58b3d9d482fedf6b;hpb=818d896b598148da3fb9bccdd11034fe6c940172 diff --git a/bin/irspy.pl b/bin/irspy.pl index 60c2df3..eb5961f 100755 --- a/bin/irspy.pl +++ b/bin/irspy.pl @@ -1,9 +1,16 @@ #!/usr/bin/perl -w -# $Id: irspy.pl,v 1.9 2006-09-27 13:29:31 mike Exp $ +# $Id: irspy.pl,v 1.14 2006-10-13 15:18:11 mike Exp $ # # Run like this: -# YAZ_LOG=irspy,irspy_test,irspy_debug perl -I ../lib irspy.pl localhost:3313/IR-Explain---1 bagel.indexdata.dk/gils z3950.loc.gov:7090/Voyager "edcsns17.cr.usgs.gov:6675/CORONA SATELLITE PHOTOGRAPHY" +# YAZ_LOG=irspy,irspy_task 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"; }