LOGPRO RESULTS
Summary is here
(processed by logpro version 1.23, tool details at: logpro)
Disable Links (for easy cut/paste)
// This is a header

// The following is an error, also this comment should be "ignored" and thus green, not red
begin Blah1
ERROR: This is a real error. It should be red.
end Blah1

begin Blah1
This is another part of Blah1
end Blah1

// The following is an expected Error

Link to section: Blah2

blah2.html end Blah2 // The following is an Error that is Waived (i.e. permitted for the moment). begin Blah3 ERROR: Bad, but allowed for now, should be flagged in brown end Blah3

Link to section: Nested2

nested2.html end nested2 // Blah5 tests. Errors are suppressed in section Blah5 but not otherwise begin Blah5 A BLAH5 message in a BLAH5 section is suppressed end Blah5 A BLAH5 message outside a BLAH5 section is counted begin Blah5 A second BLAH5 message in a BLAH5 section is suppressed end Blah5 // Expirations: // // expired error - error no longer applied after date // expired warn - warn no longer applied after date // expired ignore - ignore no longer applied after date // I.e. an expired rule is no longer applied, as if it is not even typed into the logpro file

Link to section: Blah4

blah4.html ==========================LOGPRO SUMMARY========================== Trigger: Blah5End OK, count=2, regex=/^end Blah5/ Trigger: Blah5 OK, count=2, regex=/^begin Blah5/ Trigger: NON-REQUIRED trigger OPTIONAL, count=0, regex=/FooBazBlat/ Trigger: Blah4End FAIL, count=0, regex=/^end Blah4/ Trigger: Blah4 OK, count=1, regex=/^begin Blah4/ Trigger: Blah3End OK, count=1, regex=/^end Blah3/ Trigger: Blah3 OK, count=1, regex=/^begin Blah3/ Trigger: Nested2End OK, count=3, regex=/^end nested2/ Trigger: Nested2 OK, count=3, regex=/^begin nested2/ Trigger: Nested1End OK, count=1, regex=/^end nested1/ Trigger: Nested1 OK, count=1, regex=/^begin nested1/ Trigger: Blah2End OK, count=1, regex=/^end Blah2/ Trigger: Blah2 OK, count=1, regex=/^begin Blah2/ Trigger: InitEnd OK, count=1, regex=/^\s*$/ Trigger: Init OK, count=1, regex=/This is a header/ Trigger: LogFileBodyStart OK, count=1, regex=/.*/ Trigger: LogFileBodyStart OK, count=1, regex=/.*/

RuleNumRuleTypeStatusCompCount/ValCountDescRx
Expects for LogFileBody section: #f
rule-1ErrorFAIL<11Only have one BLAH5 error outside of the Blah5 section/^A.*BLAH5/
rule-3IgnoreOK=11single quotes/'This line is ignored'/
rule-5RequiredFAIL>00Something required but not found/This is required but not found/
rule-6ValueFAIL1.9+/--0.1/Measured voltage output:\s*v/
rule-7ValueFAIL0.5+/-0.390.1/Measured output current:\s*([\d\.\+\-e]+)mA/
rule-8ValueOK110000000000.0+/-112000000000.02000000000.0/Freq:\s*([\d\.\+\-e]+)\s+Hz/
rule-9ValueFAIL110000000000.0+/-11197000000.01000000000.0/Freq:\s*([\d\.\+\-e]+)Hz/
rule-10ValueFAIL110000000000.0+/--1000000000.0/Freq:\s*([\d\.\+\-e]+)zH/
rule-12IgnoreOK>01Testing substitution/(misc).*(out\S+)\s+(.*ich).*(exp.*)$/
rule-13ValueFAIL1.9+/-1.990.1/ out: (\d+)\s+([\d\.\+\-e]+)/
rule-14ValueFAIL>1.921.9/ cmpout: (\d+)\s+([\d\.\+\-e]+)/
rule-16IgnoreOK<992Ignore the word error in comments/^\/\/.*error/
rule-17WarningWARN=01Any warning/WARNING/
rule-18ErrorFAIL=01ERROR BLAH/ERROR/, /error/
rule-19RequiredOK<=11Quad values/First:\s+(\d+)\s+Second:\s+(\d+)\s+Third:\s+(\d+)\s+Fourth:\s+(\d+)/
rule-20Required-warnFAIL=10I'm gonna warn you once.../I'm gonna warn you once/
rule-21CheckOK=11If flagged, raise CHECKED flag and exit with error code 3/This is a line to trigger CHECK/
rule-22AbortFAIL=01If flagged our process failed to run correctly/^CRASH/
rule-23SkipFAIL=01If flagged we are asking for this to exit with code 6/^SKIPME/
Expects for Init section: #f
rule-4RequiredOK=11Header/This is a header/
Expects for Blah5 section: #f
rule-0WaiveOK=22Have exactly two BLAH5 errors to waive inside the two Blah5 sections/^A.*BLAH5/
Expects for Blah4 section: blah4.html
rule-11ErrorFAIL=02Any ERROR in section blah4/ERROR/
Expects for Blah3 section: #f
rule-2WaiveOK=11A real error that has been waived/ERROR:/
Expects for Blah2 section: blah2.html
rule-15IgnoreOK<991FALSE ERROR/ERROR/

EXIT CODE: 6 (SKIP )