Commits

Harald Klimach committed 485d564

Updated utests to changed interface for open_config -> open_config_file

Comments (0)

Files changed (2)

utests/aot_table_test.f90

   use flu_binding, only: flu_State
 
   use aot_kinds_module, only: double_k, long_k
-  use aotus_module, only: open_config, close_config
+  use aotus_module, only: open_config_file, close_config
   use aot_top_module, only: aoterr_Fatal, aoterr_NonExistent, aoterr_WrongType
   use aot_table_module, only: aot_table_open, aot_table_close, &
     &                         aot_table_length, aot_table_get_val
   write(*,*)
   write(*,*) 'Running aot_table_test...'
 
-  call open_config(L = conf, filename = 'aot_table_test_config.lua', &
-    &              ErrCode = iError, ErrString = ErrString)
+  call open_config_file(L = conf, filename = 'aot_table_test_config.lua', &
+    &                   ErrCode = iError, ErrString = ErrString)
   if (iError /= 0) then
     write(*,*) 'Unexpected FATAL Error occured !!!'
     write(*,*) 'Could not open the config file aot_table_test_config.lua:'

utests/aotus_test.f90

   use flu_binding, only: flu_State
 
   use aot_kinds_module, only: double_k, long_k
-  use aotus_module, only: open_config, close_config, aot_get_val
+  use aotus_module, only: open_config_file, close_config, aot_get_val
   use aot_top_module, only: aoterr_Fatal, aoterr_NonExistent, aoterr_WrongType
 
   implicit none
   call create_script('aotus_test_config.lua')
   write(*,*)
   write(*,*) 'Running aotus_test...'
-  write(*,*) ' * open_config (aotus_test_config.lua)'
-  call open_config(L = conf, filename = 'aotus_test_config.lua', &
-    &              ErrCode = iError, ErrString = ErrString)
+  write(*,*) ' * open_config_file (aotus_test_config.lua)'
+  call open_config_file(L = conf, filename = 'aotus_test_config.lua', &
+    &                   ErrCode = iError, ErrString = ErrString)
   if (iError /= 0) then
     write(*,*) ' : unexpected FATAL Error occured !!!'
     write(*,*) ' : Could not open the config file aotus_test_config.lua:'