1. 16 Feb, 2012 2 commits
    • Simon Marlow's avatar
      Allow perf bounds to be specified as base + percentage deviation · ef050859
      Simon Marlow authored
      This makes it much easier to update the bounds.  Instead of coming up
      with a suitable (min,max) pair, you just give e.g. (base, 10) to allow
      10% deviation from the base figure, which can be pasted from the
      error.
      
      e.g. previously:
      
      -      # expected value: 458700632 (amd64/Linux):
      -      if_wordsize(64,
      -          compiler_stats_num_field('bytes allocated', 440000000,
      -                                                      480000000)),
      
      now:
      
      +      if_wordsize(64, # sample from amd64/Linux 15/2/2012
      +          compiler_stats_range_field('bytes allocated', 360243576, 10)),
      
      Note: use stats_range_field rather than stats_num_field.  I left
      support for the old way for now so that we can do a gradual migration.
      
      (next I suppose we should make it so that 'make accept' works for perf
      tests, but that's for another day)
      ef050859
    • Simon Marlow's avatar
      Make the compiler_always_flags modifiable on a per-test basis · eb7aacb6
      Simon Marlow authored
      Motivation: we wanted to disable -dcore-lint for the perf tests
      eb7aacb6
  2. 14 Feb, 2012 1 commit
  3. 13 Feb, 2012 1 commit
  4. 10 Feb, 2012 9 commits
  5. 09 Feb, 2012 3 commits
  6. 06 Feb, 2012 3 commits
  7. 04 Feb, 2012 1 commit
  8. 03 Feb, 2012 4 commits
  9. 02 Feb, 2012 3 commits
  10. 01 Feb, 2012 1 commit
  11. 30 Jan, 2012 3 commits
    • Ian Lynagh's avatar
      Make posix003 a little more portable · 777dff2e
      Ian Lynagh authored
      On OS X, /tmp is a symlink to /private/tmp, so the test prints the wrong
      output. I've changed it to use /dev instead, which is hopefully less
      likely to be a symlink.
      777dff2e
    • Ian Lynagh's avatar
      Tweak TH_Depends · 0b395e15
      Ian Lynagh authored
      It was explicitly removing the program inbetween the two runs, but
      I don't see why that should be necessary.
      0b395e15
    • Ian Lynagh's avatar
      Make TH_Depends more portable · b2e4c1ed
      Ian Lynagh authored
      We now just sleep for 2 seconds, rather than using
          touch --date="now + 3 seconds"
      which doesn't work on OS X. OS X does have "touch -A", but that doesn't
      work on Linux.
      b2e4c1ed
  12. 29 Jan, 2012 4 commits
  13. 28 Jan, 2012 1 commit
  14. 26 Jan, 2012 2 commits
  15. 25 Jan, 2012 1 commit
  16. 19 Jan, 2012 1 commit