diff options
Diffstat (limited to 'meta/recipes-support/numactl')
-rwxr-xr-x | meta/recipes-support/numactl/numactl/run-ptest | 24 |
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 |
2 | make regress1 | 2 | |
3 | make regress2 | 3 | # If there is numa support, run the tests. Otherwise skip all the tests. |
4 | if numademo -t -e 10M; then | 4 | # Ideally the skipping would happen by the upstream tests. |
5 | echo "PASS: numademo" | 5 | if ! 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 | ||
6 | else | 13 | else |
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" | ||
8 | fi | 22 | fi |
9 | 23 | ||