Changeset 5389


Ignore:
Timestamp:
Jun 3, 2008, 10:08:31 AM (17 years ago)
Author:
ole
Message:

Better error message in validate_benchmark_fit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/automated_validation_tests/fitting/validate_benchmark_fit.py

    r5290 r5389  
    8484            self.assert_(time<time_standard*1.2)
    8585             # v 4910 is giving a mem of 15572
    86             mem_standard = 15572 # !!!
    87             self.assert_(mem<mem_standard*1.2)
     86            mem_standard = 15572 # !!!
     87            msg = 'Memory used was %d, mem_standard is %d' %(mem, mem_standard)                       
     88            self.assert_(mem<mem_standard*1.2), msg
    8889
    8990        elif host.find('bogong') == 0:
Note: See TracChangeset for help on using the changeset viewer.