Menu

#1 Tests failure

1.0
open
nobody
None
2015-01-13
2015-01-13
floflooo
No

Kerri Wait k.wait@uq.edu.au reported that some unit tests fail:

uqkwait@b10b10:~/sandbox/PHAACS/PHACCS
113/t> run_tests.sh
Testing program with matlab...

  • t00_example ... ok
  • t01_original ... failed
    Error using is (line 29)
    Failed! Got 8600 but expected
    8800
  • t02_change ... failed
    Error using is (line 29)
    Failed! Got 8660 but expected
    8550
  • t03_exhaustive ... failed
    Error using is (line 29)
    Failed! Got 9223 but expected
    9218
    • t04_file ... ok
    • t05_model ... ok
    • t06_sync ... ok
      ----- Test summary -----
      Passed: 4 / 7 (57.1 %)
      Result: FAILURE =(

The tests probably fail because the optimization procedure has a random component and gives slightly different results than those expected. In short, nothing to worry about. This may be fixed by specifying a PRNG seed to Matlab/Octave during testing to have deterministic results.

------------------------

Discussion


Log in to post a comment.

MongoDB Logo MongoDB