| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This is a fixup of https://phabricator.haskell.org/D233
The only difference is in findTFiles (first commit), which
previously broke Windows runner; now I translated literally
instead attempting to improve it, and checked it works.
Test Plan:
I used validate under 2,3 on Linux and under 2 on msys2.
On Windows I've seen a large number of failures, but they don't
seem to be connected with the patch.
Reviewers: hvr, simonmar, thomie, austin
Reviewed By: austin
Subscribers: thomie, carter, ezyang, simonmar
Differential Revision: https://phabricator.haskell.org/D310
GHC Trac Issues: #9184
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, the detection recognizes the following `uname -s` strings:
- `CYGWIN_NT-6.3`
- `MINGW32_NT-6.3`
- `MINGW64_NT_6.3`
However, MSYS2 provides an additional target, in which case `uname -s`
returns a string such as `MSYS_NT-6.3`. In all these cases, the system
ought to be recognized as being a `windows` os by the testsuite runner.
See also #9604
|
|
|
|
|
|
|
|
|
| |
On Windows, we may be using a native build of Python or a mingw/msys build. The
former exports `ctypes.windll`, the latter exports `cdll`. Previously the code
threw an exception when using the msys Python because it expected `windll` to
always be available on Windows.
Differential Revision: https://phabricator.haskell.org/D308
|
|
|
|
|
|
| |
This reverts commit 084d241b316bfa12e41fc34cae993ca276bf0730.
This is a possible culprit of Windows breakage reported at ghc-devs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Most of the changes is adaptation of old Python 2 only code.
My priority was not breaking Python 2, and so I avoided bigger
changes to the driver. In particular, under Python 3 the output
is a str and buffering cannot be disabled.
To test, define PYTHON=python3 in testsuite/mk/boilerplate.mk.
Thanks to aspidites <emarshall85@gmail.com> who provided the initial patch.
Test Plan: validate under 2 and 3
Reviewers: hvr, simonmar, thomie, austin
Reviewed By: thomie, austin
Subscribers: aspidites, thomie, simonmar, ezyang, carter
Differential Revision: https://phabricator.haskell.org/D233
GHC Trac Issues: #9184
|
|
|
|
|
| |
This reverts commit 9711f78f790d10d914e08851544c6fc96f9a030a, as it's
causing build phailures in phabricator.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
* Adjusts performance tests
* Change ghcpkg05.stderr-mingw32 to match ghcpkg05.stderr
Test Plan: Ran 'sh validate' and observed fewer test failures afterwards
Reviewers: austin
Reviewed By: austin
Differential Revision: https://phabricator.haskell.org/D191
|
|
|
|
|
| |
which makes it print performance numbers even when the test succeeds
(good for historic analysis)
|
|
|
|
|
|
| |
uname -s
msys gives "MINGW32"
msys2 gives "MINGW_NT-6.2"
|
|
|
|
|
|
| |
More often than not the output of the performance tests is in the way,
rather than helping. This allows the use of `make SKIP_PERF_TESTS=YES`
to skip these tests. Fixes #8413
|
|
|
|
|
|
|
|
|
| |
Select verbosity with "make VERBOSE=n". Options so far:
n=0: No per-test output
n=1: Only failing test results
n=2: As above, plus progress information (names of all tests)
n=3: As aobve, plus commands called.
Default currently is n=3, although n=2 might be a nicer default.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Gives a list of tickets that the testsuite thinks are broken, and
what bug it thinks is the reason. This can then be pasted into trac
and 'previewed', which will show any closed tickets with strikeout.
|
|
|
|
|
|
|
|
| |
This allows them to give framework failures.
I also had to change how setTestOpts works. Now, rather than applying
the options to the directory's "default options", it just stores the
options to be applied for each test (i.e. once we know the test name).
|
| |
|
|
|
|
|
|
| |
This reverts commit d262089127c54bfe81963628ac70a309f8133492.
We shouldn't need to do this on Linux.
|
|
|
|
| |
Patch from Karel Gardas <karel.gardas@centrum.cz>.
|
|
|
|
|
| |
This is more efficient than having to wait for all threads to finish
before each 'alone' test.
|
| |
|
|
|
|
| |
sys.platform now always returns 'win32' for me.
|
| |
|
| |
|
|
|
|
|
| |
We also use it internally, which saves us running "ghc --print-libdir"
on Windows.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Work in progress, but largely works. Known issues:
* only supported when using the timeout program
* 'test.strace' files aren't cleaned, as they end up in the root
directory rather than the test's directory
* Doesn't yet track what the current directory is, so finds several
files like "A.o" being written by multiple tests (and conversely,
may be missing writes to the same file from different directories)
* Lots of tests write to $HOME/.ghc/ghci_history. We should probably
be passing ghci a flag to stop this from happening.
* Some .strace lines aren't understood yet, causing framework failures
* One .strace file can cause muiltiple framework failures, if it
contains lots of lines that aren't understood
Performance:
Threads fast testsuite time fast testsuite time with checks
1 16:36.14 25:16.07
5 5:33.95 8:04.05
|
|
|
|
|
|
|
| |
In the 65001 codepage, we can't even cat the expected output on msys:
$ cat 4006.stdout
It works here
cat: write error: Permission denied
|
|
|
|
|
|
| |
Instead of calling "ghc-pkg list" and "ghc-pkg field" for each
package, call "ghc-pkg dump" and grep the output. Saves a few seconds
on Windows for 'make TEST=foo'.
|
|
|
|
|
| |
The import is failing on sparky, and we only use it on Windows anyway,
so move it inside an "if windows".
|
| |
|
| |
|
|
|
|
|
| |
I'm not entirely sure if the cygwin code is actually right (i.e. I'm
not sure what calling convention it uses), but it seems to work.
|
|
|
|
| |
Fixes openTempFile001 for some system codepages, most notably 437 (US).
|
|
|
|
|
| |
This increases the parallelism possible, and allows us to track what
progress we are making.
|
| |
|
|
|
|
| |
It seems to cause some sort of deadlock
|
| |
|
|
|
|
| |
- This is the version of Python that comes with Snow Leopard
|
|
|
|
|
|
| |
This works around a problem on (old?) Fedora systems, where "locale -a"
lists every locale that /might/ exist, rather than only those that /do/
exist.
|
|
|
|
| |
In other locales we get some test failures for some ghci unicode tests
|
| |
|
| |
|
|
|
|
|
| |
According to trac #1558, 2.5.2 should work. It's possible a lower bound,
e.g. 2.5, would suffice.
|
| |
|
|
|
|
|
| |
Readline sometimes spews out ANSI escapes for some values of TERM,
which result in test failures.
|
| |
|
| |
|
|
|
|
|
|
| |
When working on a new foo extension, you can now put your tests in the
testsuite, set ProjectTags=-foo in mk/build.mk and skip_unless_tag('foo')
in the tests.
|
| |
|
| |
|