Skip to content

Commit 5a5ab9c

Browse files
committed
fix(CI): ensure non-empty test-suite main programs
1 parent 06ca107 commit 5a5ab9c

2 files changed

Lines changed: 4 additions & 9 deletions

File tree

test/legacy-main.F90

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33

44
#include "language-support.F90"
55

6-
#if defined(__GCC__) && (GCC_VERSION < 140300)
7-
86
program main
97
!! Julienne unit tests driver
108

9+
#if defined(__GCC__) && (GCC_VERSION < 140300)
1110
! Internal utilities
1211
use julienne_m ,only : command_line_t, GitHub_CI
1312

@@ -83,6 +82,5 @@ program main
8382
end if
8483
#endif
8584

86-
end program
87-
8885
#endif
86+
end program

test/main.F90

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
! Copyright (c) 2024-2025, The Regents of the University of California and Sourcery Institute
22
! Terms of use are as specified in LICENSE.txt
33

4-
#if ! defined(__GCC__) || (GCC_VERSION >= 140300)
5-
64
program test_suite_driver
75
!! Julienne test-suite driver
86

7+
#if ! defined(__GCC__) || (GCC_VERSION >= 140300)
98
! Test infrastructure:
109
use julienne_m, only : test_fixture_t, test_harness_t
1110

@@ -37,7 +36,5 @@ program test_suite_driver
3736
]))
3837
call test_harness%report_results
3938
end associate
40-
41-
end program
42-
4339
#endif
40+
end program

0 commit comments

Comments
 (0)