about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorAdam Stephens <adam@valkor.net>2023-12-21 11:08:31 -0500
committerAdam Stephens <adam@valkor.net>2023-12-22 23:36:20 -0500
commitbb67b2224457656783d9b8f90518aeb7bfdfd640 (patch)
treef73227665b0a08f4b7a4c7b4f78f742b7d237883 /pkgs/os-specific
parent30cd89625c46c801946da2c5d249dc5c0cb37da5 (diff)
openvswitch*: run tests in parallel for significant speedup
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/openvswitch/generic.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/openvswitch/generic.nix b/pkgs/os-specific/linux/openvswitch/generic.nix
index 83749782d2746..fc4386953f7df 100644
--- a/pkgs/os-specific/linux/openvswitch/generic.nix
+++ b/pkgs/os-specific/linux/openvswitch/generic.nix
@@ -96,6 +96,8 @@ in stdenv.mkDerivation rec {
 
   doCheck = true;
   preCheck = ''
+    export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
+
     patchShebangs tests/
   '';