-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '282-setup-for-fortran-unit-testing' into 'development'
Resolve "setup for Fortran unit testing" Closes #282 See merge request damask/DAMASK!783
- Loading branch information
Showing
8 changed files
with
103 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,30 @@ | ||
program DAMASK_test | ||
|
||
use parallelization | ||
use HDF5_utilities | ||
|
||
use test_prec | ||
use test_tables | ||
use test_crystal | ||
use test_HDF5_utilities | ||
|
||
call prec_test() | ||
print('(/,a)'), 'begin test prec' | ||
call test_prec_run() | ||
print('(a)'), 'begin test prec' | ||
|
||
print('(/,a)'), 'begin test tables' | ||
call test_tables_run() | ||
print('(a)'), 'end test tables' | ||
|
||
print('(/,a)'), 'begin test crystal' | ||
call test_crystal_run() | ||
print('(a)'), 'end test crystal' | ||
|
||
call parallelization_init() | ||
call HDF5_utilities_init() | ||
|
||
call HDF5_utilities_test() | ||
print('(/,a)'), 'begin test HDF5_utilities' | ||
call test_HDF5_utilities_run() | ||
print('(a)'), 'begin test HDF5_utilities' | ||
|
||
end program DAMASK_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module test_crystal | ||
use crystal | ||
|
||
implicit none(type,external) | ||
|
||
private | ||
public :: test_crystal_run | ||
|
||
contains | ||
|
||
subroutine test_crystal_run() | ||
|
||
call crystal_selfTest() | ||
|
||
end subroutine test_crystal_run | ||
|
||
end module test_crystal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module test_tables | ||
use tables | ||
|
||
implicit none(type,external) | ||
|
||
private | ||
public :: test_tables_run | ||
|
||
contains | ||
|
||
subroutine test_tables_run() | ||
|
||
call tables_selfTest() | ||
|
||
end subroutine test_tables_run | ||
|
||
end module test_tables |