1. 09 Nov, 2019 1 commit
  2. 31 Oct, 2019 1 commit
  3. 19 Jul, 2019 1 commit
  4. 16 Jun, 2019 1 commit
  5. 30 Jan, 2019 3 commits
  6. 02 Jan, 2018 1 commit
    • Tamar Christina's avatar
      Windows: fix all failing tests. · 27b7b4db
      Tamar Christina authored
      This makes the testsuite pass clean on Windows again.
      It also fixes the `libstdc++-6.dll` error harbormaster
      was showing.
      
      I'm marking some tests as isolated tests to reduce their
      flakiness (mostly concurrency tests) when the test system
      is under heavy load.
      
      Updates process submodule.
      
      Test Plan: ./validate
      
      Reviewers: hvr, bgamari, erikd, simonmar
      
      Reviewed By: bgamari
      
      Subscribers: rwbarton, thomie, carter
      
      Differential Revision: https://phabricator.haskell.org/D4277
      27b7b4db
  7. 26 Feb, 2017 1 commit
    • rwbarton's avatar
      tests: remove extra_files.py (#12223) · 3415bcaa
      rwbarton authored
      The script I used is included as testsuite/driver/kill_extra_files.py,
      though at this point it is for mostly historical interest.
      
      Some of the tests in libraries/hpc relied on extra_files.py, so this
      commit includes an update to that submodule.
      
      One test in libraries/process also relies on extra_files.py, but we
      cannot update that submodule so easily, so for now we special-case it
      in the test driver.
      3415bcaa
  8. 22 Jan, 2017 1 commit
    • thomie's avatar
      Remove clean_cmd and extra_clean usage from .T files · 5d38fb69
      thomie authored
      The `clean_cmd` and `extra_clean` setup functions don't do anything.
      Remove them from .T files.
      
      Created using https://github.com/thomie/refactor-ghc-testsuite. This
      diff is a test for the .T-file parser/processor/pretty-printer in that
      repository.
      
          find . -name '*.T' -exec ~/refactor-ghc-testsuite/Main "{}" \;
      
      Tests containing inline comments or multiline strings are not modified.
      
      Preparation for #12223.
      
      Test Plan: Harbormaster
      
      Reviewers: austin, hvr, simonmar, mpickering, bgamari
      
      Reviewed By: mpickering
      
      Subscribers: mpickering
      
      Differential Revision: https://phabricator.haskell.org/D3000
      
      GHC Trac Issues: #12223
      5d38fb69
  9. 29 Jun, 2016 1 commit
    • niteria's avatar
      Double the file descriptor limit for openFile008 · 8f7194fa
      niteria authored
      I have get test failures on `openFile008` with
      `openFile: resource exhausted (Too many open files)` when running
      inside `./validate`, but not when I run the test individually.
      I suspect that's because with `./validate` parallelism of 33 threads
      I go just above the `1024` file descriptor limit.
      This is probably related to the recent change:
      `58f0086b: Testsuite: open/close stdin/stdout/stderr explicitly`
      but I haven't looked deep enough to understand exactly how.
      I think bumping this is harmless, but I don't really know why it's
      necessary at all.
      
      Test Plan: ./validate
      
      Reviewers: austin, thomie, hvr, bgamari, simonmar
      
      Reviewed By: simonmar
      
      Subscribers: simonmar
      
      Differential Revision: https://phabricator.haskell.org/D2368
      8f7194fa
  10. 28 Jun, 2016 1 commit
    • thomie's avatar
      Testsuite: open/close stdin/stdout/stderr explicitly · 58f0086b
      thomie authored
      This allows run_command's to contain `|`, and `no_stdin` isn't necessary
      anymore.
      
      Unfortunately it doesn't fix T7037 on Windows which I had hoped it would
      (testsuite driver tries to read a file that it just created itself, but
      the OS says it doesn't exist).
      
      The only drawback of this commit is that the command that the testsuite
      prints to the terminal (for debugging purposes) doesn't mention the
      files that stdout and stderr are redirected to anymore. This is probably
      ok.
      
      Update submodule unix.
      
      Differential Revision: https://phabricator.haskell.org/D1234
      58f0086b
  11. 24 May, 2016 1 commit
  12. 17 May, 2016 1 commit
  13. 15 Aug, 2015 1 commit
  14. 21 Jul, 2015 1 commit
    • rwbarton's avatar
      When iconv is unavailable, use an ASCII encoding to encode ASCII · dbe6dac9
      rwbarton authored
      D898 and D1059 implemented a fallback behavior to handle the case
      that the end user's iconv installation is broken (typically due to
      running inside a chroot in which the necessary locale files and/or
      gconv modules have not been installed). In this case, if the
      program requests an ASCII locale, GHC's char8 encoding is used
      rather than the program failing.
      
      However, silently mangling data like char8 does when the programmer
      did not ask for it is poor behavior, for reasons described in D1059.
      
      This commit implements an ASCII encoding and uses it in the fallback
      case when iconv is unavailable and the user has requested ASCII.
      
      Test Plan:
      Added tests for the encodings defined in Latin1.
      Also, manually ran a statically-linked executable of that test
      in a chroot and the tests passed (up to the ones that call
      mkTextEncoding "LATIN1", since there is no fallback from iconv
      for that case yet).
      
      Reviewers: austin, hvr, hsyl20, bgamari
      
      Reviewed By: hsyl20, bgamari
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D1085
      
      GHC Trac Issues: #7695, #10623
      dbe6dac9
  15. 13 Jul, 2015 1 commit
  16. 09 Jun, 2015 1 commit
  17. 28 May, 2014 1 commit
  18. 08 May, 2013 1 commit
  19. 23 Apr, 2013 1 commit
  20. 10 Apr, 2013 1 commit
  21. 14 Feb, 2013 1 commit
  22. 11 Feb, 2013 3 commits
  23. 08 Feb, 2013 1 commit
  24. 26 Jan, 2013 1 commit
  25. 25 Jan, 2013 1 commit
  26. 26 May, 2012 1 commit
  27. 09 Mar, 2012 1 commit