Skip to content

Commit 2666b1f

Browse files
committed
[gfortran] Disable some tests that non-deterministically fail when testing in parallel
Several gfortran tests read/write/delete the same file. When running the test suite in parallel, this results in non-deterministic failures since the tests race on the file. This disables several tests that have such implicit race conditions. This should resolve the seemingly random failures of the buildbots. Differential Revision: https://reviews.llvm.org/D149865
1 parent 9b17e0e commit 2666b1f

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

Fortran/gfortran/regression/CMakeLists.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1845,6 +1845,41 @@ file(GLOB Failing CONFIGURE_DEPENDS
18451845
# anyway so the test-suite passes by default on AArch64.
18461846
entry_23.f
18471847
findloc_8.f90
1848+
1849+
# These tests have race conditions with other tests that cause them to
1850+
# occasionally fail when run in parallel. Every test in each group listed
1851+
# below has a race condition with at least one other test in the group.
1852+
1853+
# <group> Tests read/write/replace/delete file named 'tmp.dat'
1854+
pr88169_1.f90
1855+
pr88169_2.f90
1856+
pr88169_3.f90
1857+
list_read_6.f90
1858+
# </group>
1859+
1860+
# <group>
1861+
write_rewind_1.f
1862+
write_rewind_2.f
1863+
# </group>
1864+
1865+
# <group> Tests read/delete/append file named 'foo'
1866+
append_1.f90
1867+
large_unit_2.f90
1868+
open_access_append_1.f90
1869+
open_status_1.f90
1870+
# </group>
1871+
1872+
# <group> Tests create/replace file named 'test.dat'
1873+
direct_io_12.f90
1874+
endfile.f90
1875+
eof_4.f90
1876+
implied_do_io_1.f90
1877+
list_read_7.f90
1878+
namelist_76.f90
1879+
read_eof_8.f90
1880+
read_eof_all.f90
1881+
streamio_18.f90
1882+
# </group>
18481883
)
18491884

18501885
list(APPEND UnsupportedTests "${Unsupported}")

0 commit comments

Comments
 (0)