llvm-test-suite icon indicating copy to clipboard operation
llvm-test-suite copied to clipboard

[Fortran/gfortran] Enable tests that now pass

Open tarunprabhu opened this issue 1 year ago • 3 comments

Enable a number of tests that were disabled, but now pass.


Notes for reviewers

In the past, some tests pass for me, but fail on different configurations. I have included a larger number of reviewers this time to cover several targets and build/test configurations. If any tests fail on your setup, let me know and I will disable them again.

As a result of enabling these tests, some of the DisabledFiles.cmake files are empty. I have chosen to retain the files for now because there have been instances of regressions requiring tests to be temporarily disabled. Once flang becomes more stable, we can consider removing them.

tarunprabhu avatar Dec 16 '24 17:12 tarunprabhu

Thanks @tblah and @kiranchandramohan for taking a look. The tests that were incorrectly passing/failing have been disabled.

tarunprabhu avatar Dec 17 '24 14:12 tarunprabhu

All the gfortran tests are disabled on Windows so I haven't checked any of this there; some day we should go through and enable any of the ones that should work on Windows but that's not really relevant to this PR.

Ah, right. I think the main reason I had them disabled was because some of the tests use the diff utility on *nix. I think I added some code to use cmp on Windows, but since I had no way to test it, I just disabled the entire thing on Windows.

Let me know when you have some time to look into this. It would be good to have this running on Windows, especially since it looks like these will be enabled on more architectures as well.

tarunprabhu avatar Dec 18 '24 14:12 tarunprabhu

@kkwli,

Could you test that this works on PowerPC? Thanks.

tarunprabhu avatar Jan 06 '25 15:01 tarunprabhu

Abandoning this in favor of another PR that will be filed after the gfortran tests are synced with upstream

tarunprabhu avatar May 05 '25 14:05 tarunprabhu