testsuite/plugins: Add multi_cpu_race modifier on Windows
authorBen Gamari <ben@smart-cactus.org>
Tue, 5 Mar 2019 00:01:43 +0000 (19:01 -0500)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Wed, 20 Mar 2019 22:41:32 +0000 (18:41 -0400)
commita0c31f78647efc1f9aba6c7ac52f64237143b539
tree573d94397ad308f231175f4b0ff7873935bdb35b
parentb7f5d5526ac0989fcbe0cb1aff00aaee3e2690bb
testsuite/plugins: Add multi_cpu_race modifier on Windows

A few tests previously failed with various failure modes. For instance,
  `plugin-recomp-change` fails with:

```
Wrong exit code for plugin-recomp-change()(expected 0 , actual 2 )
Stderr ( plugin-recomp-change ):
Simple Plugin Passes Queried
Got options:
Simple Plugin Pass Run
C://GitLabRunner//builds//8fc0e283//0//ghc//ghc//inplace//mingw//bin/ld.exe: cannot find -lHSplugin-recompilation-0.1-CPeObcGoBuvHdwBnpK9jQq
collect2.exe: error: ld returned 1 exit status
`gcc.exe' failed in phase `Linker'. (Exit code: 1)
make[2]: *** [Makefile:112: plugin-recomp-change] Error 1
*** unexpected failure for plugin-recomp-change(normal)
```

It's unclear whether the ghc-pkg concurrency issue mentioned in all.T is
the culprit but the set of tests that fail overlaps strongly with the
set of tests that lack the `multi_cpu_race` modifier. Let's see if
adding it fixes them.
testsuite/tests/plugins/all.T