| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
b6346f2 Tests: Fix warning about unused variable
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Resolve this warning:
".../Tests/CMakeCommands/target_link_libraries/depB.cpp", line 8: warning:
variable "a" was declared but never referenced
DepA a;
^
|
|/ |
|
|
|
|
|
|
|
| |
The CMakeCommands.build_command test performs output/error checking
so move it over to RunCMake to re-use the generalized infrastrucure.
This is the only test left using Tests/CMakeCommands/CMakeLists.txt
so remove it.
|
| |
|
|
|
|
|
| |
Verify that the command produces a FATAL_ERROR if and only if the
missing package is REQUIRED.
|
|
|
|
|
|
|
|
| |
Add a "CMakeCommands.find_package" test to run CMake on a bunch of cases
in which find_package fails. Check that the process return code and
warning/error messages are as expected. Record expected test output in
corresponding files for reference by the check. These files will also
serve as a reference for the message text in each case.
|
|
|
|
|
| |
Generalize the build_command test framework as a macro to add the
test. Process the CMakeCommands subdirectory explicitly.
|
| |
|
|
|
|
|
| |
Makes it possible to specify the link dependencies and link
interfaces in one command without repetition.
|
|
running -D dashboards from the command line and running ctest_configure, ctest_build and ctest_test commands in -S scripts. Also, allow a script to change it by setting the CTEST_CONFIGURATION_TYPE variable: allows for multiple configuration build/test cycles within one script. Add a new signature for the cmake command build_command that accepts CONFIGURATION as one argument. The original build_command signature is still there, but now marked as deprecated in the documentation. Of course... also add CTestConfig tests to verify that -C is honored for -D dashboards and -S scripts.
|