Fix PR testsuite/45974 by reverting r165323 for now.

gcc/:
	PR testsuite/45974
	Revert:
	* Makefile.in ($(lang_checks_parallel))
	($(lang_checks_parallelized)): Use single quotes for
	$(RUNTESTFLAGS), to allow passing quoted content.

From-SVN: r165350
This commit is contained in:
Ralf Wildenhues 2010-10-12 05:03:52 +00:00 committed by Ralf Wildenhues
parent debfbfeefc
commit 8207e1fb1b
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2010-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
PR testsuite/45974
Revert:
* Makefile.in ($(lang_checks_parallel))
($(lang_checks_parallelized)): Use single quotes for
$(RUNTESTFLAGS), to allow passing quoted content.
2010-10-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 2010-10-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* config/pa/linux-atomic.c (__sync_val_compare_and_swap_4): Return * config/pa/linux-atomic.c (__sync_val_compare_and_swap_4): Return

View File

@ -4890,7 +4890,7 @@ $(lang_checks_parallel): site.exp
variant=`echo "$@" | sed 's,^[^/]*//,,'`; \ variant=`echo "$@" | sed 's,^[^/]*//,,'`; \
vardots=`echo "$$variant" | sed 's,/,.,g'`; \ vardots=`echo "$$variant" | sed 's,/,.,g'`; \
$(MAKE) TESTSUITEDIR="testsuite.$$vardots" \ $(MAKE) TESTSUITEDIR="testsuite.$$vardots" \
RUNTESTFLAGS="--target_board=$$variant "'$(RUNTESTFLAGS)' \ RUNTESTFLAGS="--target_board=$$variant $(RUNTESTFLAGS)" \
"$$target" "$$target"
TESTSUITEDIR = testsuite TESTSUITEDIR = testsuite
@ -4949,9 +4949,9 @@ check_p_subdirs=$(wordlist 1,$(words $(check_$*_parallelize)),$(check_p_numbers)
# to lang_checks_parallelized variable and define check_$lang_parallelize # to lang_checks_parallelized variable and define check_$lang_parallelize
# variable (see above check_gcc_parallelize description). # variable (see above check_gcc_parallelize description).
$(lang_checks_parallelized): check-% : site.exp $(lang_checks_parallelized): check-% : site.exp
@if [ -z '$(filter-out --target_board=%, $(RUNTESTFLAGS))' ] \ @if [ -z "$(filter-out --target_board=%, $(RUNTESTFLAGS))" ] \
&& [ "$(filter -j, $(MFLAGS))" = "-j" ]; then \ && [ "$(filter -j, $(MFLAGS))" = "-j" ]; then \
$(MAKE) TESTSUITEDIR="$(TESTSUITEDIR)" RUNTESTFLAGS='$(RUNTESTFLAGS)' \ $(MAKE) TESTSUITEDIR="$(TESTSUITEDIR)" RUNTESTFLAGS="$(RUNTESTFLAGS)" \
check-parallel-$* \ check-parallel-$* \
$(patsubst %,check-parallel-$*_%, $(check_p_subdirs)); \ $(patsubst %,check-parallel-$*_%, $(check_p_subdirs)); \
for file in $(TESTSUITEDIR)/$*/$* \ for file in $(TESTSUITEDIR)/$*/$* \
@ -4968,7 +4968,7 @@ $(lang_checks_parallelized): check-% : site.exp
$(patsubst %,$(TESTSUITEDIR)/$*%/$*.log.sep,$(check_p_subdirs)) \ $(patsubst %,$(TESTSUITEDIR)/$*%/$*.log.sep,$(check_p_subdirs)) \
> $(TESTSUITEDIR)/$*/$*.log; \ > $(TESTSUITEDIR)/$*/$*.log; \
else \ else \
$(MAKE) TESTSUITEDIR="$(TESTSUITEDIR)" RUNTESTFLAGS='$(RUNTESTFLAGS)' \ $(MAKE) TESTSUITEDIR="$(TESTSUITEDIR)" RUNTESTFLAGS="$(RUNTESTFLAGS)" \
check_$*_parallelize= check-parallel-$*; \ check_$*_parallelize= check-parallel-$*; \
fi fi