Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] quilt: Export missing QUILT_PC variable in ptest Makefile
@ 2019-08-21 20:01 Trevor Gamblin
  2019-08-21 20:01 ` [PATCH 2/2] quilt: added less to RDEPENDS list Trevor Gamblin
  2019-08-22  2:59 ` [PATCH 1/2] quilt: Export missing QUILT_PC variable in ptest Makefile Randy MacLeod
  0 siblings, 2 replies; 5+ messages in thread
From: Trevor Gamblin @ 2019-08-21 20:01 UTC (permalink / raw)
  To: openembedded-core

From: Trevor Gamblin <trevor.gamblin@windriver.com>

The quilt ptest uses a custom Makefile to implement the
"make check" rule, but the ptest Makefile does not export
the value QUILT_PC, which is user-settable and normally
defaults to ".pc". This causes failures e.g. import.test
with "rm -rf patches/ %{QUILT_PC}/", evaluating to
"rm -rf patches/ /" if the variable is not set by the
Makefile.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
---
 meta/recipes-devtools/quilt/quilt/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/quilt/quilt/Makefile b/meta/recipes-devtools/quilt/quilt/Makefile
index 7b3ac8a..1f6cd24 100644
--- a/meta/recipes-devtools/quilt/quilt/Makefile
+++ b/meta/recipes-devtools/quilt/quilt/Makefile
@@ -2,7 +2,8 @@ PATH :=         $(CURDIR)/bin:$(CURDIR)/compat:$(PATH)
 QUILT_DIR :=    $(CURDIR)/quilt
 QUILTRC :=      $(CURDIR)/test/test.quiltrc
 export QUILT_DIR QUILTRC
-CHECK_ENV := P=patches/; _P=../patches/; export P _P
+CHECK_ENV := P=patches/; _P=../patches/; export P _P;
+CHECK_ENV += QUILT_PC=.pc; export QUILT_PC
 -include test/.depend
 
 check-% : test/%.test
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-08-22  3:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-21 20:01 [PATCH 1/2] quilt: Export missing QUILT_PC variable in ptest Makefile Trevor Gamblin
2019-08-21 20:01 ` [PATCH 2/2] quilt: added less to RDEPENDS list Trevor Gamblin
2019-08-22  2:43   ` Randy MacLeod
2019-08-22  3:35     ` Andre McCurdy
2019-08-22  2:59 ` [PATCH 1/2] quilt: Export missing QUILT_PC variable in ptest Makefile Randy MacLeod

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox