diff options
author | Philipp Adolf <derphilippadolf@googlemail.com> | 2020-07-11 10:57:45 +0200 |
---|---|---|
committer | Philipp Adolf <derphilippadolf@googlemail.com> | 2020-07-11 11:04:27 +0200 |
commit | 3c8cdbff841178095434118e918a71645e5e7e8a (patch) | |
tree | 460c11df45804d4f4d7463a3267f59d530092a6f /pkgs/shells | |
parent | cb92b4be75426e21f78341dc9f1a58e39c565b11 (diff) |
Revert "bashCompletion: speed-up test execution by using xdist"
This reverts commit a85b07cbcb7a034bc07dda3642bc68fe621a63ec as
executing the tests in parallel makes them flaky. This can be seen very
easily on armv7l machines (and probably other machines that are slower
than common x86_64 machines as well), but is also reproducible on
x86_64.
This fixes #91706.
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/bash/bash-completion/default.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/shells/bash/bash-completion/default.nix b/pkgs/shells/bash/bash-completion/default.nix index e5ef70e43a99..8463b1750d16 100644 --- a/pkgs/shells/bash/bash-completion/default.nix +++ b/pkgs/shells/bash/bash-completion/default.nix @@ -30,10 +30,6 @@ stdenv.mkDerivation rec { python3Packages.pexpect python3Packages.pytest bashInteractive - - # use xdist to speed up the test run, just like upstream: - # https://github.com/scop/bash-completion/blob/009bf2228c68894629eb6fd17b3dc0f1f6d67615/test/requirements.txt#L4 - python3Packages.pytest_xdist ]; # - ignore test_gcc on ARM because it assumes -march=native @@ -44,7 +40,7 @@ stdenv.mkDerivation rec { # - ignore test_ls because impure logic # - ignore test_screen because it assumes vt terminals exist checkPhase = '' - pytest -n $NIX_BUILD_CORES . \ + pytest . \ ${stdenv.lib.optionalString (stdenv.hostPlatform.isAarch64 || stdenv.hostPlatform.isAarch32) "--ignore=test/t/test_gcc.py"} \ --ignore=test/t/test_chsh.py \ --ignore=test/t/test_ether_wake.py \ |