CVS commit: src/usr.bin/make/unit-tests

2021-08-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Aug 3 04:46:49 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-order-numeric.mk varmod-order-reverse.mk varmod-order-shuffle.mk varmod-order-string.mk varmod-order.exp varmod-order.mk Log

CVS commit: src/usr.bin/make/unit-tests

2021-07-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jul 29 06:31:18 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: cond-cmp-numeric.exp cond-cmp-numeric.mk Log Message: tests/make: test spaces around numbers in comparisons Just to see whether it is possible to write a c

CVS commit: src/usr.bin/make/unit-tests

2021-07-03 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Jul 4 01:28:54 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: objdir-writable.exp objdir-writable.mk Log Message: Do not assume /tmp is safe to use if TMPDIR is set To generate a diff of this commit: cvs rdiff -u -r1.2

CVS commit: src/usr.bin/make/unit-tests

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 22:39:40 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: job-output-null.exp job-output-null.mk Log Message: tests/make: make test job-output-null more portable Previously, the test dependend on implementation de

CVS commit: src/usr.bin/make/unit-tests

2021-06-28 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 29 00:35:23 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Allow BROKEN_TESTS to cause TESTS to be skipped. Some tests simply do not work in some environments. Eg. shell-ksh on macos/arm64 Allow

CVS commit: src/usr.bin/make/unit-tests

2021-06-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 25 15:56:02 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-for-escape.exp directive-for-escape.mk Log Message: tests/make: demonstrate newline injection in .for loop To generate a diff of thi

CVS commit: src/usr.bin/make/unit-tests

2021-06-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jun 24 23:22:17 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-for-escape.exp directive-for-escape.mk Log Message: tests/make: test .for loop over a variable named '$' It's an impractical edge cas

CVS commit: src/usr.bin/make/unit-tests

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 08:28:37 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk Log Message: tests/make: remove unnecessary -dL from moderrs.mk It was only needed for the test for unmatched subexpressions in the

CVS commit: src/usr.bin/make/unit-tests

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 08:17:39 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk varmod-subst-regex.exp varmod-subst-regex.mk Log Message: tests/make: move and extend test for unmatched '\1' in ':C' Th

CVS commit: src/usr.bin/make/unit-tests

2021-06-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jun 17 15:25:34 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: deptgt-order.exp deptgt-order.mk Log Message: tests/make: add test for circular dependency in .ORDER To generate a diff of this commit: cvs rdiff -u -r1.1

CVS commit: src/usr.bin/make/unit-tests

2021-06-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 11 13:01:28 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-ifelse.exp varmod-ifelse.mk Log Message: tests/make: demonstrate handling of '+' and '*' in modifier ':?' It doesn't make sense that these two chara

CVS commit: src/usr.bin/make/unit-tests

2021-05-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 30 20:26:42 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-unique.mk Log Message: tests/make: test whitespace normalization for modifier ':u' To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/

CVS commit: src/usr.bin/make/unit-tests

2021-05-18 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue May 18 17:05:45 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: Makefile opt-chdir.mk Log Message: Do not trust that /nonexistent does not exist Use /nonexistent.${.MAKE.PID} to avoid failure when /nonexistent actually exi

CVS commit: src/usr.bin/make/unit-tests

2021-05-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 14 19:37:16 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-subst.mk Log Message: tests/make: show that in ':S', '.' and '*' are ordinary characters To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.

CVS commit: src/usr.bin/make/unit-tests

2021-04-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 25 21:05:38 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: cond-token-var.mk Log Message: tests/make: add tests for ${...} without operator in conditions These tests are already covered in cond-cmp-unary.mk, but my

CVS commit: src/usr.bin/make/unit-tests

2021-04-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 19 23:43:15 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-ifelse.exp varmod-ifelse.mk Log Message: tests/make: add another example for parsing of the modifier ':?' To generate a diff of this commit: cvs rd

CVS commit: src/usr.bin/make/unit-tests

2021-04-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 19 23:27:17 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-ifelse.exp varmod-ifelse.mk Log Message: tests/make: add detailed explanation for error message in conditional To generate a diff of this commit: c

CVS commit: src/usr.bin/make/unit-tests

2021-04-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 19 22:05:29 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-ifelse.exp varmod-ifelse.mk Log Message: tests/make: demonstrate unexpected behavior of the modifier ':?' To generate a diff of this commit: cvs rd

CVS commit: src/usr.bin/make/unit-tests

2021-04-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 12 16:09:57 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-sysv.exp varmod-sysv.mk Log Message: tests/make: fix test for modifier ':from=to' I had forgotten to remove the single quotes, to produce a really e

CVS commit: src/usr.bin/make/unit-tests

2021-04-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 12 16:04:31 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-sysv.exp varmod-sysv.mk Log Message: tests/make: add table test for the modifier ':from=to' Just to prevent any accidental change in the upcoming re

CVS commit: src/usr.bin/make/unit-tests

2021-04-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Apr 9 14:42:00 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: archive.mk Log Message: Don't use a shell pattern to copy files, copy them explicitly. When running as non-root, [at]*.mk matches archive.mk which we alre

CVS commit: src/usr.bin/make/unit-tests

2021-04-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 4 21:59:46 UTC 2021 Removed Files: src/usr.bin/make/unit-tests: varmod-loop-varname.out varmod-loop-varname.rawout varmod-loop-varname.status Log Message: tests/make: remove accidentally added intermediate fil

CVS commit: src/usr.bin/make/unit-tests

2021-03-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Mar 15 18:46:05 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-assign.exp varmod-assign.mk Log Message: tests/make: demonstrate that the modifier '::=' expands the varname To generate a diff of this commit: cvs

CVS commit: src/usr.bin/make/unit-tests

2021-03-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Mar 15 17:54:50 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-loop.exp varmod-loop.mk Log Message: tests/make: convert varmod-loop to parse-time In case of unexpected failures, this provides the line number of

CVS commit: src/usr.bin/make/unit-tests

2021-03-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Mar 15 17:11:08 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-loop.exp varmod-loop.mk Log Message: tests/make: add position marker in test 'varmod-loop' To generate a diff of this commit: cvs rdiff -u -r1.6 -r

CVS commit: src/usr.bin/make/unit-tests

2021-03-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 14 20:41:39 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: var-eval-short.exp var-eval-short.mk Log Message: tests/make: document today's bug fixes in the test To generate a diff of this commit: cvs rdiff -u -r1.6

CVS commit: src/usr.bin/make/unit-tests

2021-03-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 14 19:16:41 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: var-eval-short.exp var-eval-short.mk Log Message: tests/make: add test for the ':?' modifier in parse-only mode The debug output for this scenario will cha

CVS commit: src/usr.bin/make/unit-tests

2021-03-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 14 17:14:16 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-remember.mk Log Message: tests/make: demonstrate unintended edge case for the ':_' modifier To generate a diff of this commit: cvs rdiff -u -r1.4 -

CVS commit: src/usr.bin/make/unit-tests

2021-03-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 14 17:07:11 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-remember.exp varmod-remember.mk Log Message: tests/make: convert test for ':_' modifier to parse time To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/make/unit-tests

2021-03-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 14 16:00:07 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: modword.exp modword.mk Log Message: make: add test for edge case in modifier ':[...]' TryParseIntBase0 wrongly returns successful for a string that does no

CVS commit: src/usr.bin/make/unit-tests

2021-03-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 14 10:45:51 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: Makefile opt-debug-lint.exp opt-debug-lint.mk Log Message: make: demonstrate wrong expression evaluation in -dL mode To generate a diff of thi

CVS commit: src/usr.bin/make/unit-tests

2021-02-23 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 23 21:59:31 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: var-class-cmdline.exp var-class-cmdline.mk Log Message: make: document the history of bugs in "cmdline overrides global" For performance reasons, the imple

CVS commit: src/usr.bin/make/unit-tests

2021-02-23 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 23 16:04:16 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk Log Message: make: add test for confusing error message for bad modifier In the expression ${:U}, the variable name is empty. Since

CVS commit: src/usr.bin/make/unit-tests

2021-02-23 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 23 14:17:21 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: var-class-cmdline.exp var-class-cmdline.mk varmod-loop.exp varmod-loop.mk Log Message: make: demonstrate how to undefine variables during evalua

CVS commit: src/usr.bin/make/unit-tests

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 23:59:43 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-edge.exp varmod-edge.mk Log Message: make: add test for confusing double space in error message To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/usr.bin/make/unit-tests

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 22:04:28 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: var-class-cmdline.exp var-class-cmdline.mk Log Message: make: add test for cmdline variables overriding global variables To generate a diff of this commit

CVS commit: src/usr.bin/make/unit-tests

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 19:43:09 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varcmd.mk Log Message: make: document the bad state in which the test varcmd.mk is To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.bin

CVS commit: src/usr.bin/make/unit-tests

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 19:01:18 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-export.mk Log Message: make: test exporting a variable that itself depends on a subprocess When the point that "isn't going to end well" is reach

CVS commit: src/usr.bin/make/unit-tests

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 18:12:46 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-export.mk Log Message: make: clarify what .export ${:U} means To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-

CVS commit: src/usr.bin/make/unit-tests

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 18:02:19 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-undef.exp directive-undef.mk Log Message: make: demonstrate inconsistency in .undef of an exported variable To generate a diff of this commit: c

CVS commit: src/usr.bin/make/unit-tests

2021-02-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 15 07:58:19 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-for-escape.exp directive-for-escape.mk Log Message: make: improve comments in test for expansions in .for loops To generate a diff o

CVS commit: src/usr.bin/make/unit-tests

2021-02-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 14 17:47:33 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-indirect.mk Log Message: make: add test for indirect ':U' modifier Unlike ':ts' and ':tW', the effects of ':U' are visible even after the modifiers

CVS commit: src/usr.bin/make/unit-tests

2021-02-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 14 17:22:37 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-indirect.mk Log Message: make: document since when indirect modifiers are supported To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src

CVS commit: src/usr.bin/make/unit-tests

2021-02-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 14 16:12:46 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-indirect.exp varmod-indirect.mk Log Message: make: add more tests for edge cases in evaluating variable expressions As a preparation for refactoring

CVS commit: src/usr.bin/make/unit-tests

2021-02-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 14 13:24:45 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: make: fix TMPDIR in unit-tests Combining the assignment operator ':=' with the variable modifier ':U' on the same variable does not w

CVS commit: src/usr.bin/make/unit-tests

2021-02-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 14 12:14:37 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-assign.mk Log Message: make: add test for ::= modifier enclosed in parentheses To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr

CVS commit: src/usr.bin/make/unit-tests

2021-02-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 7 17:17:25 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: var-op-sunsh.mk Log Message: make: fix typo in comment in test To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/var

CVS commit: src/usr.bin/make/unit-tests

2021-02-06 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Feb 6 18:26:03 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: Makefile cmdline.exp cmdline.mk export.exp objdir-writable.exp Log Message: Avoid test failures when more than one user run them. Use a private T

CVS commit: src/usr.bin/make/unit-tests

2021-02-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Feb 6 04:55:08 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: var-op-shell.exp var-op-shell.mk Log Message: Use plain kill to test signaled child Recent update to Darwin18 make the test using kill -14 stop working. Revi

CVS commit: src/usr.bin/make/unit-tests

2021-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 4 00:16:03 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: Makefile varname-empty.exp Log Message: make: remove .PARSEDIR from test output of varname-empty The .PARSEDIR has nothing to do with .CURDIR. This wrong

CVS commit: src/usr.bin/make/unit-tests

2021-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Feb 3 08:34:15 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: Makefile varname-empty.exp varname-empty.mk Log Message: make: in the test varname-empty, keep more debug output Filtering out the interesting

CVS commit: src/usr.bin/make/unit-tests

2021-02-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 2 17:27:35 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: Makefile opt-debug-graph2.exp opt-debug-graph2.mk opt-debug-graph3.exp opt-debug-graph3.mk Log Message: make: demonstrate that neither -dg2 nor

CVS commit: src/usr.bin/make/unit-tests

2021-01-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 30 13:50:18 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: lint.mk Log Message: make(1): update documentation of test lint.mk To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests

CVS commit: src/usr.bin/make/unit-tests

2021-01-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 30 12:14:08 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: opt-touch-jobs.mk Log Message: make(1): explain test opt-touch-jobs To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-test

CVS commit: src/usr.bin/make/unit-tests

2021-01-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jan 26 23:51:20 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-error.exp directive-error.mk Log Message: make(1): demonstrate irrelevant message about warnings as errors To generate a diff of this commit: cv

CVS commit: src/usr.bin/make/unit-tests

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 19:48:11 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-for-escape.exp directive-for-escape.mk Log Message: make(1): describe expansion of nested variables in .for values These edge cases a

CVS commit: src/usr.bin/make/unit-tests

2021-01-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 24 19:30:18 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-for-escape.exp directive-for-escape.mk Log Message: make(1): let the test directive-for-escape exit successfully There is no reason f

CVS commit: src/usr.bin/make/unit-tests

2021-01-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 23 07:34:00 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: make(1): fix unit tests for dash and bash 5.1 To generate a diff of this commit: cvs rdiff -u -r1.261 -r1.262 src/usr.bin/make/unit-

CVS commit: src/usr.bin/make/unit-tests

2021-01-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jan 22 22:54:53 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-assign.mk Log Message: make(1): remove outdated comment from test It was fixed in var.c 1.472 from 2020-08-25. To generate a diff of this commit:

CVS commit: src/usr.bin/make/unit-tests

2021-01-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jan 22 00:44:55 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: include-main.mk Log Message: make(1): fix test for .INCLUDEDFROMFILE The test did not test the intended variable before. If the implementation of the .INC

CVS commit: src/usr.bin/make/unit-tests

2021-01-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jan 21 23:03:41 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-ifdef.exp directive-ifdef.mk Log Message: make(1): add tests for string literals in .ifdef To generate a diff of this commit: cvs rdiff -u -r1.2

CVS commit: src/usr.bin/make/unit-tests

2021-01-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jan 21 13:52:32 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: cond-token-plain.exp cond-token-plain.mk Log Message: make(1): add test case for bare word containing quotes To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/make/unit-tests

2021-01-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jan 21 13:32:17 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: cond-token-plain.exp cond-token-plain.mk Log Message: make(1): add more tests for edge cases in conditionals To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/make/unit-tests

2021-01-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jan 21 00:38:28 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: cond-token-plain.exp cond-token-plain.mk cond-token-string.exp cond-token-string.mk Log Message: make(1): add more tests for tokens in condition

CVS commit: src/usr.bin/make/unit-tests

2021-01-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jan 19 19:54:57 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: cond-cmp-string.exp cond-cmp-string.mk Log Message: make(1): add test for unsupported relational string comparisons To generate a diff of this commit: cvs

CVS commit: src/usr.bin/make/unit-tests

2021-01-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jan 19 18:09:12 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: cond-op.exp cond-op.mk Log Message: make(1): demonstrate missing error handling for malformed conditions To generate a diff of this commit: cvs rdiff -u -

CVS commit: src/usr.bin/make/unit-tests

2021-01-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jan 19 05:49:33 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: make(1): normalize shell error messages in tests Newly supported is bash, which outputs "bash: line 123". To generate a diff of thi

CVS commit: src/usr.bin/make/unit-tests

2021-01-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jan 19 05:26:34 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-gmtime.exp varmod-gmtime.mk varmod-localtime.exp varmod-localtime.mk Log Message: make(1): fix tests for :gmtime and :localtime for 32-bi

CVS commit: src/usr.bin/make/unit-tests

2021-01-07 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 7 18:11:23 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: jobs-error-nested-make.exp jobs-error-nested-make.mk Log Message: Remove .MAKE from nested target which is not a sub-make This does not fix the is

CVS commit: src/usr.bin/make/unit-tests

2021-01-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jan 1 23:07:49 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: var-op-expand.mk Log Message: var-op-expand needs MAKE.SAVE_DOLLARS=yes To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.bin/make/unit-t

CVS commit: src/usr.bin/make/unit-tests

2020-12-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Dec 31 14:26:37 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: directive-for-escape.exp directive-for-escape.mk Log Message: make(1): add test for common and edge cases in .for loop expansion To generate a

CVS commit: src/usr.bin/make/unit-tests

2020-12-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Dec 31 13:23:43 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: directive-for-escape.exp directive-for-escape.mk Log Message: make(1): add tests for extreme edge cases of .for loop expansion To generate a d

CVS commit: src/usr.bin/make/unit-tests

2020-12-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 28 00:19:42 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: var-op-expand.mk Log Message: make(1): extend test for modifier parts in ':=' assignments To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src

CVS commit: src/usr.bin/make/unit-tests

2020-12-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 27 23:25:33 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: var-op-expand.mk Log Message: make(1): add test for modifier parts in ':=' assignments To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/usr

CVS commit: src/usr.bin/make/unit-tests

2020-12-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 27 21:31:28 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: var-op-expand.exp var-op-expand.mk Log Message: make(1): move test result of var-op-expand.mk from exp to mk This makes it easier to run this test in older

CVS commit: src/usr.bin/make/unit-tests

2020-12-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 27 21:19:13 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: var-op-expand.mk Log Message: make(1): add more tests for ':=' assignments To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.bin/make/un

CVS commit: src/usr.bin/make/unit-tests

2020-12-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 27 20:45:52 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: var-op-expand.mk Log Message: make(1): add tests for variable assignments using the ':=' operator To generate a diff of this commit: cvs rdiff -u -r1.4 -r

CVS commit: src/usr.bin/make/unit-tests

2020-12-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 27 18:20:26 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: deptgt.exp deptgt.mk Log Message: make(1): add test for ParseDependencyTargetWord To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.bin/

CVS commit: src/usr.bin/make/unit-tests

2020-12-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 27 17:32:25 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: varmod-indirect.exp varmod-indirect.mk Log Message: make(1): split test for indirect modifiers into paragraphs To generate a diff of this commit: cvs rdif

CVS commit: src/usr.bin/make/unit-tests

2020-12-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 27 17:17:47 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: varmod-indirect.exp varmod-indirect.mk Log Message: make(1): add tests for parsing indirect modifiers in nested expressions To generate a diff of this com

CVS commit: src/usr.bin/make/unit-tests

2020-12-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 27 09:58:35 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: directive-for.exp directive-for.mk Log Message: make(1): add test for missing error handling in .for loop To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make/unit-tests

2020-12-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 22 19:38:44 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: depsrc.exp depsrc.mk Log Message: make(1): add test for undefined variable in dependency declaration To generate a diff of this commit: cvs rdiff -u -r1.1

CVS commit: src/usr.bin/make/unit-tests

2020-12-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 22 08:57:23 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: opt-file.mk Log Message: make(1): fix comment in test about null bytes in makefiles To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.

CVS commit: src/usr.bin/make/unit-tests

2020-12-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 22 08:23:12 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: opt-file.mk Log Message: make(1): clean up after test opt-file To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/unit-tests/opt

CVS commit: src/usr.bin/make/unit-tests

2020-12-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 22 07:22:39 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: varmod-gmtime.mk varmod-localtime.mk Log Message: make(1): fix commit number in tests for :gmtime and :localtime To generate a diff of this commit: cvs rd

CVS commit: src/usr.bin/make/unit-tests

2020-12-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 21 20:47:29 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: Makefile varmod-gmtime.exp varmod-gmtime.mk varmod-localtime.exp varmod-localtime.mk Log Message: make(1): align tests for :localtime with those

CVS commit: src/usr.bin/make/unit-tests

2020-12-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 21 20:35:17 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: Makefile varmod-gmtime.exp varmod-gmtime.mk Log Message: make(1): move tests for :gmtime to parse time It's easier to have both the expressions

CVS commit: src/usr.bin/make/unit-tests

2020-12-21 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Dec 21 18:22:31 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Set default for .MAKE.OS once To generate a diff of this commit: cvs rdiff -u -r1.253 -r1.254 src/usr.bin/make/unit-tests/Makefile Ple

CVS commit: src/usr.bin/make/unit-tests

2020-12-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 20 23:29:50 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: varmod-to-many-words.mk varmod-to-one-word.mk Log Message: make(1): add tests for :tW and :tw modifiers To generate a diff of this commit: cvs

CVS commit: src/usr.bin/make/unit-tests

2020-12-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 20 22:57:40 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: varmod-extension.exp varmod-extension.mk varmod-head.exp varmod-head.mk varmod-root.exp varmod-root.mk varmod-tail.exp varmod-tail.mk

CVS commit: src/usr.bin/make/unit-tests

2020-12-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 20 19:37:23 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: Makefile varmod-edge.exp Log Message: make(1): include line numbers in output of test varmod-edge.mk Suppressing the line numbers does not provide much ben

CVS commit: src/usr.bin/make/unit-tests

2020-12-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 20 19:29:06 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: modmisc.exp modmisc.mk varmod-indirect.exp varmod-indirect.mk Log Message: make(1): move tests for indirect modifiers around The next commit wi

CVS commit: src/usr.bin/make/unit-tests

2020-12-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 19 20:35:39 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: directive-undef.mk Log Message: make(1): add tests for undefining variables with exotic names To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/usr.bin/make/unit-tests

2020-12-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 19 19:49:01 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: directive-elif.exp directive-elif.mk Log Message: make(1): rewrite tests for misspelled .elif directive Put the simple tests at the top, demonstrating that

CVS commit: src/usr.bin/make/unit-tests

2020-12-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 19 12:40:01 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: directive-for-lines.exp directive-for-lines.mk directive-info.exp directive-info.mk Log Message: make(1): add test for backslash continuation li

CVS commit: src/usr.bin/make/unit-tests

2020-12-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 14 21:02:25 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: directive-if.exp directive-if.mk Log Message: make(1): add tests for parsing .if conditions To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 sr

CVS commit: src/usr.bin/make/unit-tests

2020-12-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 14 20:57:32 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: directive-endif.exp directive-endif.mk Log Message: make(1): add more tests for parsing .endif To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/usr.bin/make/unit-tests

2020-12-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 14 20:28:09 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: cond-eof.exp cond-eof.mk Log Message: make(1): add test for variable expressions after a parse error These variable expressions don't need to be expanded,

CVS commit: src/usr.bin/make/unit-tests

2020-12-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 13 19:08:20 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: compat-error.exp compat-error.mk varname-make_print_var_on_error-jobs.exp varname-make_print_var_on_error-jobs.mk varname

CVS commit: src/usr.bin/make/unit-tests

2020-12-12 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Dec 13 05:13:38 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: Makefile sh-errctl.exp Log Message: Prune job debug output that may appear out of order. A race between child and parent means that we cannot guarantee whethe

  1   2   3   4   5   6   7   >