mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
build: Use the power of abs_builddir
When calling test-conformance to get the list of conformance tests.
This commit is contained in:
parent
5529619254
commit
8ca47e3b20
@ -91,7 +91,7 @@ wrappers: stamp-test-conformance
|
||||
@true
|
||||
stamp-test-conformance: Makefile test-conformance$(EXEEXT)
|
||||
@mkdir -p wrappers
|
||||
@( ./test-conformance$(EXEEXT) -l -m thorough | $(GREP) '^/' ) > unit-tests
|
||||
@( $(abs_builddir)/test-conformance$(EXEEXT) -l -m thorough | $(GREP) '^/' ) > unit-tests
|
||||
@chmod +x test-launcher.sh
|
||||
@( echo "/stamp-test-conformance" ; \
|
||||
echo "/test-conformance" ; \
|
||||
@ -106,7 +106,7 @@ stamp-test-conformance: Makefile test-conformance$(EXEEXT)
|
||||
unit=`basename $$i | sed -e s/_/-/g`; \
|
||||
echo " GEN $$unit"; \
|
||||
( echo "#!/bin/sh" ; echo "$(abs_builddir)/test-launcher.sh '$$i' \"\$$@\"" ) > $$unit$(EXEEXT) ; \
|
||||
( echo "#!/bin/sh" ; echo "exec ./test-conformance$(EXEEXT) -p $$i \"\$$@\"" ) > wrappers/$$unit$(EXEEXT) ; \
|
||||
( echo "#!/bin/sh" ; echo "exec $(abs_builddir)/test-conformance$(EXEEXT) -p $$i \"\$$@\"" ) > wrappers/$$unit$(EXEEXT) ; \
|
||||
chmod +x $$unit$(EXEEXT); \
|
||||
chmod +x wrappers/$$unit$(EXEEXT); \
|
||||
echo "/$$unit$(EXEEXT)" >> .gitignore; \
|
||||
|
Loading…
Reference in New Issue
Block a user