[Mono-list] Can mcs compile the tests?

David Dawkins david@dawkins.st
Tue, 17 Sep 2002 15:50:31 +0100


Is mcs (v0.15) expected to be able to compile the tests in
mcs/class/corlib/Test?
My mcs area is up-to-date, and mcs is latest build available. I was planning
on
writing some unit tests, and trying to avoid downloading the MS SDK now that
mcs is self-hosting.

David
--
Platform: Windows XP, Cygwin
Error messages follow:

/projects/mono/head/mcs/class/corlib/Test $ make -f makefile.gnu
MONO_PATH= mono /mono/bin/mcs.exe --target library --noconfig -o
corlib_linux_te
st.dll -r ../../lib/corlib.dll -r ../../lib/System.dll -r
../../../nunit/src/NUn
itCore/NUnitCore_mono.dll @.response
syntax error, expecting BASE BOOL BYTE CHAR CHECKED DECIMAL DOUBLE FALSE
FLOAT I
NT LONG NEW NULL OBJECT OUT REF SBYTE SHORT SIZEOF STRING THIS TRUE TYPEOF
UINT
ULONG UNCHECKED USHORT VOID OPEN_PARENS TILDE PLUS MINUS BANG BITWISE_AND
STAR O
P_INC OP_DEC LITERAL_INTEGER LITERAL_FLOAT LITERAL_DOUBLE LITERAL_DECIMAL
LITERA
L_CHARACTER LITERAL_STRING IDENTIFIER
System/ArrayTest.cs(341) error CS1002: Expecting `;'
System/ArrayTest.cs (341,27), Token:351   : Parsing error
Mono.CSharp.yyParser.yyException: irrecoverable syntax error at end-of-file
in <0x00e52> 00 Mono.CSharp.CSharpParser:yyparse
(Mono.CSharp.yyParser.yyInput)
in <0x0006b> 00 Mono.CSharp.CSharpParser:parse ()

syntax error, expecting AS IS CLOSE_BRACE OPEN_BRACKET CLOSE_BRACKET
OPEN_PARENS
 CLOSE_PARENS DOT COMMA COLON SEMICOLON PLUS MINUS ASSIGN OP_LT OP_GT
BITWISE_AN
D BITWISE_OR STAR PERCENT DIV CARRET INTERR OP_INC OP_DEC OP_SHIFT_LEFT
OP_SHIFT
_RIGHT OP_LE OP_GE OP_EQ OP_NE OP_AND OP_OR OP_MULT_ASSIGN OP_DIV_ASSIGN
OP_MOD_
ASSIGN OP_ADD_ASSIGN OP_SUB_ASSIGN OP_SHIFT_LEFT_ASSIGN
OP_SHIFT_RIGHT_ASSIGN OP
_AND_ASSIGN OP_XOR_ASSIGN OP_OR_ASSIGN OP_PTR IDENTIFIER
System/BitConverterTest.cs(402) error CS1002: Expecting `;'
System/BitConverterTest.cs (402,19), Token:422   : Parsing error
Mono.CSharp.yyParser.yyException: irrecoverable syntax error at end-of-file
in <0x00e52> 00 Mono.CSharp.CSharpParser:yyparse
(Mono.CSharp.yyParser.yyInput)
in <0x0006b> 00 Mono.CSharp.CSharpParser:parse ()

syntax error, expecting AS IS CLOSE_BRACE OPEN_BRACKET CLOSE_BRACKET
OPEN_PARENS
 CLOSE_PARENS DOT COMMA COLON SEMICOLON PLUS MINUS ASSIGN OP_LT OP_GT
BITWISE_AN
D BITWISE_OR STAR PERCENT DIV CARRET INTERR OP_INC OP_DEC OP_SHIFT_LEFT
OP_SHIFT
_RIGHT OP_LE OP_GE OP_EQ OP_NE OP_AND OP_OR OP_MULT_ASSIGN OP_DIV_ASSIGN
OP_MOD_
ASSIGN OP_ADD_ASSIGN OP_SUB_ASSIGN OP_SHIFT_LEFT_ASSIGN
OP_SHIFT_RIGHT_ASSIGN OP
_AND_ASSIGN OP_XOR_ASSIGN OP_OR_ASSIGN OP_PTR IDENTIFIER
System/CharTest.cs(292) error CS1002: Expecting `;'
System/CharTest.cs (292,23), Token:422   : Parsing error
Mono.CSharp.yyParser.yyException: irrecoverable syntax error at end-of-file
in <0x00e52> 00 Mono.CSharp.CSharpParser:yyparse
(Mono.CSharp.yyParser.yyInput)
in <0x0006b> 00 Mono.CSharp.CSharpParser:parse ()

....

<shedloads more messages deleted>