You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2005/11/16 21:27:14 UTC

svn commit: r345102 - /spamassassin/trunk/t/rule_tests.t

Author: jm
Date: Wed Nov 16 12:27:11 2005
New Revision: 345102

URL: http://svn.apache.org/viewcvs?rev=345102&view=rev
Log:
add omitted sa_t_init() call; this step is important.  also produce debugging on STDOUT so that rule test omissions can be spotted more easily

Modified:
    spamassassin/trunk/t/rule_tests.t

Modified: spamassassin/trunk/t/rule_tests.t
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/t/rule_tests.t?rev=345102&r1=345101&r2=345102&view=diff
==============================================================================
--- spamassassin/trunk/t/rule_tests.t (original)
+++ spamassassin/trunk/t/rule_tests.t Wed Nov 16 12:27:11 2005
@@ -15,9 +15,10 @@
   $prefix = '..';
 }
 
+use SATest; sa_t_init("rule_tests");
+
 use strict;
 use Test;
-use SATest;
 use Mail::SpamAssassin;
 use vars qw($num_tests);
 
@@ -103,6 +104,7 @@
 	# debugging, what rule hits actually occurred
 	#print $symbol, ": ", join(", ", keys(%rules_hit), "\n");
 
+print "Test for '$symbol' (type: $test_type) against '$string'\n";
         ok( (exists $rules_hit{$symbol} ? 1 : 0), ($ok_or_fail eq 'ok' ? 1 : 0),
                 "Test for '$symbol' (type: $test_type) against '$string'" );
     }