Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | # If there is numa support, run the tests. Otherwise skip all the tests. |
| 4 | # Ideally the skipping would happen by the upstream tests. |
| 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 |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 11 | if [ "$?" = 77 ] ; then |
| 12 | echo "SKIP: numademo" |
| 13 | else |
| 14 | echo "FAIL: numademo" |
| 15 | fi |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 16 | fi |
| 17 | else |
| 18 | echo "SKIP: ./../test/bind_range" |
| 19 | echo "SKIP: ./../test/checkaffinity" |
| 20 | echo "SKIP: ./../test/checktopology" |
| 21 | echo "SKIP: ./../test/distance" |
| 22 | echo "SKIP: ./../test/nodemap" |
| 23 | echo "SKIP: ./../test/tbitmap" |
| 24 | echo "SKIP: numactl_regress" |
| 25 | echo "SKIP: numademo" |
| 26 | fi |
| 27 | |