summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-11-01 00:12:39 (GMT)
committerAndy Gibbs <andyg1001@hotmail.co.uk>2010-11-01 00:12:39 (GMT)
commit1c9199ee6c611d8ca7038aaa6a9e823e903b5a7d (patch)
treea9806f3492a9f1993ddda9eea66f63d958d24d75 /contrib
parentde889264bb1f03102ad5a7250d609c81a6e3a51d (diff)
contrib: fix gcc test suite on system without echo -e
Fix the use of quotes in contrib/gcc-test-suite/Makefile to solve the problem where board.exp is incorrectly generated on some build systems where 'echo -e' is not handled correctly. Signed-off-by: Andy Gibbs <andyg1001@hotmail.co.uk> [Yann E. MORIN: fix space damage, pretty-up the stuff] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gcc-test-suite/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/gcc-test-suite/Makefile b/contrib/gcc-test-suite/Makefile
index d78c178..6eb2099 100644
--- a/contrib/gcc-test-suite/Makefile
+++ b/contrib/gcc-test-suite/Makefile
@@ -45,16 +45,16 @@ $(LOGDIR):
$(LOGDIR)/site.exp: $(TOPDIR)/default.cfg $(LOGDIR)
@{ echo 'lappend boards_dir "$(LOGDIR)"'; \
- echo "set target_alias $(TARGET)"; } > $@
+ echo 'set target_alias $(TARGET)'; } > $@
$(LOGDIR)/board.exp: $(TOPDIR)/default.cfg $(LOGDIR)
- @{ echo -e "load_generic_config \"unix\""; \
- echo -e "process_multilib_options \"\"" ; \
- echo "set_board_info bmk,use_alarm 1" ; \
- echo "set_board_info rsh_prog ssh" ; \
- echo "set_board_info rcp_prog scp" ; \
- echo "set_board_info hostname $(DG_TARGET_HOSTNAME)"; \
- echo "set_board_info username $(DG_TARGET_USERNAME)"; } > $@
+ @{ echo 'load_generic_config "unix"'; \
+ echo 'process_multilib_options ""'; \
+ echo 'set_board_info bmk,use_alarm 1'; \
+ echo 'set_board_info rsh_prog ssh'; \
+ echo 'set_board_info rcp_prog scp'; \
+ echo 'set_board_info hostname $(DG_TARGET_HOSTNAME)'; \
+ echo 'set_board_info username $(DG_TARGET_USERNAME)'; } > $@
# As Martin puts it:
# > The thing is that when you run 50k+ test cases the odds are that at