build-pspp: Also run check in parallel.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 5 Sep 2020 18:15:14 +0000 (11:15 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 5 Sep 2020 18:15:14 +0000 (11:15 -0700)
build-pspp

index 889509c930577640245fbd31b71c019f2205036f..d7ea908479564fa8c1b73b7dd0aae139df2c06bd 100755 (executable)
@@ -522,8 +522,8 @@ if build_binary:
                 % (builddir, tarball_dir, binary_version), 1)
 
     start_step("Check")
-    ok = try_run("cd %s/%s/_build && make check" % (builddir, tarball_dir),
-                 "check")
+    ok = try_run("cd %s/%s/_build && make check TESTSUITEFLAGS=-j$(nproc)"
+                 % (builddir, tarball_dir), "check")
     for basename in ("tests/testsuite.log", "tests/testsuite.dir"):
         save_result_if_exists("test logs", "%s/%s/_build/%s"
                               % (builddir, tarball_dir, basename))