mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-23 02:05:01 +03:00
Merge pull request #1971 from akiernan/us-tests-dir
build: create tests directory for split builds
This commit is contained in:
commit
eb05ace3ed
@ -116,6 +116,7 @@ installed_testcases = $(test_programs) $(installed_test_programs) \
|
|||||||
installed_test_meta_DATA = $(installed_testcases:=.test)
|
installed_test_meta_DATA = $(installed_testcases:=.test)
|
||||||
|
|
||||||
%.test: %$(EXEEXT) Makefile
|
%.test: %$(EXEEXT) Makefile
|
||||||
|
@$(MKDIR_P) $(dir $@)
|
||||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||||
echo 'Type=session' >> $@.tmp; \
|
echo 'Type=session' >> $@.tmp; \
|
||||||
echo 'Exec=env G_TEST_SRCDIR=$(installed_testdir) G_TEST_BUILDDIR=$(installed_testdir) $(installed_testdir)/$(notdir $<)' >> $@.tmp; \
|
echo 'Exec=env G_TEST_SRCDIR=$(installed_testdir) G_TEST_BUILDDIR=$(installed_testdir) $(installed_testdir)/$(notdir $<)' >> $@.tmp; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user