From 1c9199ee6c611d8ca7038aaa6a9e823e903b5a7d Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 1 Nov 2010 01:12:39 +0100 Subject: 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 [Yann E. MORIN: fix space damage, pretty-up the stuff] Signed-off-by: "Yann E. MORIN" 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 -- cgit v0.10.2-6-g49f6