Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Multiple test failures #49

@ConiKost

Description

@ConiKost

Hi!
When I do run the tests for mono-basic 4.7, I get multiple test failures.

Steps to reproduce:

  • ./configure --prefix=/usr
  • make
  • make test
Failures:
1) MonoTests.Microsoft_VisualBasic.Logging.FileLogTraceListenerTest.WriteTest : #01
        String lengths differ.  Expected length=19, but was length=36.
        Strings differ at index 17.

        expected:<"nunit\tCritical\t0\t\r\n">
         but was:<"nunit\tCritical\t0\t\nnunit\tCritical\t0\t\n">
        --------------------------------^

  at MonoTests.Microsoft_VisualBasic.Logging.FileLogTraceListenerTest.WriteTest () [0x0004e] in /home/kostecki/mono-basic/vbruntime/Test/Microsoft.VisualBasic.Logging/FileLogTraceListener.cs:185
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0003b] in /var/tmp/portage/dev-lang/mono-5.14.0.177/work/mono-5.14.0.177-abi_x86_64.amd64/mcs/class/corlib/System.Reflection/MonoMethod.cs:305

2) MonoTests.Microsoft_VisualBasic.Logging.FileLogTraceListenerTest.AppendTest : #01
        String lengths differ.  Expected length=19, but was length=18.
        Strings differ at index 17.

        expected:<"nunit\tCritical\t0\t\r\n">
         but was:<"nunit\tCritical\t0\t\n">
        --------------------------------^

  at MonoTests.Microsoft_VisualBasic.Logging.FileLogTraceListenerTest.AppendTest () [0x0004f] in /home/kostecki/mono-basic/vbruntime/Test/Microsoft.VisualBasic.Logging/FileLogTraceListener.cs:295
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0003b] in /var/tmp/portage/dev-lang/mono-5.14.0.177/work/mono-5.14.0.177-abi_x86_64.amd64/mcs/class/corlib/System.Reflection/MonoMethod.cs:305

3) MonoTests.Microsoft_VisualBasic.StringsTest.Format_Date1 :
        String lengths differ.  Expected length=10, but was length=9.
        Strings differ at index 4.

        expected:<"June, 2006">
         but was:<"June 2006">
        ---------------^

  at MonoTests.Microsoft_VisualBasic.StringsTest.Format_Date1 () [0x0024f] in /home/kostecki/mono-basic/vbruntime/Test/Microsoft.VisualBasic/StringsTest.cs:449
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0003b] in /var/tmp/portage/dev-lang/mono-5.14.0.177/work/mono-5.14.0.177-abi_x86_64.amd64/mcs/class/corlib/System.Reflection/MonoMethod.cs:305

4) MonoTests.Microsoft_VisualBasic.StringsTest.Replace_2 :
        String lengths are both 15.
        Strings differ at index 1.

        expected:<"abcdbclkjhbckjh">
         but was:<"aZZdZZlkjhZZkjh">
        ------------^

  at MonoTests.Microsoft_VisualBasic.StringsTest.Replace_2 () [0x0001d] in /home/kostecki/mono-basic/vbruntime/Test/Microsoft.VisualBasic/StringsTest.cs:1321
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0003b] in /var/tmp/portage/dev-lang/mono-5.14.0.177/work/mono-5.14.0.177-abi_x86_64.amd64/mcs/class/corlib/System.Reflection/MonoMethod.cs:305

5) MonoTests.Microsoft_VisualBasic.StringsTest.Split_2 :
        expected:<1>
         but was:<7>
  at MonoTests.Microsoft_VisualBasic.StringsTest.Split_2 () [0x0008d] in /home/kostecki/mono-basic/vbruntime/Test/Microsoft.VisualBasic/StringsTest.cs:1523
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0003b] in /var/tmp/portage/dev-lang/mono-5.14.0.177/work/mono-5.14.0.177-abi_x86_64.amd64/mcs/class/corlib/System.Reflection/MonoMethod.cs:305

6) MonoTests.Microsoft_VisualBasic.StringsTest.Split_4 :
        expected:<1>
         but was:<5>
  at MonoTests.Microsoft_VisualBasic.StringsTest.Split_4 () [0x00063] in /home/kostecki/mono-basic/vbruntime/Test/Microsoft.VisualBasic/StringsTest.cs:1581
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0003b] in /var/tmp/portage/dev-lang/mono-5.14.0.177/work/mono-5.14.0.177-abi_x86_64.amd64/mcs/class/corlib/System.Reflection/MonoMethod.cs:305

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions