freebsd-src/unit-tests/directive-for.exp
Simon J. Gerraty 945078deae Import bmake-20230510
Relevant/interesting changes:

	o parse.c: don't print null filename in stack traces
	o for.c: skip syntactically wrong .for loops
	o var.c: allow for :gmtime=${mtime}
	add :mtime[=timestamp] where timestamp is used if stat(2)
	fails, if :mtime=error stat(2) failure causes error.
	o make.1: fix documentation of .PREFIX to match reality and POSIX
	o unit-tests: improved var-scope-local
2023-05-13 10:03:50 -07:00

42 lines
1.6 KiB
Plaintext
Executable file

make: "directive-for.mk" line 119: outer
make: "directive-for.mk" line 137: a:\ a:\file.txt
make: "directive-for.mk" line 137: d:\\
make: "directive-for.mk" line 137: d:\\file.txt
make: "directive-for.mk" line 148: ( ( (
make: "directive-for.mk" line 148: [ [ [
make: "directive-for.mk" line 148: { { {
make: "directive-for.mk" line 148: ) ) )
make: "directive-for.mk" line 148: ] ] ]
make: "directive-for.mk" line 148: } } }
make: "directive-for.mk" line 148: (()) (()) (())
make: "directive-for.mk" line 148: [[]] [[]] [[]]
make: "directive-for.mk" line 148: {{}} {{}} {{}}
make: "directive-for.mk" line 148: )( )( )(
make: "directive-for.mk" line 148: ][ ][ ][
make: "directive-for.mk" line 148: }{ }{ }{
make: "directive-for.mk" line 168: invalid character ':' in .for loop variable name
make: "directive-for.mk" line 175: invalid character '$' in .for loop variable name
make: "directive-for.mk" line 187: invalid character '$' in .for loop variable name
make: "directive-for.mk" line 198: Unknown modifier "Z"
make: "directive-for.mk" line 199: XXX: Not reached word1
make: "directive-for.mk" line 199: XXX: Not reached word3
make: "directive-for.mk" line 206: no iteration variables in for
make: "directive-for.mk" line 232: 1 open conditional
make: "directive-for.mk" line 248: for-less endfor
make: "directive-for.mk" line 249: if-less endif
make: "directive-for.mk" line 257: if-less endif
For: new loop 2
For: end for 2
For: end for 1
For: loop body:
.\
for inner in i
.\
endfor
For: end for 1
For: loop body:
make: "directive-for.mk" line 305: newline-item=(a)
make: Fatal errors encountered -- cannot continue
make: stopped in unit-tests
exit status 1