negative

来自「Linux 下的编译工具」· 代码 · 共 47 行

TXT
47
字号
#                                                                    -*-perl-*-$description = "Run some negative tests (things that should fail).";# TEST #0# Check that non-terminated variable references are detected (and# reported using the best filename/lineno inforun_make_test('foo = barx = $(fooy = $xall: ; @echo $y',              '', '#MAKEFILE#:3: *** unterminated variable reference.  Stop.',              512);# TEST #1# Bogus variable value passed on the command line.run_make_test(undef,              'x=\$\(other',              '#MAKEFILE#:4: *** unterminated variable reference.  Stop.',              512);# TEST #2# Again, but this time while reading the makefile.run_make_test('foo = barx = $(fooy = $xz := $yall: ; @echo $y',              '', '#MAKEFILE#:3: *** unterminated variable reference.  Stop.',              512);# TEST #3# Bogus variable value passed on the command line.run_make_test(undef,              'x=\$\(other',              '#MAKEFILE#:4: *** unterminated variable reference.  Stop.',              512);1;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?