summaryrefslogtreecommitdiff
path: root/tests/scripts/features/mult_rules
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2023-04-01 15:57:04 -0400
committerPaul Smith <psmith@gnu.org>2023-04-02 10:02:18 -0400
commitc2792d6129fe9b13efba159126430d657f447033 (patch)
treee17008438550ba148ae1fb7fc15426b3aac388e6 /tests/scripts/features/mult_rules
parenta0d1e76d604df5bd006fd5ed6a69963d3c6b4d7a (diff)
downloadmake-git-c2792d6129fe9b13efba159126430d657f447033.tar.gz
Adjust output strings to be aligned
Change error and fatal messages to start with lowercase and not end with a period. Note a few very common messages were left as-is, just in case some other tools parse them. Also modify the test known-good-output to satisfy the messages.
Diffstat (limited to 'tests/scripts/features/mult_rules')
-rw-r--r--tests/scripts/features/mult_rules14
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/scripts/features/mult_rules b/tests/scripts/features/mult_rules
index bddd501c..ca6a1afe 100644
--- a/tests/scripts/features/mult_rules
+++ b/tests/scripts/features/mult_rules
@@ -1,3 +1,5 @@
+# -*-perl-*-
+
$description = "\
The following test creates a makefile to test the presence
of multiple rules for one target. One file can be the
@@ -21,8 +23,8 @@ print MAKEFILE <<EOF;
objects = foo.o bar.o
foo.o : defs.h
bar.o : defs.h test.h
-extradeps =
-\$(objects) : config.h \$(extradeps)
+extradeps =
+\$(objects) : config.h \$(extradeps)
\t\@echo EXTRA EXTRA
EOF
@@ -36,7 +38,7 @@ if ($vos)
{
$error_code = 3307;
}
-else
+else
{
$error_code = 512;
}
@@ -78,9 +80,9 @@ all: hello.c; $(info $@ from $^)
hello.c: ; $(info 1 $@)
src/hello.c: ; $(info 2 $@)
!, '',
- "#MAKEFILE#:4: Recipe was specified for file 'hello.c' at #MAKEFILE#:4,
-#MAKEFILE#:4: but 'hello.c' is now considered the same file as 'src/hello.c'.
-#MAKEFILE#:4: Recipe for 'hello.c' will be ignored in favor of the one for 'src/hello.c'.
+ "#MAKEFILE#:4: recipe was specified for file 'hello.c' at #MAKEFILE#:4,
+#MAKEFILE#:4: but 'hello.c' is now considered the same file as 'src/hello.c'
+#MAKEFILE#:4: recipe for 'hello.c' will be ignored in favor of the one for 'src/hello.c'
2 src/hello.c
all from src/hello.c
#MAKE#: 'all' is up to date.\n");