Bug 1979 - add test for meta dependencies
Summary: add test for meta dependencies
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Regression Tests (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: Other other
: P3 normal
Target Milestone: 2.60
Assignee: Theo Van Dinter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-26 18:37 UTC by Theo Van Dinter
Modified: 2003-05-27 15:52 UTC (History)
1 user (show)



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Theo Van Dinter 2003-05-26 18:37:33 UTC
I do this now manually pre-release, but we should have a test to make sure all
of the meta rule's dependencies are defined, and none have a 0 score in a
scoreset where the meta doesn't have a 0 score.  ie:

meta FOO BAR && BAZ
score FOO 0 1 0 1

ok:
score BAR 0 1 1 1

bad:
score BAR 0 0 0 1
Comment 1 Theo Van Dinter 2003-05-27 19:27:48 UTC
taking the rule and fixing the milestone
Comment 2 Theo Van Dinter 2003-05-27 23:52:41 UTC
added a script to the build directory that lists out missing dependencies.