summaryrefslogtreecommitdiff
path: root/lang/colm/files/patch-test_runtests
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-11-25 01:18:28 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2022-11-25 01:37:16 -0800
commit66fda47a11b52b6c31b30016dfde8cfdb1f162a3 (patch)
tree79b45eb0ecec5f2996ef296c8b46f33229a0a46f /lang/colm/files/patch-test_runtests
parentdevel/sonarqube-community: update plugins (diff)
lang/colm: New port: Colm Programming Language
Diffstat (limited to 'lang/colm/files/patch-test_runtests')
-rw-r--r--lang/colm/files/patch-test_runtests11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/colm/files/patch-test_runtests b/lang/colm/files/patch-test_runtests
new file mode 100644
index 000000000000..d2cca0f2428e
--- /dev/null
+++ b/lang/colm/files/patch-test_runtests
@@ -0,0 +1,11 @@
+--- test/runtests.orig 2022-11-25 08:51:12 UTC
++++ test/runtests
+@@ -10,7 +10,7 @@ timed()
+ if [ -f /proc/cpuinfo ]; then
+ CORES=$(awk '/cpu cores/ { print $4; exit }' /proc/cpuinfo)
+ else
+- CORES=$(sysctl -n hw.physicalcpu)
++ CORES=$(sysctl -n hw.ncpu)
+ fi
+
+