forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
 
# If there is numa support, run the tests. Otherwise skip all the tests.
# Ideally the skipping would happen by the upstream tests.
if ! numactl -s | grep -q "No NUMA support available on this system."; then
   make regress1
   make regress2
   if  numademo -t -e 10M; then
       echo "PASS: numademo"
   else
       echo "FAIL: numademo"
   fi
else
   echo "SKIP: ./../test/bind_range"
   echo "SKIP: ./../test/checkaffinity"
   echo "SKIP: ./../test/checktopology"
   echo "SKIP: ./../test/distance"
   echo "SKIP: ./../test/nodemap"
   echo "SKIP: ./../test/tbitmap"
   echo "SKIP: numactl_regress"
   echo "SKIP: numademo"
fi