forked from Mirrors/flatpak-builder
build: Add missing mkdir to glib-tap.mk
This fixes build with builddir ≠ srcdir and a non-existent builddir: the $(builddir)/tests/ directory was not being created by the time the .test files were being written. This will be submitted upstream to glib-tap.mk in GLib. Signed-off-by: Philip Withnall <withnall@endlessm.com> Closes: #68 Approved by: alexlarssontingping/wmclass
parent
6607fd1971
commit
1b16d7cd95
|
@ -118,7 +118,8 @@ installed_testcases = $(test_programs) $(installed_test_programs) \
|
|||
installed_test_meta_DATA = $(installed_testcases:=.test)
|
||||
|
||||
%.test: %$(EXEEXT) Makefile
|
||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||
$(AM_V_GEN) (mkdir -p $(@D); \
|
||||
echo '[Test]' > $@.tmp; \
|
||||
echo 'Type=session' >> $@.tmp; \
|
||||
echo 'Exec=env G_TEST_SRCDIR=$(installed_testdir) G_TEST_BUILDDIR=$(installed_testdir) $(installed_testdir)/$(notdir $<) --tap' >> $@.tmp; \
|
||||
echo 'Output=TAP' >> $@.tmp; \
|
||||
|
|
Loading…
Reference in New Issue