-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add `DNDEBUG` test case * add `build_unittests` to build all the test targets * implement `geos_add_test` * enforce `CMake` consistency (tests)
- Loading branch information
Showing
47 changed files
with
420 additions
and
522 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
Submodule integratedTests
updated
1669 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
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
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,27 +1,20 @@ | ||
# | ||
# Specify list of tests | ||
# | ||
|
||
set( testSources | ||
testGeosxTraits.cpp | ||
testStringUtilities.cpp | ||
testParsing.cpp | ||
) | ||
testParsing.cpp ) | ||
|
||
set(dependencyList gtest codingUtilities ${parallelDeps} ) | ||
set( dependencyList gtest codingUtilities ${parallelDeps} ) | ||
|
||
# | ||
# Add gtest C++ based tests | ||
# | ||
foreach( test ${testSources} ) | ||
get_filename_component( test_name ${test} NAME_WE ) | ||
blt_add_executable( NAME ${test_name} | ||
SOURCES ${test} | ||
OUTPUT_DIR ${TEST_OUTPUT_DIRECTORY} | ||
DEPENDS_ON ${dependencyList} ) | ||
|
||
blt_add_test( NAME ${test_name} | ||
COMMAND ${test_name} | ||
) | ||
geos_add_test( NAME ${test_name} | ||
COMMAND ${test_name} ) | ||
|
||
endforeach() |
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,33 +1,26 @@ | ||
# | ||
# Specify list of tests | ||
# | ||
|
||
set(gtest_geosx_tests | ||
testDataTypes.cpp | ||
testFixedSizeDeque.cpp | ||
testTypeDispatch.cpp | ||
testLifoStorage.cpp | ||
) | ||
set( gtest_geosx_tests | ||
testDataTypes.cpp | ||
testFixedSizeDeque.cpp | ||
testTypeDispatch.cpp | ||
testLifoStorage.cpp ) | ||
|
||
if ( ENABLE_CALIPER ) | ||
list( APPEND gtest_geosx_tests | ||
testCaliperSmoke.cpp ) | ||
endif() | ||
|
||
set( dependencyList ${parallelDeps} common hdf5 gtest ) | ||
# | ||
|
||
# Add gtest C++ based tests | ||
# | ||
foreach(test ${gtest_geosx_tests}) | ||
get_filename_component( test_name ${test} NAME_WE ) | ||
blt_add_executable( NAME ${test_name} | ||
SOURCES ${test} | ||
OUTPUT_DIR ${TEST_OUTPUT_DIRECTORY} | ||
DEPENDS_ON ${dependencyList} | ||
) | ||
DEPENDS_ON ${dependencyList} ) | ||
|
||
blt_add_test( NAME ${test_name} | ||
COMMAND ${test_name} | ||
) | ||
geos_add_test( NAME ${test_name} | ||
COMMAND ${test_name} ) | ||
|
||
endforeach() |
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
Oops, something went wrong.