X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=.ci%2Flinux-setup.sh;fp=.ci%2Flinux-setup.sh;h=5d3089cadd628357dd6a19aadf29c39029530598;hb=a458995f8cda8e1d872aa513b88e621bb8090ba6;hp=2b07d1e0b2c12410419a2eb87c989dbbac3db340;hpb=77784ef0fba80c899437000271a31710001ea63e;p=dpdk.git diff --git a/.ci/linux-setup.sh b/.ci/linux-setup.sh index 2b07d1e0b2..5d3089cadd 100755 --- a/.ci/linux-setup.sh +++ b/.ci/linux-setup.sh @@ -3,10 +3,7 @@ # need to install as 'root' since some of the unit tests won't run without it sudo python3 -m pip install --upgrade 'meson==0.47.1' -# skip hugepage settings if tests will not run -if [ "$RUN_TESTS" = "1" ]; then - # setup hugepages - cat /proc/meminfo - sudo sh -c 'echo 1024 > /proc/sys/vm/nr_hugepages' - cat /proc/meminfo -fi +# setup hugepages. error ignored because having hugepage is not mandatory. +cat /proc/meminfo +sudo sh -c 'echo 1024 > /proc/sys/vm/nr_hugepages' || true +cat /proc/meminfo