#149 closed defect (fixed)
errors.sin passes during "make installcheck", breaking "make distcheck"
Reported by: | Christian Speckner | Owned by: | kilian |
---|---|---|---|
Priority: | P1 | Milestone: | |
Component: | core | Version: | 2.0.0rc1 |
Severity: | blocker | Keywords: | |
Cc: |
Description
All of a sudden, "make distcheck" breaks for me with errors.sin passing without an error and the output of WHIZARD being
| Writing log to 'whizard.log' |=============================================================================| | WHIZARD 2.0.0_rc1 |=============================================================================| | Initializing process library 'processes' | Loading process library 'processes' | Reading model file 'MSSM.mdl' | Using model: MSSM | Reading commands from file './errors.sin' *** Error: Variable 'u' is not user-definable Beam data (collision): p (mass = 0.0000000 GeV) p (mass = 0.0000000 GeV) sqrts = 3.349446725052587+281 GeV | There were 1 error(s) and no warnings. | WHIZARD run finished. |=============================================================================|
Obviously, sqrts somehow gets set, triggering this misbehavior. Strangely enough, it behaves as it should during "make check" (or when TESTFLAG is present), giving a nonzero return code and printing
Running script ../../test/whizard_test_errors.sh | Writing log to 'whizard.log' |=============================================================================|r1554 | WHIZARD 2.0.0_rc1 |=============================================================================| | Initializing process library 'processes' | Loading process library 'processes' | Reading model file 'MSSM.mdl' | Using model: MSSM | Reading commands from file 'errors.sin' *** Error: Variable 'u' is not user-definable *** Fatal error: Beam setup: value of sqrts must be set and positive | There were 1 error(s) and no warnings. WHIZARD run aborted.
Somehow I've got the feeling that this regression was introduced in r1554, but then again, I might well be wrong :)
Note: See
TracTickets for help on using
tickets.
Trivial error: If sqrts is not initialized, it can have any value, not just zero.
Fixed in r1571.