Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Windows support to f90_correct tests #1366

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

kaadam
Copy link
Collaborator

@kaadam kaadam commented May 18, 2023

No description provided.

@kaadam kaadam added the windows Add this to all windows specific issues or PRs label May 18, 2023
@kaadam kaadam marked this pull request as draft May 18, 2023 12:13
@kaadam
Copy link
Collaborator Author

kaadam commented Jul 20, 2023

@bryanpkc This PR is a bit awful long. Would it be okay for review? Shall I split into several parts?

@kaadam kaadam marked this pull request as ready for review August 4, 2023 12:20
@bryanpkc
Copy link
Collaborator

Shall I split into several parts?

No need. The changes seem fine.

@bryanpkc bryanpkc changed the title wip: Add Windows support to f90_correct tests Add Windows support to f90_correct tests Aug 23, 2023
@bryanpkc
Copy link
Collaborator

@kaadam You may need to rebase this branch and make the same changes to new tests that were added since the creation of this PR.

@kaadam
Copy link
Collaborator Author

kaadam commented Aug 28, 2023

@kaadam You may need to rebase this branch and make the same changes to new tests that were added since the creation of this PR.
Thanks for the review Bryan. Updated the PR.

@bryanpkc
Copy link
Collaborator

New PRs have been merged since your rebase. Please rebase again and update any new test. When this PR is merged, will we be able to run tests on a Windows runner in the GitHub CI workflow? Otherwise it will be too easy to break testing on Windows.

The tests direct their outputs to a file and stdout by using tee,
on Windows seems we have a buffering issue since the results of the test
doesn't appeare on stdout. As workaround we used fflush in check.c.
@kaadam
Copy link
Collaborator Author

kaadam commented Aug 29, 2023

New PRs have been merged since your rebase. Please rebase again and update any new test. When this PR is merged, will we be able to run tests on a Windows runner in the GitHub CI workflow? Otherwise it will be too easy to break testing on Windows.

Thanks for your comment. I've updated the PR. Approx. less than the half of the tests are still failing on Windows. I'm not sure the recent number of the failures (enclose later). Basically we can enable the test running, but before might be worth to skip them for Windows. Unfortunately I have no time to fix the remaining failures, but I can open issue for them.

@bryanpkc
Copy link
Collaborator

@pawosm-arm @shivaramaarao Any objection? If not, I'll merge this PR.

@bryanpkc bryanpkc merged commit 88c8ea4 into flang-compiler:master Aug 30, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
windows Add this to all windows specific issues or PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants