Skip to content

Commit 23c4dbb

Browse files
committed
fix(CI): only image 1 runs command_line_test
1 parent e309121 commit 23c4dbb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/main.f90

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,16 @@ program main
1818

1919
integer :: passes=0, tests=0
2020

21+
2122
call data_partition_test%report(passes, tests)
2223
call collectives_test%report(passes, tests)
2324
call object_test%report(passes, tests)
2425
call formats_test%report(passes, tests)
2526
call test_result_test%report(passes, tests)
26-
!call command_line_test%report(passes, tests)
2727
call string_test%report(passes, tests)
28-
29-
if (this_image()==1) print *, new_line('a'), "_________ In total, ",passes," of ",tests, " tests pass. _________"
28+
if (this_image()==1) then
29+
call command_line_test%report(passes, tests)
30+
print *, new_line('a'), "_________ In total, ",passes," of ",tests, " tests pass. _________"
31+
end if
3032
if (passes /= tests) error stop
3133
end program

0 commit comments

Comments
 (0)