Skip to content

Failing tests on MSYS2/MinGW x64 #2952

@vittorioromeo

Description

@vittorioromeo

Hello, these are some test failures of a clean build of fmt under MSYS2/MinGW x64 on Windows 10 x64. Not sure what's going on here, I will investigate further -- for now I'm capturing the test output for awareness.


chrono-test:

C:/msys64/home/vromeo5/fmt/test/chrono-test.cc:132: Failure
Expected equality of these values:
  system_strftime(iso_week_spec, &tm)
    Which is: "1975-12-29:   "
  fmt::format(fmt::runtime(fmt_spec), tm)
    Which is: "1975-12-29: 1976 76 01"
C:/msys64/home/vromeo5/fmt/test/chrono-test.cc:132: Failure
Expected equality of these values:
  system_strftime(iso_week_spec, &tm)
    Which is: "1977-01-02:   "
  fmt::format(fmt::runtime(fmt_spec), tm)
    Which is: "1977-01-02: 1976 76 53"

...

format-test:

...

←[0;32m[ RUN      ] ←[mformat_test.to_string

Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007ff7ae1eb756 in __netf2 ()

format-impl-test:

...

←[0;32m[ RUN      ] ←[mformat_impl_test.write_float128

Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007ff7916b7696 in __netf2 ()

xchar-test:

C:/msys64/home/vromeo5/fmt/test/xchar-test.cc:295: Failure
Expected equality of these values:
  sys_output
    Which is: L""
  fmt::format(fmt_spec, t1)
    Which is: L"\n"
With diff:
@@ -1,1 +1,2 @@
-L""
+L"
+"

warning: C:/msys64/home/vromeo5/fmt/test/xchar-test.cc:295: Failure
Expected equality of these values:
  sys_output
    Which is: L""
  fmt::format(fmt_spec, t1)
    Which is: L"\n"
With diff:
@@ -1,1 +1,2 @@
-L""
+L"
+"
warning:
C:/msys64/home/vromeo5/fmt/test/xchar-test.cc:296: Failure
Expected equality of these values:
  sys_output
    Which is: L""
  fmt::format(fmt_spec, tm)
    Which is: L"\n"
With diff:
@@ -1,1 +1,2 @@
-L""
+L"
+"

warning: C:/msys64/home/vromeo5/fmt/test/xchar-test.cc:296: Failure
Expected equality of these values:
  sys_output
    Which is: L""
  fmt::format(fmt_spec, tm)
    Which is: L"\n"
With diff:
@@ -1,1 +1,2 @@
-L""
+L"
+"
warning:
warning: Invalid parameter passed to C runtime function.
C:/msys64/home/vromeo5/fmt/test/xchar-test.cc:295: Failure
Expected equality of these values:
  sys_output
    Which is: L""
  fmt::format(fmt_spec, t1)
    Which is: L"\t"
warning: C:/msys64/home/vromeo5/fmt/test/xchar-test.cc:295: Failure
Expected equality of these values:
  sys_output
    Which is: L""
  fmt::format(fmt_spec, t1)
    Which is: L"\t"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions