[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[automake-commit] branch master updated: test: unset PERL5OPT for parall
From: |
Karl Berry |
Subject: |
[automake-commit] branch master updated: test: unset PERL5OPT for parallel-tests-log-compiler-example.sh. |
Date: |
Thu, 06 Feb 2025 18:38:11 -0500 |
This is an automated email from the git hooks/post-receive script.
karl pushed a commit to branch master
in repository automake.
View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=06760b3be4a18a6b1530c4b28f23c0a21b2f1035
The following commit(s) were added to refs/heads/master by this push:
new 06760b3be test: unset PERL5OPT for
parallel-tests-log-compiler-example.sh.
06760b3be is described below
commit 06760b3be4a18a6b1530c4b28f23c0a21b2f1035
Author: Karl Berry <karl@freefriends.org>
AuthorDate: Thu Feb 6 15:37:58 2025 -0800
test: unset PERL5OPT for parallel-tests-log-compiler-example.sh.
* t/parallel-tests-log-compiler-example.sh: unset PERL5OPT
since the test expects a warning.
---
t/parallel-tests-log-compiler-example.sh | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/t/parallel-tests-log-compiler-example.sh
b/t/parallel-tests-log-compiler-example.sh
index fa8f97fcb..1307ad51a 100644
--- a/t/parallel-tests-log-compiler-example.sh
+++ b/t/parallel-tests-log-compiler-example.sh
@@ -38,9 +38,10 @@ AM_LOG_FLAGS = -d
END
# intentionally reversed += operator to provoke warning; thus,
-# explicitly use warnings so that PERL5OPT=-Mwarnings=FATAL,all
-# in the environment won't be a fatal error. See ../HACKING.
-echo 'use warnings; my $a =+ 2; exit (0);' > foo.pl
+# explicitly unset PERL5OPT so that PERL5OPT=-Mwarnings=FATAL,all
+# in the environment won't cause a fatal error. See ../HACKING.
+unset PERL5OPT
+echo 'my $a =+ 2; exit (0);' > foo.pl
echo 'import sys; sys.exit(0);' > bar.py
: > baz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [automake-commit] branch master updated: test: unset PERL5OPT for parallel-tests-log-compiler-example.sh.,
Karl Berry <=