From 31ad56950f6d35ba530942c814629a25b057f8f8 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Tue, 25 Feb 2020 22:51:57 +0100 Subject: [PATCH] CI build: print number of VM CPUs --- test/run-tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/run-tests.sh b/test/run-tests.sh index 69a969f..1157c8f 100755 --- a/test/run-tests.sh +++ b/test/run-tests.sh @@ -88,7 +88,8 @@ exprForCI() { # Round down to nearest multiple of 50 MiB for improved test build caching ((memAvailableMiB = memAvailableKiB / (1024 * 50) * 50)) ((memAvailableMiB < memoryMiB)) && memoryMiB=$memAvailableMiB - >&2 echo "Host memory: total $((memTotalKiB / 1024)) MiB, available $memAvailableMiB MiB, VM $memoryMiB MiB" + >&2 echo "VM stats: CPUs: $numCPUs, memory: $memoryMiB MiB" + >&2 echo "Host memory total: $((memTotalKiB / 1024)) MiB, available: $memAvailableMiB MiB" vmTestNixExpr }