-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #303 from xcompact3d/UpdateTests
Split the tests from the examples and update of the related .md files
- Loading branch information
Showing
60 changed files
with
952 additions
and
812 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,6 @@ lint.txt | |
*.log | ||
docs/_build/ | ||
build* | ||
Test* | ||
.cproject | ||
.project | ||
.settings | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
# ABL Neutral | ||
set(case "ABL-Neutral") | ||
set(case_dir "${test_dir}/${case}") | ||
file(MAKE_DIRECTORY ${case_dir}) | ||
set(input_file "input_neutral_test.i3d") | ||
install(DIRECTORY DESTINATION ${CMAKE_INSTALL_PREFIX}/examples/${case}) | ||
install(FILES ${input_file} DESTINATION ${CMAKE_INSTALL_PREFIX}/examples/${case}) | ||
if(ADIOS2_FOUND) | ||
install(FILES adios2_config.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/examples/${case}) | ||
endif() | ||
# If testing active add test for TGV case | ||
file(COPY ${input_file} DESTINATION ${case_dir}) | ||
if(ADIOS2_FOUND) | ||
file(COPY adios2_config.xml DESTINATION ${case_dir}) | ||
endif() | ||
add_test(NAME ${case} COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} $<TARGET_FILE:xcompact3d> ${input_file} WORKING_DIRECTORY ${case_dir}) | ||
# ABL | ||
set(case "ABL-Atmospheric-Boundary-Layer") | ||
set(example_files "") | ||
list(APPEND example_files "adios2_config.xml") | ||
list(APPEND example_files "input_neutral.i3d") | ||
AddExample("${examples_dir}" "${case}" "${example_files}") | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 0 additions & 50 deletions
50
examples/ABL-Atmospheric-Boundary-Layer/legacy/CMakeLists.txt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.