diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2019-11-25 14:09:50 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2019-11-25 14:09:50 +0000 |
commit | 765d2608b694e425743b8030570ea8c99e167558 (patch) | |
tree | 9b5f78c947a39fe41effe33d5bb36e6a3a574c9b | |
parent | ea9a2c5ec21bf088bbdef036238fa67cdc85b073 (diff) |
Fix lib tests
js-ghcjs didn't fit in an existing categor.
-rw-r--r-- | lib/systems/doubles.nix | 1 | ||||
-rw-r--r-- | lib/tests/systems.nix | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/systems/doubles.nix b/lib/systems/doubles.nix index f07e9da33bcb..2e3e3b9223f9 100644 --- a/lib/systems/doubles.nix +++ b/lib/systems/doubles.nix @@ -47,6 +47,7 @@ in { x86_64 = filterDoubles predicates.isx86_64; mips = filterDoubles predicates.isMips; riscv = filterDoubles predicates.isRiscV; + js = filterDoubles predicates.isJavaScript; cygwin = filterDoubles predicates.isCygwin; darwin = filterDoubles predicates.isDarwin; diff --git a/lib/tests/systems.nix b/lib/tests/systems.nix index 818749442f9f..6f52912994df 100644 --- a/lib/tests/systems.nix +++ b/lib/tests/systems.nix @@ -12,7 +12,7 @@ let expected = lib.sort lib.lessThan y; }; in with lib.systems.doubles; lib.runTests { - testall = mseteq all (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos ++ wasi ++ windows ++ embedded); + testall = mseteq all (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos ++ wasi ++ windows ++ embedded ++ js); testarm = mseteq arm [ "armv5tel-linux" "armv6l-linux" "armv7a-linux" "armv7l-linux" "arm-none" "armv7a-darwin" ]; testi686 = mseteq i686 [ "i686-linux" "i686-freebsd" "i686-netbsd" "i686-openbsd" "i686-cygwin" "i686-windows" "i686-none" "i686-darwin" ]; |