-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModuleTester.f90
34 lines (33 loc) · 1.33 KB
/
ModuleTester.f90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
program tester
use AeroFunctions, only: testAeroFunctions =>self_test
! use AeroFunctions, only: testAeroFunctions =>self_test_fracs
use GridAllocate_mod, only: testGridAllocate =>self_test
use KeyValueTypes, only: testKeyValueTypes =>self_test
use TimeDate_ExtraUtil_mod, only: testTimeDate_ExtraUtil=>self_test
use Io_Progs_mod, only: testIo_Progs =>self_test
! use DefPhotolysis, only: testDefPhotolysis =>self_test_fracs
use SmallUtils_mod, only: testSmallUtils =>self_test
implicit none
integer :: i
character(len=64) :: ml
do i = 1, iargc()
call getarg(i, ml)
write(*,*) "Testing: ",trim(ml)
select case(ml)
case("AeroFunctions","AeroFunctions.f90")
call testAeroFunctions()
case("GridAllocate_mod","GridAllocate_mod.f90")
call testGridAllocate()
case("KeyValueTypes","KeyValueTypes.f90")
call testKeyValueTypes()
case("TimeDate_ExtraUtil_mod","TimeDate_ExtraUtil_mod.f90")
call testTimeDate_ExtraUtil()
case("Io_Progs_mod","Io_Progs_mod.f90")
call testIo_Progs()
! case("DefPhotolysis","DefPhotolysis.f90")
! call testDefPhotolysis()
case("SmallUtils_mod","SmallUtils_mod.f90")
call testSmallUtils()
end select
end do
endprogram tester