1. 11 Nov, 2019 1 commit
  2. 09 Nov, 2019 1 commit
  3. 31 Oct, 2019 1 commit
  4. 19 Jul, 2019 1 commit
  5. 14 Jul, 2019 1 commit
    • John Ericson's avatar
      Expunge #ifdef and #ifndef from the codebase · d7c6c471
      John Ericson authored
      These are unexploded minds as far as the linter is concerned. I don't
      want to hit in my MRs by mistake!
      
      I did this with `sed`, and then rolled back some changes in the docs,
      config.guess, and the linter itself.
      d7c6c471
  6. 16 Jun, 2019 1 commit
  7. 15 Mar, 2019 1 commit
  8. 30 Jan, 2019 3 commits
  9. 19 Apr, 2018 1 commit
  10. 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
  11. 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
  12. 22 Jan, 2017 1 commit
  13. 07 Oct, 2016 1 commit
    • niteria's avatar
      Fix memory leak from #12664 · e41b9c61
      niteria authored
      This fixes the leak with `setProgArgv`. The problem was
      that `setProgArgv` would not free the objects pointed
      to by `prog_argc`, `prog_argv` when the globals were
      changed resulting in a leak.
      
      The only strictly necessary change is in `rts/RtsFlags.c`, but
      the code in `System.Environment` was a bit confusing and not
      exception safe, so I refactored it.
      
      Test Plan: ./validate
      
      Reviewers: simonmar, ezyang, austin, hvr, bgamari, erikd
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D2576
      
      GHC Trac Issues: #12664
      e41b9c61
  14. 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
  15. 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
  16. 20 Jun, 2016 2 commits
  17. 18 Jun, 2016 1 commit
    • thomie's avatar
      Testsuite: write "\n" instead of "\r\n" when using mingw Python · 6f6f5154
      thomie authored
      Mingw style Python uses '\r\n' by default for newlines. This is
      annoying, because it means that when a GHC developer on Windows uses
      mingw Python to `make accept` a test, every single line of the
      .stderr file is touched. This makes it difficult to spot the real
      changes, and it leads to unnecessary git history bloat.
      
      Prevent this from happening by using io.open instead of open.
      See `Note [Universal newlines]`
      
      Reviewed by: Phyx
      
      Differential Revision: https://phabricator.haskell.org/D2342
      6f6f5154
  18. 24 May, 2016 1 commit
  19. 22 May, 2016 1 commit
    • thomie's avatar
      Testsuite: fix T12010 for real · 2230c882
      thomie authored
      * Use `extra_files` instead of (the deprecated) `extra_clean` (#11980).
      
      * Don't depend on generated files from build tree
        (libraries/base/include/HsBaseConfig.h). Running
        'make test TEST=T12010' should work, even without building GHC first
        (it will use the system installed ghc).
      
      Test Plan: 'make test TEST=T12010' on Linux and Windows.
      
      Reviewed by: Phyx
      
      Differential Revision: https://phabricator.haskell.org/D2256
      
      GHC Trac Issues: #12010
      2230c882
  20. 21 May, 2016 1 commit
  21. 19 May, 2016 1 commit
  22. 17 May, 2016 1 commit
  23. 25 Feb, 2016 1 commit
  24. 23 Feb, 2016 2 commits
  25. 15 Dec, 2015 1 commit
  26. 15 Aug, 2015 1 commit
  27. 23 Jul, 2015 1 commit
  28. 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
  29. 13 Jul, 2015 1 commit
  30. 05 Jul, 2015 1 commit
  31. 09 Jun, 2015 1 commit
  32. 07 Mar, 2015 1 commit
  33. 16 Sep, 2014 1 commit
  34. 04 Aug, 2014 1 commit
  35. 28 Jun, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Simplify .gitignore files · 767b9ddf
      Herbert Valerio Riedel authored
      
      
      It's a bit confusing to have .gitignore files spread all over the
      filesystem. This commit tries to consolidate those into one .gitignore
      file per component. Moreover, we try to describe files to be ignored which
      happen to have a common identifying pattern by glob patterns.
      Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
      767b9ddf
  36. 30 May, 2014 1 commit