run_test22 Subroutine

subroutine run_test22(ut)

Arguments

Type IntentOptional Attributes Name
type(unit_test), intent(inout) :: ut

Calls

proc~~run_test22~~CallsGraph proc~run_test22 run_test22 check check proc~run_test22->check

Called by

proc~~run_test22~~CalledByGraph proc~run_test22 run_test22 program~check check program~check->proc~run_test22

Source Code

   subroutine run_test22(ut)
      type(unit_test), intent(inout) :: ut
#if defined(USE_MPI)
      type(timer) :: t

      call t%mtimer_start()
      call sleep(1)
      call t%mtimer_stop(print=.false.)

      call ut%check(res=t%mpi_time, expected=1.0_rk, tol=1.0e-1_rk, msg='test22')
#else
      call ut%check(res=.true., expected=.true., msg='test22 skipped USE_MPI')
#endif
   end subroutine run_test22