diff options
author | Klement Sekera <ksekera@cisco.com> | 2018-01-24 13:41:50 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2018-01-25 03:30:17 +0000 |
commit | da38715fa9ffaa3f8952738606161066ed2e6a4c (patch) | |
tree | 42d938b6d9dbab5f1ba8cbaaa18ae2f406bdd617 /test/Makefile | |
parent | 39d91fe248c13699cf58652a1ae40b3a267a049a (diff) |
make test: verify that /dev/shm is big enough
Verify that /dev/shm size is >= 512M, which should be enough for `make
test' needs. If the verification fails, try to enlarge it automatically.
This helps avoid docker vpp/make test crashes (seen as SIGBUS).
Change-Id: I4e23d59ff8bf8befc320fa229fb6c9bfeb809a8f
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile index 4f090a15066..f3b7f5c6d51 100644 --- a/test/Makefile +++ b/test/Makefile @@ -102,6 +102,7 @@ SANITY_RUN_VPP_CMD=source $(PYTHON_VENV_PATH)/bin/activate && python sanity_run_ endif sanity: verify-no-running-vpp + @sys_req/dev_shm_size.sh @bash -c "$(SANITY_IMPORT_VPP_PAPI_CMD) ||\ (echo \"*******************************************************************\" &&\ echo \"* Sanity check failed, cannot import vpp_papi\" &&\ |