diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2020-12-21 15:15:16 -0500 |
---|---|---|
committer | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2020-12-22 00:04:14 +0000 |
commit | 8dbcacf642ef7aad21b3d422f94da734677eef81 (patch) | |
tree | a60e1d949103ffd6f1308edc44c1f0c490fe6cb7 /test | |
parent | 630ca994e0ff210a3de80d73bb395c931d2fd83f (diff) |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile index aa229e93970..9bc42752f39 100644 --- a/test/Makefile +++ b/test/Makefile @@ -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 $@ |