Skip to content

Commit

Permalink
correct errors is gw-rt implementation of run_jedi_exe ctests (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTreadon-NOAA committed Feb 3, 2023
1 parent 0b5676c commit 221a99d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions test/atm/global-workflow/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,18 @@ add_test(NAME test_gdasapp_atm_jjob_ens_post
# run_jedi_exe ctests do not require g-w. place here due to longer run time
# test for ush/run_jedi_exe.py 3dhofx
add_test(NAME test_gdasapp_run_jedi_exe_3dhofx
COMMAND ${PROJECT_SOURCE_DIR}/test/run_jedi_exe_3dhofx.sh
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/run_jedi_exe_3dhofx.sh
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/)
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)

# test for ush/run_jedi_exe.py 3dvar
add_test(NAME test_gdasapp_run_jedi_exe_3dvar
COMMAND ${PROJECT_SOURCE_DIR}/test/run_jedi_exe_3dvar.sh
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/run_jedi_exe_3dvar.sh
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/)
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)

# test for ush/run_jedi_exe.py letkf
add_test(NAME test_gdasapp_run_jedi_exe_letkf
COMMAND ${PROJECT_SOURCE_DIR}/test/run_jedi_exe_letkf.sh
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/run_jedi_exe_letkf.sh
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/)
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)
4 changes: 2 additions & 2 deletions test/atm/global-workflow/run_jedi_exe_3dhofx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ module load GDAS/${machine}
set -x
module list

mkdir -p ${bindir}/test/testoutput/gdas_single_test_hofx3d
cd ${bindir}/test/testoutput/gdas_single_test_hofx3d
mkdir -p ${bindir}/test/atm/global-workflow/testrun/gdas_single_test_hofx3d
cd ${bindir}/test/atm/global-workflow/testrun/gdas_single_test_hofx3d

cat > ./3dhofx_example.yaml << EOF
working directory: ./
Expand Down
4 changes: 2 additions & 2 deletions test/atm/global-workflow/run_jedi_exe_3dvar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ set -x
module list


mkdir -p ${bindir}/test/testoutput/gdas_single_test_3dvar
cd ${bindir}/test/testoutput/gdas_single_test_3dvar
mkdir -p ${bindir}/test/atm/global-workflow/testrun/gdas_single_test_3dvar
cd ${bindir}/test/atm/global-workflow/testrun/gdas_single_test_3dvar

cat > ./3dvar_example.yaml << EOF
working directory: ./
Expand Down
4 changes: 2 additions & 2 deletions test/atm/global-workflow/run_jedi_exe_letkf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ elif [ "$machine" = "orion" ]; then
cominges="/work2/noaa/da/rtreadon/GDASApp/cases"
fi

mkdir -p ${bindir}/test/testoutput/gdas_single_test_letkf
cd ${bindir}/test/testoutput/gdas_single_test_letkf
mkdir -p ${bindir}/test/atm/global-workflow/testrun/gdas_single_test_letkf
cd ${bindir}/test/atm/global-workflow/testrun/gdas_single_test_letkf

cat > ./letkf_example.yaml << EOF
working directory: ./
Expand Down

0 comments on commit 221a99d

Please sign in to comment.