summaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2020-12-21 15:15:16 -0500
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2020-12-22 00:04:14 +0000
commit8dbcacf642ef7aad21b3d422f94da734677eef81 (patch)
treea60e1d949103ffd6f1308edc44c1f0c490fe6cb7 /test/Makefile
parent630ca994e0ff210a3de80d73bb395c931d2fd83f (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/Makefile')
-rw-r--r--test/Makefile2
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 $@