summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/numactl
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/numactl')
-rwxr-xr-xmeta/recipes-support/numactl/numactl/run-ptest24
1 files changed, 19 insertions, 5 deletions
diff --git a/meta/recipes-support/numactl/numactl/run-ptest b/meta/recipes-support/numactl/numactl/run-ptest
index 215f7c25b9..bf269da755 100755
--- a/meta/recipes-support/numactl/numactl/run-ptest
+++ b/meta/recipes-support/numactl/numactl/run-ptest
@@ -1,9 +1,23 @@
1#!/bin/sh 1#!/bin/sh
2make regress1 2
3make regress2 3# If there is numa support, run the tests. Otherwise skip all the tests.
4if numademo -t -e 10M; then 4# Ideally the skipping would happen by the upstream tests.
5 echo "PASS: numademo" 5if ! numactl -s | grep -q "No NUMA support available on this system."; then
6 make regress1
7 make regress2
8 if numademo -t -e 10M; then
9 echo "PASS: numademo"
10 else
11 echo "FAIL: numademo"
12 fi
6else 13else
7 echo "FAIL: numademo" 14 echo "SKIP: ./../test/bind_range"
15 echo "SKIP: ./../test/checkaffinity"
16 echo "SKIP: ./../test/checktopology"
17 echo "SKIP: ./../test/distance"
18 echo "SKIP: ./../test/nodemap"
19 echo "SKIP: ./../test/tbitmap"
20 echo "SKIP: numactl_regress"
21 echo "SKIP: numademo"
8fi 22fi
9 23