Skip to contentSkip to conversation

tests: remove .SECONDARY special target

PATCH In review Paolo Bonzini 2 participants 2 messages Mar 31, 2012 – Apr 2, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests: remove .SECONDARY special target

The special target should not be needed anymore, and caused (perhaps due to a Make bug) a failure with "make -j2". In any case, the main makefile is a better place for such special targets rather than an included makefile.

---
Anthony, this was taken from your patches, do you remember why it's needed? I changed the rules to use the GNU Make "LIST: TARGET-PATTERN: SOURCE-PATTERN" syntax so there should be no implicit rules anymore and .SECONDARY should not be needed.

 tests/Makefile |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
tests/Makefile +0 -2
index 17f6ece..25a972a 100644
@@ -74,8 +74,6 @@ check-help:
 	@echo "Default options are -k and (for make V=1) --verbose; they can be"
 	@echo "changed with variable GTESTER_OPTIONS."
 
-.SECONDARY:
-
 SPEED = quick
 GTESTER_OPTIONS = -k $(if $(V),--verbose,-q)
 
Signature · 1 line
1.7.9.1
Tested-by on v1 1/1
#1 lore raw
Quoted 7 lines · On Sat, 31 Mar 2012 12:50:21 +0200 Paolo Bonzini <[email protected]> wrote:

The special target should not be needed anymore, and caused (perhaps due to a Make bug) a failure with "make -j2". In any case, the main makefile is a better place for such special targets rather than an included makefile.

Nice to see it building again.

Quoted 23 lines

---
Anthony, this was taken from your patches, do you remember why it's needed? I changed the rules to use the GNU Make "LIST: TARGET-PATTERN: SOURCE-PATTERN" syntax so there should be no implicit rules anymore and .SECONDARY should not be needed.

 tests/Makefile |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
tests/Makefile +0 -2
index 17f6ece..25a972a 100644
@@ -74,8 +74,6 @@ check-help:
 	@echo "Default options are -k and (for make V=1) --verbose; they can be"
 	@echo "changed with variable GTESTER_OPTIONS."
 
-.SECONDARY:
-
 SPEED = quick
 GTESTER_OPTIONS = -k $(if $(V),--verbose,-q)