mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 21:34:09 +00:00
[build] Do not rebuild the conformance tests scripts
Make the build output a little bit cleaner by not re-creating the small shell scripts that allow launching the test units separately.
This commit is contained in:
parent
d8aa6827ee
commit
724e58a85a
1
.gitignore
vendored
1
.gitignore
vendored
@ -128,6 +128,7 @@ stamp-h1
|
|||||||
/tests/interactive/redhand_alpha.png
|
/tests/interactive/redhand_alpha.png
|
||||||
/tests/interactive/test-script.json
|
/tests/interactive/test-script.json
|
||||||
/tests/interactive/test-clutter-cairo-flowers
|
/tests/interactive/test-clutter-cairo-flowers
|
||||||
|
/tests/conform/stamp-test-conformance
|
||||||
/tests/conform/test-anchors
|
/tests/conform/test-anchors
|
||||||
/tests/conform/test-conformance
|
/tests/conform/test-conformance
|
||||||
/tests/conform/test-conformance-results.xml
|
/tests/conform/test-conformance-results.xml
|
||||||
|
@ -35,14 +35,17 @@ test_conformance_SOURCES = \
|
|||||||
|
|
||||||
UNIT_TESTS = `./test-conformance -l -m thorough | $(GREP) '^/'`
|
UNIT_TESTS = `./test-conformance -l -m thorough | $(GREP) '^/'`
|
||||||
|
|
||||||
wrappers: test-conformance$(EXEEXT)
|
wrappers: stamp-test-conformance
|
||||||
|
@true
|
||||||
|
stamp-test-conformance: test-conformance$(EXEEXT)
|
||||||
@for i in $(UNIT_TESTS); \
|
@for i in $(UNIT_TESTS); \
|
||||||
do \
|
do \
|
||||||
unit=`basename $$i | sed -e s/_/-/g`; \
|
unit=`basename $$i | sed -e s/_/-/g`; \
|
||||||
echo " GEN $$unit"; \
|
echo " GEN $$unit"; \
|
||||||
( echo "#!/bin/sh" ; echo "$(top_srcdir)/tests/conform/test-launcher.sh '$$i'" ) > $$unit$(EXEEXT) ; \
|
( echo "#!/bin/sh" ; echo "$(top_srcdir)/tests/conform/test-launcher.sh '$$i'" ) > $$unit$(EXEEXT) ; \
|
||||||
chmod +x $$unit$(EXEEXT); \
|
chmod +x $$unit$(EXEEXT); \
|
||||||
done
|
done \
|
||||||
|
&& echo timestamp > $(@F)
|
||||||
|
|
||||||
clean-wrappers:
|
clean-wrappers:
|
||||||
@for i in $(UNIT_TESTS); \
|
@for i in $(UNIT_TESTS); \
|
||||||
@ -50,7 +53,8 @@ clean-wrappers:
|
|||||||
unit=`basename $$i | sed -e s/_/-/g`; \
|
unit=`basename $$i | sed -e s/_/-/g`; \
|
||||||
echo "RM $$unit"; \
|
echo "RM $$unit"; \
|
||||||
rm -f $$unit$(EXEEXT) ; \
|
rm -f $$unit$(EXEEXT) ; \
|
||||||
done
|
done \
|
||||||
|
&& rm -f stamp-test-conformance
|
||||||
|
|
||||||
# NB: BUILT_SOURCES here a misnomer. We aren't building source, just inserting
|
# NB: BUILT_SOURCES here a misnomer. We aren't building source, just inserting
|
||||||
# a phony rule that will generate symlink scripts for running individual tests
|
# a phony rule that will generate symlink scripts for running individual tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user