run_test19 Subroutine

subroutine run_test19(ut)

Arguments

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

Calls

proc~~run_test19~~CallsGraph proc~run_test19 run_test19 check check proc~run_test19->check

Called by

proc~~run_test19~~CalledByGraph proc~run_test19 run_test19 program~check check program~check->proc~run_test19

Source Code

   subroutine run_test19(ut)
      type(unit_test), intent(inout) :: ut
#if defined(USE_OMP)
      type(timer) :: t

      call t%otimer_start()
      call sleep(1)
      call t%otimer_stop(print=.false.)

      call ut%check(res=t%omp_time, expected=1.0_rk, tol=1.0e-1_rk, msg='test19')
#else
      call ut%check(res=.true., expected=.true., msg='test19 skipped USE_OMP')
#endif
   end subroutine run_test19