Skip to content

Disable non-conforming test #135

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

Merged
merged 2 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Fortran/UnitTests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# This file should only contain add_subdirectory(...) one for each test
add_subdirectory(hello)
add_subdirectory(assign-goto)
add_subdirectory(fcvs21_f95) # NIST Fortran Compiler Validation Suite
add_subdirectory(finalization)
3 changes: 3 additions & 0 deletions Fortran/UnitTests/assign-goto/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
llvm_singlesource()

file(COPY lit.local.cfg DESTINATION "${CMAKE_CURRENT_BINARY_DIR}")
11 changes: 11 additions & 0 deletions Fortran/UnitTests/assign-goto/assign-goto.f90
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
subroutine s(x)
integer :: x
assign 222 to x
goto x
222 continue
end subroutine s

program test
integer :: a
call s(a)
end program test
2 changes: 2 additions & 0 deletions Fortran/UnitTests/assign-goto/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
config.traditional_output = True
config.single_source = True
4 changes: 4 additions & 0 deletions Fortran/gfortran/regression/DisabledFiles.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1534,6 +1534,10 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
directive_unroll_5.f90
# Tests "!GCC$ attributes weak :: x"
weak-3.f90
# Test is not conformant as it writes to a constant argument
# Similar test, that is conformant, added to UnitTests/assign-goto
assign_5.f90


# Probable bugs
# ["a", "ab"]
Expand Down