tests: remove shm handling
[vpp.git] / test / Makefile
index 9bc4275..5fe86d9 100644 (file)
@@ -193,7 +193,6 @@ PARALLEL_ILLEGAL=1
 endif
 
 sanity: test-dep verify-no-running-vpp
-       @sys_req/dev_shm_size.sh
        @bash -c "test $(PARALLEL_ILLEGAL) -eq 0 ||\
            (echo \"*******************************************************************\" &&\
                 echo \"* Sanity check failed, TEST_JOBS is not 1 or 'auto' and DEBUG, STEP or PROFILE is set\" &&\
@@ -219,7 +218,7 @@ ext-test-apps:
 
 $(BUILD_TEST_SRC): verify-env
        @mkdir -p $@
-       @for file in $(VPP_TEST_SRC); do if [ ! -L $$file ] && [ ! -e $(BUILD_TEST_SRC)/$$(basename $$file) ] ; then ln $$file $(BUILD_TEST_SRC) ; fi ; done
+       @for file in $(VPP_TEST_SRC); do if [ ! -L $$file ] && [ ! -e $(BUILD_TEST_SRC)/$$(basename $$file) ] ; then ln -s $$file $(BUILD_TEST_SRC) ; fi ; done
 
 $(FAILED_DIR): reset
        @mkdir -p $@
@@ -258,7 +257,6 @@ shell: test-dep
 
 .PHONY: reset
 reset:
-       @rm -f /dev/shm/vpp-unittest-*
        @rm -rf /tmp/vpp-unittest-*
        @rm -f /tmp/api_post_mortem.*
        @rm -rf $(FAILED_DIR)
@@ -267,7 +265,8 @@ reset:
 wipe: reset
        @make -C ext clean
        @rm -rf $(VENV_PATH)
-       @rm -rf $(patsubst %,%/__pycache__, $(VPP_TEST_DIRS) $(BUILD_TEST_SRC))
+       @rm -rf $(patsubst %,%/__pycache__, $(VPP_TEST_DIRS))
+       @rm -rf  $(BUILD_TEST_SRC)
 
 $(TEST_DOC_BR): $(PIP_INSTALL_DONE)
        @mkdir -p $@
@@ -400,8 +399,6 @@ help:
        @echo ""
        @echo " SKIP_AARCH64=1         - skip tests that are failing on the ARM platorm in FD.io CI"
        @echo ""
-       @echo " SOCKET=1               - Communicate with VPP over Unix domain socket instead of SHM"
-       @echo ""
        @echo " RND_SEED=seed          - Seed RND with given seed"
        @echo ""
        @echo "Creating test documentation"