# Expectations for runs of irtests

**URL:** <https://www.ruby-forum.com/t/expectations-for-runs-of-irtests/186332>\
**Category:** IronRuby\
**Created:** [April 5, 2010, 8:22am UTC](https://www.ruby-forum.com/t/expectations-for-runs-of-irtests/186332 "2010-04-05T08:22:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zac\_Brown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7c8e57/32.png) [@Zac\_Brown](https://www.ruby-forum.com/u/Zac_Brown)\
**Post date:** [April 5, 2010, 8:22am UTC](https://www.ruby-forum.com/t/expectations-for-runs-of-irtests/186332/1 "2010-04-05T08:22:24Z")

</div>

Hi all,

I’ve run irtests and I know failures expected. I am however unclear on  
how to determine whether or not I’ve got the expected results for my  
current build of IronRuby. Could someone shed some light on what I’m to  
expect? I presently get somewhere in the realm of ~22 failures from a  
quick skim of the irtest log I saved.

Any light shed would be appreciated :).

-Zac

---

<div class="post-metadata">

**Author:** ![Zac\_Brown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7c8e57/32.png) [@Zac\_Brown](https://www.ruby-forum.com/u/Zac_Brown)\
**Post date:** [April 5, 2010, 8:26am UTC](https://www.ruby-forum.com/t/expectations-for-runs-of-irtests/186332/2 "2010-04-05T08:26:29Z")

</div>

There should be no failures. Could you send us the results? Could you  
reproduce the failures consistently?

Tomas

---

<div class="post-metadata">

**Author:** ![Zac\_Brown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7c8e57/32.png) [@Zac\_Brown](https://www.ruby-forum.com/u/Zac_Brown)\
**Post date:** [April 5, 2010, 8:30am UTC](https://www.ruby-forum.com/t/expectations-for-runs-of-irtests/186332/3 "2010-04-05T08:30:00Z")

</div>

I can 🙂

[http://hudson.colliertech.org](http://hudson.colliertech.org) that’s a windows build machine with  
en-us  
culture

* * *

Met vriendelijke groeten - Best regards - Salutations  
Ivan Porto C. - Mob: +32.486.787.582  
Web: [http://whiterabbitconsulting.eu](http://whiterabbitconsulting.eu) - [http://flanders.co.nz](http://flanders.co.nz)  
Twitter: [http://twitter.com/casualjim](http://twitter.com/casualjim)  
Author of IronRuby in Action ([http://manning.com/carrero](http://manning.com/carrero))  
Microsoft IronRuby/C# MVP

On Mon, Apr 5, 2010 at 8:25 AM, Tomas M.  
\<removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![Zac\_Brown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7c8e57/32.png) [@Zac\_Brown](https://www.ruby-forum.com/u/Zac_Brown)\
**Post date:** [April 5, 2010, 7:02pm UTC](https://www.ruby-forum.com/t/expectations-for-runs-of-irtests/186332/4 "2010-04-05T19:02:05Z")

</div>

For the 6k failures in netinterop, please try the following:

1. Setup the environment (dev.bat or dev.ps1 or whatever :))
2. rbt
3. cd interop
4. …\Scripts\csc

This should recompile the fixtures so that they are linked against the  
the unsigned Git binaries instead of the delay-signed Merlin binaries.  
I’ll be fixing this during our cleanup period next month.

For the ARGF failures… What is the output of “git config  
core.autocrlf”? It should be true, but irtests should also be checking  
that. I’ll look into it and let you know. I’m not sure why you are  
getting the other errors.

JD

---

<div class="post-metadata">

**Author:** ![Zac\_Brown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7c8e57/32.png) [@Zac\_Brown](https://www.ruby-forum.com/u/Zac_Brown)\
**Post date:** [April 5, 2010, 4:51pm UTC](https://www.ruby-forum.com/t/expectations-for-runs-of-irtests/186332/5 "2010-04-05T16:51:34Z")

</div>

Hi,

This first link is irtests run with the latest github changes:  
[http://dl.dropbox.com/u/3527783/irtests-04042010-ruby18.log](http://dl.dropbox.com/u/3527783/irtests-04042010-ruby18.log)

This link is after I made a couple changes in Builtins\FileOps.cs,  
Builtins\KernelOps.cs and the associated MSpec tests:  
[http://dl.dropbox.com/u/3527783/irtests-04052010-ruby18.log](http://dl.dropbox.com/u/3527783/irtests-04052010-ruby18.log)

This is a patch for the changes I made, in case its relevant to you  
guys:  
[http://dl.dropbox.com/u/3527783/0001-Add-support-for-A-atime-in-Kernel-test-and-appropria.patch](http://dl.dropbox.com/u/3527783/0001-Add-support-for-A-atime-in-Kernel-test-and-appropria.patch)

-Zac

---

<div class="post-metadata">

**Author:** ![Zac\_Brown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7c8e57/32.png) [@Zac\_Brown](https://www.ruby-forum.com/u/Zac_Brown)\
**Post date:** [April 5, 2010, 8:20pm UTC](https://www.ruby-forum.com/t/expectations-for-runs-of-irtests/186332/6 "2010-04-05T20:20:32Z")

</div>

Yes and no. It is expected that some of the tests will have issues on  
CLR4, but I thought Tomas had fixed most of them. Either way, pull the  
latest from the v1.0 branch, and those binaries should work.

JD

---

<div class="post-metadata">

**Author:** ![Zac\_Brown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7c8e57/32.png) [@Zac\_Brown](https://www.ruby-forum.com/u/Zac_Brown)\
**Post date:** [April 7, 2010, 4:08am UTC](https://www.ruby-forum.com/t/expectations-for-runs-of-irtests/186332/7 "2010-04-07T04:08:18Z")

</div>

So I pulled the latest changes from v1.0 HEAD and still get the compile  
errors in Tests\Interop. Going to run irtests again tonight and see what  
I get.

-Zac

---

<div class="post-metadata">

**Author:** ![Zac\_Brown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7c8e57/32.png) [@Zac\_Brown](https://www.ruby-forum.com/u/Zac_Brown)\
**Post date:** [April 7, 2010, 7:23am UTC](https://www.ruby-forum.com/t/expectations-for-runs-of-irtests/186332/8 "2010-04-07T07:23:10Z")

</div>

In this case, Zac is not trying to run the tests using .NET 4 (which can  
be done using “irtests.bat --clr4”). And so the .NET 3.5 C# compiler  
should be used. However, dev.bat calls vsvars32.bat which seems to add  
all versions of .NET to the path, with .NET 4  
(C:\Windows\Microsoft.NET\Framework\v4.0.30128) before .NET 3.5  
(C:\Windows\Microsoft.NET\Framework\v3.5) if you have .NET 4 installed.  
As a result, the C# 4 compiler is being invoked.

Zac, for now, you could try adding  
C:\Windows\Microsoft.NET\Framework\v3.5 to the start of the path.

---

<div class="post-metadata">

**Author:** ![Zac\_Brown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7c8e57/32.png) [@Zac\_Brown](https://www.ruby-forum.com/u/Zac_Brown)\
**Post date:** [April 5, 2010, 7:29pm UTC](https://www.ruby-forum.com/t/expectations-for-runs-of-irtests/186332/9 "2010-04-05T19:29:01Z")

</div>

Hi,

Just fyi, it doesn’t appear that ‘rbt’ is an alias setup by dev.bat yet.  
I figured it out though that you meant Ruby\Tests.

When I run the “…\Scripts\csc” in Ruby\Tests\Interop I get the  
following:

E:\code\ironruby.git\Merlin\Main\Languages\Ruby\Tests\Interop\>…\Scripts\csc  
Microsoft (R) Visual C# 2010 Compiler version 4.0.30128.1  
Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) Visual C# 2010 Compiler version 4.0.30128.1  
Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) Visual C# 2010 Compiler version 4.0.30128.1  
Copyright (C) Microsoft Corporation. All rights reserved.

method\fixtures\classes.rb(1040,43): error CS0104: ‘Func’ is an  
ambiguous reference between ‘System.Func’ and  
‘Microsoft.Scripting.Utils.Func’  
c:\Windows\Microsoft.NET\Framework\v4.0.30128\mscorlib.dll: (Location of  
symbol related to previous error)  
e:\code\ironruby.git\Merlin\Main\bin\Debug\Microsoft.Scripting.Core.dll:  
(Location of symbol related to previous error)  
method\fixtures\classes.rb(1076,71): error CS0104: ‘Func’ is an  
ambiguous reference between ‘System.Func\<T,bool\>’ and  
‘Microsoft.Scripting.Utils.Func\<T,bool\>’  
c:\Windows\Microsoft.NET\Framework\v4.0.30128\mscorlib.dll: (Location of  
symbol related to previous error)  
e:\code\ironruby.git\Merlin\Main\bin\Debug\Microsoft.Scripting.Core.dll:  
(Location of symbol related to previous error)  
method\fixtures\classes.rb(1080,74): error CS0104: ‘Func’ is an  
ambiguous reference between ‘System.Func\<T,bool\>’ and  
‘Microsoft.Scripting.Utils.Func\<T,bool\>’  
c:\Windows\Microsoft.NET\Framework\v4.0.30128\mscorlib.dll: (Location of  
symbol related to previous error)  
e:\code\ironruby.git\Merlin\Main\bin\Debug\Microsoft.Scripting.Core.dll:  
(Location of symbol related to previous error)  
method\fixtures\classes.rb(1115,46): error CS0104: ‘Func’ is an  
ambiguous reference between ‘System.Func\<T,bool\>’ and  
‘Microsoft.Scripting.Utils.Func\<T,bool\>’  
c:\Windows\Microsoft.NET\Framework\v4.0.30128\mscorlib.dll: (Location of  
symbol related to previous error)  
e:\code\ironruby.git\Merlin\Main\bin\Debug\Microsoft.Scripting.Core.dll:  
(Location of symbol related to previous error)  
method\fixtures\classes.rb(1120,45): error CS0104: ‘Func’ is an  
ambiguous reference between ‘System.Func\<T,bool\>’ and  
‘Microsoft.Scripting.Utils.Func\<T,bool\>’  
c:\Windows\Microsoft.NET\Framework\v4.0.30128\mscorlib.dll: (Location of  
symbol related to previous error)  
e:\code\ironruby.git\Merlin\Main\bin\Debug\Microsoft.Scripting.Core.dll:  
(Location of symbol related to previous error)  
method\fixtures\classes.rb(1229,36): error CS0104: ‘Func’ is an  
ambiguous reference between ‘System.Func’ and  
‘Microsoft.Scripting.Utils.Func’  
c:\Windows\Microsoft.NET\Framework\v4.0.30128\mscorlib.dll: (Location of  
symbol related to previous error)  
e:\code\ironruby.git\Merlin\Main\bin\Debug\Microsoft.Scripting.Core.dll:  
(Location of symbol related to previous error)  
method\fixtures\classes.rb(1265,64): error CS0104: ‘Func’ is an  
ambiguous reference between ‘System.Func\<T,bool\>’ and  
‘Microsoft.Scripting.Utils.Func\<T,bool\>’  
c:\Windows\Microsoft.NET\Framework\v4.0.30128\mscorlib.dll: (Location of  
symbol related to previous error)  
e:\code\ironruby.git\Merlin\Main\bin\Debug\Microsoft.Scripting.Core.dll:  
(Location of symbol related to previous error)  
method\fixtures\classes.rb(1269,67): error CS0104: ‘Func’ is an  
ambiguous reference between ‘System.Func\<T,bool\>’ and  
‘Microsoft.Scripting.Utils.Func\<T,bool\>’  
c:\Windows\Microsoft.NET\Framework\v4.0.30128\mscorlib.dll: (Location of  
symbol related to previous error)  
e:\code\ironruby.git\Merlin\Main\bin\Debug\Microsoft.Scripting.Core.dll:  
(Location of symbol related to previous error)  
method\fixtures\classes.rb(1304,39): error CS0104: ‘Func’ is an  
ambiguous reference between ‘System.Func\<T,bool\>’ and  
‘Microsoft.Scripting.Utils.Func\<T,bool\>’  
c:\Windows\Microsoft.NET\Framework\v4.0.30128\mscorlib.dll: (Location of  
symbol related to previous error)  
e:\code\ironruby.git\Merlin\Main\bin\Debug\Microsoft.Scripting.Core.dll:  
(Location of symbol related to previous error)  
method\fixtures\classes.rb(1309,38): error CS0104: ‘Func’ is an  
ambiguous reference between ‘System.Func\<T,bool\>’ and  
‘Microsoft.Scripting.Utils.Func\<T,bool\>’  
c:\Windows\Microsoft.NET\Framework\v4.0.30128\mscorlib.dll: (Location of  
symbol related to previous error)  
e:\code\ironruby.git\Merlin\Main\bin\Debug\Microsoft.Scripting.Core.dll:  
(Location of symbol related to previous error)  
E:\code\ironruby.git\Merlin\Main\Languages\Ruby\Tests\Interop\>

Is that the expected output?

Setting the irtests to run again now.

-Zac
