aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci/check_inline_timer.sh8
-rwxr-xr-xscripts/ci/check_pktio.sh8
-rwxr-xr-xscripts/ci/coverage.sh8
3 files changed, 12 insertions, 12 deletions
diff --git a/scripts/ci/check_inline_timer.sh b/scripts/ci/check_inline_timer.sh
index 1fa9c21f5..48800be35 100755
--- a/scripts/ci/check_inline_timer.sh
+++ b/scripts/ci/check_inline_timer.sh
@@ -1,14 +1,14 @@
#!/bin/bash
set -e
-"`dirname "$0"`"/build_${ARCH}.sh
-
-cd "$(dirname "$0")"/../..
-
echo 1000 | tee /proc/sys/vm/nr_hugepages
mkdir -p /mnt/huge
mount -t hugetlbfs nodev /mnt/huge
+"`dirname "$0"`"/build_${ARCH}.sh
+
+cd "$(dirname "$0")"/../..
+
ODP_SCHEDULER=basic ./test/validation/api/timer/timer_main
ODP_SCHEDULER=sp ./test/validation/api/timer/timer_main
ODP_SCHEDULER=scalable ./test/validation/api/timer/timer_main
diff --git a/scripts/ci/check_pktio.sh b/scripts/ci/check_pktio.sh
index e61bacc98..3c6fd8c86 100755
--- a/scripts/ci/check_pktio.sh
+++ b/scripts/ci/check_pktio.sh
@@ -1,14 +1,14 @@
#!/bin/bash
set -e
-"`dirname "$0"`"/build_${ARCH}.sh
-
-cd "$(dirname "$0")"/../..
-
echo 1000 | tee /proc/sys/vm/nr_hugepages
mkdir -p /mnt/huge
mount -t hugetlbfs nodev /mnt/huge
+"`dirname "$0"`"/build_${ARCH}.sh
+
+cd "$(dirname "$0")"/../..
+
./platform/linux-generic/test/validation/api/pktio/pktio_run.sh
umount /mnt/huge
diff --git a/scripts/ci/coverage.sh b/scripts/ci/coverage.sh
index d6a8a6d0e..c59a704e1 100755
--- a/scripts/ci/coverage.sh
+++ b/scripts/ci/coverage.sh
@@ -5,6 +5,10 @@ if [ "${CC#clang}" != "${CC}" ] ; then
export CXX="clang++"
fi
+echo 1000 | tee /proc/sys/vm/nr_hugepages
+mkdir -p /mnt/huge
+mount -t hugetlbfs nodev /mnt/huge
+
cd "$(dirname "$0")"/../..
./bootstrap
./configure \
@@ -13,10 +17,6 @@ cd "$(dirname "$0")"/../..
export CCACHE_DISABLE=1
make -j $(nproc)
-echo 1000 | tee /proc/sys/vm/nr_hugepages
-mkdir -p /mnt/huge
-mount -t hugetlbfs nodev /mnt/huge
-
# Ignore possible failures there because these tests depends on measurements
# and systems might differ in performance.
export CI="true"