29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
|
From 1859d1811d6331eda8c9684fac47b12ca2e796ae Mon Sep 17 00:00:00 2001
|
||
|
From: Lubomir Rintel <lkundrak@v3.sk>
|
||
|
Date: Thu, 3 Nov 2022 13:53:34 +0100
|
||
|
Subject: [PATCH 56/63] Propagate TEST_PATHS to test_container targets
|
||
|
|
||
|
Allows for quick containerized runs of specific checks.
|
||
|
---
|
||
|
Makefile | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/Makefile b/Makefile
|
||
|
index 066a5fd2..d2201fcf 100644
|
||
|
--- a/Makefile
|
||
|
+++ b/Makefile
|
||
|
@@ -383,8 +383,8 @@ _test_container_ipu:
|
||
|
echo "Only supported TEST_CONT_IPUs are el7toel8, el8toel9"; exit 1; \
|
||
|
;; \
|
||
|
esac && \
|
||
|
- $(_CONTAINER_TOOL) exec -w /repocopy $$_CONT_NAME make clean && \
|
||
|
- $(_CONTAINER_TOOL) exec -w /repocopy -e REPOSITORIES $$_CONT_NAME make $${_TEST_CONT_TARGET:-test}
|
||
|
+ $(_CONTAINER_TOOL) exec -w /repocopy $$_CONT_NAME $(MAKE) clean && \
|
||
|
+ $(_CONTAINER_TOOL) exec -w /repocopy -e REPOSITORIES $$_CONT_NAME $(MAKE) $${_TEST_CONT_TARGET:-test} TEST_PATHS="$(TEST_PATHS)"
|
||
|
|
||
|
# Runs tests in a container
|
||
|
# Builds testing image first if it doesn't exist
|
||
|
--
|
||
|
2.39.0
|
||
|
|