Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions reg_tests/CTestList.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,10 @@ hd_regression("hd_5MW_OC3Spar_DLL_WTurb_WavesIrr" "hydrodyn;offshore")
hd_regression("hd_5MW_OC4Semi_WSt_WavesWN" "hydrodyn;offshore")
hd_regression("hd_5MW_TLP_DLL_WTurb_WavesIrr_WavesMulti" "hydrodyn;offshore")
hd_regression("hd_TaperCylinderPitchMoment" "hydrodyn;offshore")
hd_regression("hd_NBodyMod1" "hydrodyn;offshore")
hd_regression("hd_NBodyMod2" "hydrodyn;offshore")
hd_regression("hd_NBodyMod3" "hydrodyn;offshore")


# Py-HydroDyn regression tests
py_hd_regression("py_hd_5MW_OC4Semi_WSt_WavesWN" "hydrodyn;offshore;python")
Expand Down
10 changes: 2 additions & 8 deletions reg_tests/executeHydrodynRegressionCase.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
from errorPlotting import exportCaseSummary

##### Main program
excludeExt=['.out','.outb','.ech','.yaml','.sum','.log']
excludeExt=['.out','.outb','.ech','.yaml','.sum','.log','.rst']

### Store the python executable for future python calls
pythonCommand = sys.executable
Expand Down Expand Up @@ -92,13 +92,7 @@
# create the local output directory if it does not already exist
# and initialize it with input files for all test cases
if not os.path.isdir(testBuildDirectory):
os.makedirs(testBuildDirectory)
for file in glob.glob(os.path.join(inputsDirectory,"hd_*inp")):
filename = file.split(os.path.sep)[-1]
shutil.copy(os.path.join(inputsDirectory,filename), os.path.join(testBuildDirectory,filename))
for file in glob.glob(os.path.join(inputsDirectory,"*dat")):
filename = file.split(os.path.sep)[-1]
shutil.copy(os.path.join(inputsDirectory,filename), os.path.join(testBuildDirectory,filename))
rtl.copyTree(inputsDirectory, testBuildDirectory, excludeExt=excludeExt)

dirToCopy = os.path.join("glue-codes","openfast","5MW_Baseline","HydroData")
buildDirectoryGlue = os.path.join(buildDirectory,os.pardir,os.pardir,dirToCopy)
Expand Down
2 changes: 1 addition & 1 deletion reg_tests/r-test
Submodule r-test updated 33 files
+6 −3 modules/hydrodyn/hd_NBodyMod1/NBodyMod1.dat
+8 −0 modules/hydrodyn/hd_NBodyMod1/README.md
+4,008 −0 modules/hydrodyn/hd_NBodyMod1/driver.HD.out
+5 −5 modules/hydrodyn/hd_NBodyMod1/hd_driver.inp
+0 −0 modules/hydrodyn/hd_NBodyMod1/semi_4body.1
+0 −0 modules/hydrodyn/hd_NBodyMod1/semi_4body.3
+0 −0 modules/hydrodyn/hd_NBodyMod1/semi_4body.hst
+7 −4 modules/hydrodyn/hd_NBodyMod2/NBodyMod2.dat
+8 −0 modules/hydrodyn/hd_NBodyMod2/README.md
+4,008 −0 modules/hydrodyn/hd_NBodyMod2/driver.HD.out
+5 −5 modules/hydrodyn/hd_NBodyMod2/hd_driver.inp
+0 −0 modules/hydrodyn/hd_NBodyMod2/semi_center.1
+0 −0 modules/hydrodyn/hd_NBodyMod2/semi_center.3
+0 −0 modules/hydrodyn/hd_NBodyMod2/semi_center.hst
+0 −0 modules/hydrodyn/hd_NBodyMod2/semi_col.1
+0 −0 modules/hydrodyn/hd_NBodyMod2/semi_col.3
+0 −0 modules/hydrodyn/hd_NBodyMod2/semi_col.hst
+7 −4 modules/hydrodyn/hd_NBodyMod3/NBodyMod3.dat
+8 −0 modules/hydrodyn/hd_NBodyMod3/README.md
+4,008 −0 modules/hydrodyn/hd_NBodyMod3/driver.HD.out
+5 −5 modules/hydrodyn/hd_NBodyMod3/hd_driver.inp
+0 −0 modules/hydrodyn/hd_NBodyMod3/semi_center.1
+0 −0 modules/hydrodyn/hd_NBodyMod3/semi_center.3
+0 −0 modules/hydrodyn/hd_NBodyMod3/semi_center.hst
+0 −0 modules/hydrodyn/hd_NBodyMod3/semi_col1.1
+0 −0 modules/hydrodyn/hd_NBodyMod3/semi_col1.3
+0 −0 modules/hydrodyn/hd_NBodyMod3/semi_col1.hst
+0 −0 modules/hydrodyn/hd_NBodyMod3/semi_col2.1
+0 −0 modules/hydrodyn/hd_NBodyMod3/semi_col2.3
+0 −0 modules/hydrodyn/hd_NBodyMod3/semi_col2.hst
+0 −0 modules/hydrodyn/hd_NBodyMod3/semi_col3.1
+0 −0 modules/hydrodyn/hd_NBodyMod3/semi_col3.3
+0 −0 modules/hydrodyn/hd_NBodyMod3/semi_col3.hst