blob: f7987ef4084cec6a6d4b47c2cc7f6e6c16053461 [file] [log] [blame]
# -*-perl-*-
$description = "The following test creates a makefile to verify
the ability of make to strip white space from lists of object.\n";
$details = "The make file is built with a list of objects that contain white space
These are then run through the strip command to remove it. This is then
verified by echoing the result.\n";
# Zippy the Pinhead quotes...
run_make_test(q!TEST1 := "Is this TERMINAL fun? What makes you believe is this terminal fun? JAPAN is a WONDERFUL planet -- I wonder if we will ever reach their level of COMPARATIVE SHOPPING..."
E :=
TEST2 := $E try this and#TAB##TAB#this #TAB#$E
define TEST3
and these#TAB# test out
some
blank lines
endef
.PHONY: all
all:
#TAB#@echo '$(strip $(TEST1) )'
#TAB#@echo '$(strip $(TEST2) )'
#TAB#@echo '$(strip $(TEST3) )'
!,
"", "\"Is this TERMINAL fun? What makes you believe is this terminal fun? JAPAN is a WONDERFUL planet -- I wonder if we will ever reach their level of COMPARATIVE SHOPPING...\"
try this and this
and these test out some blank lines
");
run_make_test(q!
space: ; @echo '$(strip ) $(strip #TAB# )'
!,
"", " \n");
1;