make/tests/scripts
Dmitry Goncharov a9e3eb1eec [SV 65739] Add warning circular-dep.
Add a warning to control circular dependency detection.  Use "warn" as
the default action to be backward-compatible.

* src/warning.h (enum warning_type): Add warning type wt_circular_dep.
* src/warning.c (warn_init): Set default wt_circular_dep to w_warn.
* src/remake.c (update_file_1): Consult the circular-dep warning to
handle circular dependencies.
* tests/scripts/options/warn: Test --warn circular-dep flag.
* tests/scripts/variables/WARNINGS: Test .WARNINGS circular-dep flag.
* doc/make.texi: Document circular-dep warning.
* doc/make.1: Ditto.
2024-08-04 15:21:59 -04:00
..
features [SV 65324] disable_builtins: Don't dereference NULL suffix_file 2024-05-06 14:11:17 -04:00
functions * tests/scripts/functions/shell: [SV 65323] Run huge var test in bash 2024-05-06 14:11:17 -04:00
misc tests: Run each file in a separate directory 2023-04-02 17:32:09 -04:00
options [SV 65739] Add warning circular-dep. 2024-08-04 15:21:59 -04:00
targets [SV 64085] Handle .POSIX plus .IGNORE correctly 2024-02-04 19:41:50 -05:00
variables [SV 65739] Add warning circular-dep. 2024-08-04 15:21:59 -04:00
vms Convert references from "GNU make" to "GNU Make" 2023-01-01 17:05:12 -05:00
test_template Update the test template. A few fixes in run_make_test(). 2004-09-22 04:36:17 +00:00