]> git.draconx.ca Git - dxcommon.git/commitdiff
Unset enable_silent_rules in testsuite.
authorNick Bowler <nbowler@draconx.ca>
Sun, 12 May 2024 18:16:40 +0000 (14:16 -0400)
committerNick Bowler <nbowler@draconx.ca>
Sun, 12 May 2024 18:18:40 +0000 (14:18 -0400)
The Automake silent-rules feature allows the user to specify the default
silent-rules behaviour at configure time via an environment variable.

This changes the output of make rules, leading to failed tests if the
testsuite is run with this set in the user's environment.

testsuite.at

index 5ca87bfd9a63362f5ea0ff794e38c0a841cdbd57..66b7869f8f3f18d00607087d97f50e2b49952b83 100644 (file)
@@ -1,7 +1,6 @@
-AT_COPYRIGHT([dnl
-Copyright © 2015, 2019-2023 Nick Bowler
-License WTFPL2: Do What The Fuck You Want To Public License, version 2.
-This is free software: you are free to do what the fuck you want to.
+AT_COPYRIGHT([Copyright (C) 2015, 2019-2024 Nick Bowler
+License GPLv3+: GNU General Public License version 3 or any later version.
+This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.])
 
 m4_include([snippet/at-compat.at])
@@ -12,6 +11,10 @@ AT_INIT
 AT_COLOR_TESTS
 
 m4_divert_push([PREPARE_TESTS])dnl
+# Avoid inheriting the user's preference for Automake silent rules from the
+# environment, as this changes make output leading to failed tests.
+AS_UNSET([enable_silent_rules])
+
 # Reduce influence from the toplevel "make" invocation on test cases.
 AS_UNSET([MAKEFLAGS])
 AS_UNSET([MAKELEVEL])