aboutsummaryrefslogtreecommitdiff
path: root/scripts/ci/check.sh
blob: a181a184be0f416c90e0edbb2f80208f521d6d28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
set -e

echo 1500 | tee /proc/sys/vm/nr_hugepages
mkdir -p /mnt/huge
mount -t hugetlbfs nodev /mnt/huge

"`dirname "$0"`"/build_x86_64.sh

cd "$(dirname "$0")"/../..

# Ignore possible failures there because these tests depends on measurements
# and systems might differ in performance.
export CI="true"
make check

#dpdk wrapper script can umount hugepages itself
umount /mnt/huge || true