tests: fix gathering of test src files

- Use hard links instead of soft links so
  that python module import works correctly
  for relocated test/vpp_*.py modules.

Type: fix

Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: If9c031bf0918344dedd4dee5f9336e869590b0ae
This commit is contained in:
Dave Wallace
2020-12-21 15:15:16 -05:00
committed by Paul Vinciguerra
parent 630ca994e0
commit 8dbcacf642

View File

@@ -219,7 +219,7 @@ ext-test-apps:
$(BUILD_TEST_SRC): verify-env
@mkdir -p $@
@for file in $(VPP_TEST_SRC); do if [ ! -e $(BUILD_TEST_SRC)/$$(basename $$file) ] ; then ln -s $$file $(BUILD_TEST_SRC) ; fi ; done
@for file in $(VPP_TEST_SRC); do if [ ! -L $$file ] && [ ! -e $(BUILD_TEST_SRC)/$$(basename $$file) ] ; then ln $$file $(BUILD_TEST_SRC) ; fi ; done
$(FAILED_DIR): reset
@mkdir -p $@