dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]prob running make check on pnetlib...


From: Jason Lee
Subject: [DotGNU]prob running make check on pnetlib...
Date: Mon, 30 Dec 2002 23:37:13 -0500

so i'm sure it's something obvious on my part, but i thought i'd just check to make sure.

i got a new mac and i've been setting up various things on it the past week. i finally got to my code i was working on for the Net namespace. I d/l'd treecc, pnet from cvs. built fine. i then copied my pnetlib dir that i'd been working on from my linux box. did a autogen, configure, make, and then make check. there were 2 fails on the tests:

TestUriUserInfo ... ok

Suite: Network Tests

TestIPAddressConstructor ... failed: CSUnit.TestAssertFailed: Test failed: IPAddress.Loopback.Address == loopback expected: <2130706433>, but was: <16777343>
        at CSUnit.TestCase.Fail(String) in ./TestCase.cs:148
at CSUnit.TestCase.EqFail(String, Object, Object) in ./TestCase.cs:192 at CSUnit.TestCase.AssertEquals(String, Int64, Int64) in ./TestCase.cs:249 at TestIPAddress.TestIPAddressConstructor() in ./Net/TestIPAddress.cs:90 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object[]) in ./System/Reflection/MethodBase.cs:45
        at CSUnit.TestCase.RunTest() in ./TestCase.cs:104
        at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47
        at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
        at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
        at CSUnit.TestMain.Main(String[]) in ./TestMain.cs:245

TestIPAddressEquals ... ok

TestIPAddressToString ... ok
TestIPAddressAddress ... failed: CSUnit.TestAssertFailed: Test failed: Loopback.Address == 0x0100007f expected: <16777343>, but was: <2130706433>
        at CSUnit.TestCase.Fail(String) in ./TestCase.cs:148
at CSUnit.TestCase.EqFail(String, Object, Object) in ./TestCase.cs:192 at CSUnit.TestCase.AssertEquals(String, Int64, Int64) in ./TestCase.cs:249 at TestIPAddress.TestIPAddressAddress() in ./Net/TestIPAddress.cs:276 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object[]) in ./System/Reflection/MethodBase.cs:45
        at CSUnit.TestCase.RunTest() in ./TestCase.cs:104
        at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47
        at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
        at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
        at CSUnit.TestMain.Main(String[]) in ./TestMain.cs:245

TestIPAddressAddressFamily ... ok

And the line it looks like it's bombing on are:

90:             AssertEquals ("IPAddress.Loopback.Address == loopback",
                        IPAddress.Loopback.Address, loopback);

276: AssertEquals("Loopback.Address == 0x0100007f",0x0100007f,ip.Address);

should i forget about this and not use my mac? :( or is there something else i can check? i didn't have this problem on my old mac, so maybe i have some weird config issue on the new one. >:( guess i cld always submit the patch from my linux box... anyway, sorry to bug, but i was already to check in a nice size patch to Net but then this came up. and help/suggestions greatly appreciated.

- jason



reply via email to

[Prev in Thread] Current Thread [Next in Thread]