Skip to contentSkip to conversation

make test errors

LARTC raptor 1 participant 2 messages Sep 19, 2002

lore
Share & tools
lore

raptor

author
#0 lore raw

here are the errors I'm getting
--------------------------------------------
[root@qos tcng]# cat _ref.4609
<stdin>:1: warning: unused variable x

[root@qos tcng]# cat _out.4609
<stdin>:17: warning: unused variable x

[root@qos tcng]# cat _in.4609
$a = { $x = 13; 7; };
field foo = raw if $a = $a;

-------------------------------------------------
bare words for strings are forbidden: PASSED
quoted strings for strings are okay: PASSED
bare words for warning labels are forbidden: PASSED (warning: output differs)
Standard output:
| <stdin>:17: syntax error near "nounused"
Reference output:
| <stdin>:1: syntax error near "nounused"
quoted strings for warning labels are okay: PASSED
bare words are still okay for device names: PASSED
quoted strings are also okay for device names: PASSED
typos don't turn into strings (1): PASSED

........................................

qdisc collision from distinct blocks is detected (1): PASSED qdisc collision from distinct blocks is detected (2): PASSED "inner" blocks are shown correctly in variable use output: PASSED
bucket: can define variables: PASSED
bucket: can use with conform, count: PASSED
bucket: policer parameters are refused: PASSED (warning: output differs)
Standard output:
| <stdin>:17: unrecognized parameter "mtu"
Reference output:
| <stdin>:1: unrecognized parameter "mtu"

........................

compound construct with multiple assignments: PASSED
compound construct must end with semicolon: PASSED (warning: output differs)
Standard output:
| <stdin>:17: syntax error near "}"
Reference output:
| <stdin>:1: syntax error near "}"
compound construct may end with multiple semicolons: PASSED
compound construct requires semicolon after assignment: PASSED (warning: output differs)
Standard output:
| <stdin>:17: syntax error near "$x"
Reference output:
| <stdin>:1: syntax error near "$x"
compound construct allows multiple semicolons after assignment: PASSED compound construct warns about unused variables: FAILED

File:      tests/compound
Command:   tcc -c 2>&1
Input:     _in.4609
Output:    _out.4609
Reference: _ref.4609
scripts/runtests.sh: line 2:  4633 Broken pipe             cat
scripts/run-all-tests: line 14: 15771 Broken pipe             cat $n
make: *** [test] Error 

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/