This project is read-only.

smoketest failures


Hi, i started hacking with dnet, and it looks to be working pretty nice, but some tests failes:
y:~/Projekty/D/dnet/dnet-48188/trunk/dmd$ make 2>&1 | grep -E -i 'Test Failed|^OK'
OK: void_main
OK: main
OK: assert
OK: Comparisons
OK: opEquals
OK: opEquals 2
OK: Logical And
OK: Logical And, ShortCirc.
OK: Logical And If
OK: Logical Or
OK: Bitwise And
OK: Bitwise Or
OK: Bitwise Xor
OK: postinc
*** Test Failed: postinc_2 (postinc_2.exe)
OK: post decrement
OK: pre increment
OK: pre decrement
*** Test Failed: for loop (for.exe)
*** Test Failed: for / continue (forcont.exe)
*** Test Failed: for w/ labeled break (for_lbreak.exe)
*** Test Failed: for w/ labeled continue (for_lcont.exe)
OK: forever
OK: while
OK: while var
OK: while, break
OK: while, cont
OK: do while, cont
OK: if, else
OK: if not, else
OK: vargs_0
OK: fields
OK: nested fields
OK: static var
OK: static field
OK: static ctor
OK: Exception Handling 1
OK: Exception Handling 2
OK: Exception Handling 3
OK: Exception Handling 4
OK: Exception Handling 5
OK: Exception Handling 6
*** Test Failed: Exception Handling 7 (eh_7.exe)
*** Test Failed: Exception Handling 8 (eh_8.exe)
OK: eh_9
OK: Static Array 1
OK: Static Array 2
OK: Static Array 3
*** Test Failed: Static Array of Struct (sas.exe)
OK: Member Array of Struct
OK: Array 1
OK: Array 2
OK: Array 3
OK: Array 4
OK: Array 5
OK: Array 6
OK: Array 7
OK: Array 8
OK: Array 9
OK: Array 10
OK: Array 11
*** Test Failed: Array Index (aindex.exe)
*** Test Failed: Assoc. Array Index (aaindex.exe)
OK: Array Concatenation
OK: Array Concatenation
OK: Dynamic Array Length 1
*** Test Failed: Dynamic Array Length 2 (dal_2.exe)
OK: Dynamic Array Length 3
OK: explicit delete
OK: explicit delete w/ scope
OK: function scope static var
OK: function scope static var 2
OK: assign struct fields
OK: struct literals
OK: struct static fields
OK: template struct / literals
OK: array struct members
OK: struct init
OK: struct initializers
OK: default param
OK: switch case
OK: switch fallthru
OK: default fallthru
OK: no default
OK: switch with var labels
OK: switch no case
OK: conditional exp
OK: shift left
OK: shift right
OK: shift right unsigned
*** Test Failed: Array Literal Foreach (alit_foreach.exe)
*** Test Failed: Array Foreach (a_foreach.exe)
*** Test Failed: Array Foreach Reverse (a_foreach_reverse.exe)
*** Test Failed: Foreach Range (foreach_range.exe)
*** Test Failed: Array Concat Foreach (ac_foreach.exe)
OK: foreach opApply
OK: foreach delegate
OK: comma
OK: simple assoc array
OK: global assoc array
OK: assoc array length
*** Test Failed: foreach array postblit (feapblit.exe)
OK: global assoc array literal
OK: global assoc array literal 2
OK: assoc array literal arg
OK: assoc array literal foreach
OK: method override
OK: super
OK: string.length
OK: string.ptr
OK: string var ptr
OK: string_literal.len
OK: string.dup
OK: string.sort
OK: string.reverse
OK: Nested Functions
OK: Template method call
OK: Struct template method call
OK: Variadic template call
OK: Member nested function
OK: Struct member nested function
OK: Non-member nested function
OK: Ctor delegation
OK: Class invariant
OK: Class invariant assert
OK: interface
OK: delegates
OK: nested delegate
OK: param by ref
*** Test Failed: return by ref (ref_3.exe)
OK: method w/ param by ref
OK: var args by ref
OK: modify ret ref
OK: modify ret ref 2
OK: modify ret ref 3
OK: ret ref / postinc
OK: multi-source
OK: struct fields
*** Test Failed: foreach over tuples (feot.exe)
*** Test Failed: foreach over tuples w/ indices (feot2.exe)
OK: Fibonacci
OK: array member append
*** Test Failed: array member init (ami.exe)
OK: array member append 2
OK: array member append 3
*** Test Failed: in-remove (inremove.exe)
OK: forward module reference
OK: Hidden method call
OK: lazy argument evaluation
OK: template alias
OK: escape sequences
OK: nested class
Details in attachment.
$ gmcs --version
Mono C# compiler version
$ ilasm2 --version
Mono ILasm compiler version
$ gcc --version
gcc (Debian 4.4.4-9) 4.4.5 20100816 (prerelease)
dnet Compiled from Commit 48188

file attachments


movax wrote Aug 20, 2010 at 6:35 PM

Maybe it is bug in Mono's ilasm2 ? As the exception is not in the generated .exe, but in ilasm2! (which is written in C# it looks)!

movax wrote Aug 20, 2010 at 7:15 PM

I tested also with ilasm version, and result is the same.

What is interesting, is that without /debug flag to ilasm2, compilation is sucesfull. Will contact Mono developers.

movax wrote Mar 23, 2011 at 2:13 AM

This was a bug in Mono's ilasm2. It was reported as bug 633312in mono bugzilla and is now fixed in git repository. It will be released as 2.10.2 I suppose. After this release I will rerun smoketest.

movax wrote Jun 18, 2011 at 9:46 PM

Mono bug (it was indeed bug in ilasm2) is now fixed. Will retest soon.

movax wrote Nov 24, 2011 at 2:30 PM

Bug in ilasm2 /debug is already fixed. Should work in Mono 2.10.6.

movax wrote Nov 24, 2011 at 2:31 PM

Bug in ilasm2 /debug input/ouput is fixed. Mono 2.10.6 should work.

movax wrote Nov 24, 2011 at 2:37 PM

wrote Feb 14, 2013 at 1:52 AM