Skip to content

Commit 997aea4

Browse files
authored
Merge pull request #46 from sourceryinstitute/fix-test-module-names
fix(test): eliminate name clashes
2 parents 491dcd4 + 4bb70bc commit 997aea4

File tree

8 files changed

+21
-21
lines changed

8 files changed

+21
-21
lines changed

test/command_line_test.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module command_line_test
1+
module command_line_test_m
22
!! Verify object pattern asbtract parent
33
use sourcery_m, only : test_t, test_result_t, command_line_t
44
implicit none
@@ -41,4 +41,4 @@ function check_flag_value() result(test_passes)
4141

4242
end function
4343

44-
end module command_line_test
44+
end module command_line_test_m

test/data_partition_test.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module data_partition_test
1+
module data_partition_test_m
22
!! verify data partitioning across images and data gathering
33
use sourcery_m, only : data_partition_t, test_t, test_result_t
44
use iso_fortran_env, only : real64
@@ -167,4 +167,4 @@ function verify_gather_2D_real_array_dim1() result(test_passes)
167167
end associate
168168
end function
169169

170-
end module data_partition_test
170+
end module data_partition_test_m

test/formats_test.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module formats_test
1+
module formats_test_m
22
!! Verify that format strings provide the desired formatting
33
use sourcery_m, only : separated_values, test_t, test_result_t
44
implicit none
@@ -67,4 +67,4 @@ pure function check_csv_character() result(test_passes)
6767
test_passes= expected_output == captured_output
6868
end function
6969

70-
end module formats_test
70+
end module formats_test_m

test/main.f90

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
program main
2-
use user_defined_collectives_test, only : collectives_test_t
3-
use data_partition_test, only : data_partition_test_t
4-
use object_m_test, only : object_test_t
5-
use formats_test, only : formats_test_t
6-
use test_result_test, only : test_result_test_t
7-
use command_line_test, only : command_line_test_t
8-
use string_test, only : string_test_t
2+
use user_defined_collectives_test_m, only : collectives_test_t
3+
use data_partition_test_m, only : data_partition_test_t
4+
use object_m_test_m, only : object_test_t
5+
use formats_test_m, only : formats_test_t
6+
use test_result_test_m, only : test_result_test_t
7+
use command_line_test_m, only : command_line_test_t
8+
use string_test_m, only : string_test_t
99
implicit none
1010

1111
type(collectives_test_t) collectives_test

test/object_m_test.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module object_m_test
1+
module object_m_test_m
22
!! Verify object pattern asbtract parent
33
use sourcery_m, only : test_t, test_result_t, object_t
44
implicit none
@@ -74,4 +74,4 @@ subroutine write_formatted(self, unit, iotype, v_list, iostat, iomsg)
7474
end associate
7575
end subroutine
7676

77-
end module object_m_test
77+
end module object_m_test_m

test/string_test.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module string_test
1+
module string_test_m
22
use sourcery_m, only : test_t, test_result_t, string_t
33
implicit none
44

@@ -36,4 +36,4 @@ pure function check_allocation() result(passed)
3636
(all([scalar_allocated%is_allocated(), array_allocated%is_allocated()]))
3737
end function
3838

39-
end module string_test
39+
end module string_test_m

test/test_result_test.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module test_result_test
1+
module test_result_test_m
22
!! Verify object pattern asbtract parent
33
use test_m, only : test_t, test_result_t
44
implicit none
@@ -36,4 +36,4 @@ pure function check_array_result_construction() result(passed)
3636
passed = size(test_results)==2
3737
end function
3838

39-
end module test_result_test
39+
end module test_result_test_m

test/user_defined_collectives_test.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module user_defined_collectives_test
1+
module user_defined_collectives_test_m
22
use sourcery_m, only : co_all, test_t, test_result_t
33
implicit none
44

@@ -43,4 +43,4 @@ function check_co_all_with_one_false() result(test_passed)
4343
test_passed = .not. all_true
4444
end function
4545

46-
end module user_defined_collectives_test
46+
end module user_defined_collectives_test_m

0 commit comments

Comments
 (0)