From 2935985fda56e4c0d73d33ffd06cb2ac7536a91c Mon Sep 17 00:00:00 2001 From: DavHau Date: Wed, 26 Aug 2020 15:32:06 +0700 Subject: [PATCH] parallel tests --- tests/all-tests.nix | 8 ++++++++ tests/execute.sh | 4 +--- 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 tests/all-tests.nix diff --git a/tests/all-tests.nix b/tests/all-tests.nix new file mode 100644 index 0000000..43b2984 --- /dev/null +++ b/tests/all-tests.nix @@ -0,0 +1,8 @@ +map (file: import file ) [ + ./test_circular_deps.nix + ./test_dot_in_name.nix + ./test_extra_pkgs.nix + ./test_extras.nix + ./test_lazy_usage.nix + ./test_py38_cp38_wheel.nix +] \ No newline at end of file diff --git a/tests/execute.sh b/tests/execute.sh index ddc4a4b..1c5095e 100755 --- a/tests/execute.sh +++ b/tests/execute.sh @@ -1,5 +1,3 @@ #!/usr/bin/env bash -for f in ./test_*.nix; do - nix-build $f --no-out-link || exit 1 -done +nix-build all-test.nix