Skip to content

Commit b3d02c3

Browse files
committed
Add error stop on failure and cleanup EOF spacing
1 parent e33ff6c commit b3d02c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tests/regression/reported/issue-503-multidim-array-broadcast.f90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ program main
3636

3737
if (abs(red1 - nimg * sum1) > epsilon(0.) .or. abs(red2 - nimg * sum2) > epsilon(0.)) then
3838
write(*,*) 'Test failed!'
39+
error stop 5
3940
else
4041
write(*,*) 'Test passed.'
4142
end if
4243
deallocate(arr1, arr2)
43-
end program
44+
end program

0 commit comments

Comments
 (0)