diff options
author | Luna Nova <git@lunnova.dev> | 2022-02-18 13:49:51 -0800 |
---|---|---|
committer | Luna Nova <git@lunnova.dev> | 2022-03-07 08:31:40 -0800 |
commit | 71a02ab76f35c36a4830716edcb8d168b154a19b (patch) | |
tree | 27de9f2ec551628918643630f9f8473a9d43072e /pkgs/tools/inputmethods/input-remapper | |
parent | 10c92e2ae01dae1c2513221ee367c63e07699b24 (diff) | |
download | nixlib-71a02ab76f35c36a4830716edcb8d168b154a19b.tar nixlib-71a02ab76f35c36a4830716edcb8d168b154a19b.tar.gz nixlib-71a02ab76f35c36a4830716edcb8d168b154a19b.tar.bz2 nixlib-71a02ab76f35c36a4830716edcb8d168b154a19b.tar.lz nixlib-71a02ab76f35c36a4830716edcb8d168b154a19b.tar.xz nixlib-71a02ab76f35c36a4830716edcb8d168b154a19b.tar.zst nixlib-71a02ab76f35c36a4830716edcb8d168b154a19b.zip |
input-remapper: disable tests by default due to flakey tests under high load
See also: https://github.com/sezanzeb/input-remapper/issues/306
Diffstat (limited to 'pkgs/tools/inputmethods/input-remapper')
-rw-r--r-- | pkgs/tools/inputmethods/input-remapper/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/inputmethods/input-remapper/default.nix b/pkgs/tools/inputmethods/input-remapper/default.nix index 17ed972423b5..1ac061034d75 100644 --- a/pkgs/tools/inputmethods/input-remapper/default.nix +++ b/pkgs/tools/inputmethods/input-remapper/default.nix @@ -25,6 +25,10 @@ # If you use Xmodmap to set keyboard mappings (or your DE does) # it is required to correctly map keys , withXmodmap ? true + # Some tests are flakey under high CPU load and could cause intermittent + # failures when building. Override this to true to run tests anyway + # See upstream issue: https://github.com/sezanzeb/input-remapper/issues/306 +, withDoCheck ? false # Version and rev and hash are package arguments to allow overriding # while ensuring the values in prePatch and src match # https://discourse.nixos.org/t/avoid-rec-expresions-in-nixpkgs/8293/7 @@ -66,7 +70,7 @@ buildPythonApplication { substituteInPlace inputremapper/logger.py --replace "logger.setLevel(logging.INFO)" "logger.setLevel(logging.DEBUG)" ''); - doCheck = true; + doCheck = withDoCheck; checkInputs = [ psutil ]; |