[prev in list] [next in list] [prev in thread] [next in thread] 

List:       privoxy-commits
Subject:    [privoxy-commits] current/tools privoxy-regression-test.pl, 1.32,
From:       noreply () sourceforge ! net
Date:       2009-02-25 17:18:49
Message-ID: E1LcNPF-0002EU-78 () 23jxhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/ijbswa/current/tools
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv8570/tools

Modified Files:
	privoxy-regression-test.pl 
Log Message:
Add the cli option --show-skipped-tests to log
skipped tests even if verbose mode is off.


Index: privoxy-regression-test.pl
===================================================================
RCS file: /cvsroot/ijbswa/current/tools/privoxy-regression-test.pl,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- privoxy-regression-test.pl	23 Feb 2009 09:50:07 -0000	1.32
+++ privoxy-regression-test.pl	25 Feb 2009 17:18:47 -0000	1.33
@@ -513,7 +513,8 @@
                 if (defined $skip_reason) {
 
                     my $message = "Skipping test " . $number . ": " . $skip_reason . ".";
-                    log_message($message) if cli_option_is_set('verbose');
+                    log_message($message) if (cli_option_is_set('verbose') or
+                                              cli_option_is_set('show-skipped-tests'));
                     $skipped++;
 
                 } else {
@@ -1420,6 +1421,7 @@
     [--min-level $cli_options{'min-level'}]
     [--privoxy-address]
     [--retries $cli_options{'retries'}]
+    [--show-skipped-tests]
     [--test-number]
     [--verbose]
     [--version]
@@ -1461,6 +1463,7 @@
                 'fuzzer-address=s' => \$cli_options{'fuzzer-address'},
                 'level=s' => \$cli_options{'level'},
                 'loops=s' => \$cli_options{'loops'},
+                'show-skipped-tests' => \$cli_options{'show-skipped-tests'},
                 'test-number=s' => \$cli_options{'test-number'},
                 'fuzzer-feeding' => \$cli_options{'fuzzer-feeding'},
                 'retries=s' => \$cli_options{'retries'},
@@ -1545,7 +1548,8 @@
 [B<--fuzzer-feeding>] [B<--fuzzer-feeding>] [B<--help>] [B<--level level>]
 [B<--loops count>] [B<--max-level max-level>] [B<--max-time max-time>]
 [B<--min-level min-level>] B<--privoxy-address proxy-address>
-[B<--retries retries>] [B<--test-number test-number>] [B<--verbose>]
+[B<--retries retries>] [B<--test-number test-number>]
+[B<--show-skipped-tests>] [B<--verbose>]
 [B<--version>]
 
 =head1 DESCRIPTION
@@ -1694,7 +1698,9 @@
 B<--test-number test-number> Only run the test with the specified
 number.
 
-B<--verbose> Also log succesful test runs.
+B<--show-skipped-tests> Log skipped tests even if verbose mode is off.
+
+B<--verbose> Log succesful and skipped tests.
 
 B<--version> Print version and exit.
 


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
ijbswa-commits mailing list
ijbswa-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ijbswa-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic