Skip to content

Conversation

@awvwgk
Copy link
Member

@awvwgk awvwgk commented Dec 21, 2020

Windows testing is currently limited to the MinGW version preinstalled by choco (GCC 8.1). This PR uses the MSYS2 toolchains to test for the latest GCC/MinGW versions as well.

In total three new CI tests are added:

  1. GCC in MSYS POSIX environment
  2. native MinGW64 compiler
  3. native MinGW32 compiler (see stats: test mean fails for Windows MinGW32 #274 regarding test failure)

With the adjustment of the thresholds in test_mean, this PR also fixes #274

The two tests slightly exceeding the threshold from 1000*epsilion(1._dp): 1. sum( abs( mean(cd3,2) - sum(cd3,2)/real(size(cd3,2), dp) )) 2. sum( abs( mean(d4,2) - sum(d4,2)/real(size(d4,2), dp) ))
@awvwgk awvwgk marked this pull request as ready for review December 21, 2020 18:58
Copy link
Member

@jvdp1 jvdp1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @awvwgk . It is a nice addition of tests.

@jvdp1 jvdp1 requested review from certik and milancurcic December 27, 2020 19:17
Copy link
Member

@milancurcic milancurcic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Windows and CI are not my forte, but this looks good.

@jvdp1
Copy link
Member

jvdp1 commented Dec 29, 2020

I`ll merge this PR. Thank you @awvwgk for the addition of MSYS@ systems to the CI.

@jvdp1 jvdp1 merged commit 3f4578f into fortran-lang:master Dec 29, 2020
@awvwgk awvwgk deleted the win-ci branch December 29, 2020 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants