summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove the rpath_remove_file_is_not_executable test case. It fails on ↵David Cole2009-10-172-3/+3
| | | | Windows, but passes on Linux. Put back later after addressing inconsistency.
* Fixed issues with message text in FILE command error situations. Added many ↵David Cole2009-10-172-3/+113
| | | | new test cases to increase the coverage of the FILE command even further.
* Add more testing coverage of the FILE command.David Cole2009-10-162-0/+116
|
* Allow test to pass even if an expected-to-fail submit claims 'Submission ↵David Cole2009-10-161-1/+2
| | | | successful' - apparently when there is a valid HTTP_PROXY involved, our submitting to an empty drop location appears to succeed. Presumably, the proxy simply takes it like a man, and then discards it...
* add a test which checks that cmake can build the latest stable KDE4 ↵Alexander Neundorf2009-10-152-0/+104
| | | | | | | | | | | (kdelibs) release To enable this test, the option TEST_KDE4_STABLE_BRANCH must be switched on. It can only be switched on if CMAKE_RUN_LONG_TESTS is ON. Then the test will only be added if Qt >= 4.5 can be found, Perl can be found and ZLIB can be found. Alex
* Increase ctest coverage. Introduce optionally on intentional compile errors ↵David Cole2009-10-154-1/+24
| | | | and warnings to the SmallAndFast project. Turn them on for the FailedSubmit tests to cover analyzing LABELS-related errors and warnings.
* Use LABELS in some ctest_coverage calls to increase coverage in ↵David Cole2009-10-152-1/+12
| | | | cmCTestCoverageHandler.cxx.
* Add LABELS to the SmallAndFast test project to increase coverage of ctest ↵David Cole2009-10-151-0/+7
| | | | code that is only invoked when labels are present.
* Fix crash on Windows. Remove trailing white space from regex. These changes ↵David Cole2009-10-151-1/+1
| | | | should correct all failures of the new FailedSubmit tests.
* Add another possible error message that curl might emit with an empty drop ↵David Cole2009-10-141-0/+1
| | | | location.
* Use macro instead of function since DASH2 continuous dashboard still uses ↵David Cole2009-10-141-2/+11
| | | | CMake 2.4.8 to drive the dashboard. Add clarifying comments so that a future developer does not delete seemingly unused variables: they are used: inside the input to the configure_file call.
* Increase ctest coverage. Add tests that intentionally call ctest_submit ↵David Cole2009-10-142-1/+70
| | | | without any drop location so that the submits fail. Call for each possible type of submit. Also use the launchers from these scripts.
* Reduce duration of ctest_sleep arguments. Add SmallAndFast project. Replace ↵David Cole2009-10-083-10/+28
| | | | kwsys with SmallAndFast to make CTestTest faster. (I will keep an eye on coverage results after this commit and make sure we still have equivalent ctest coverage.)
* Split Borland compiler information filesBrad King2009-10-081-0/+3
| | | | | | | | | | | This commit re-writes Borland compiler build rules. We split the rules into modern <os>-<id>-<lang> information modules but share a common macro between languages to avoid duplication. We also address a bug in the previous rules that would build some target types against the static Borland runtime and others against the shared Borland runtime in one build tree. Now we always use the shared runtime as is the default in the rules for MS tools.
* Make Complex test of CMakeLib more optionalBrad King2009-10-074-25/+12
| | | | | | | Previously we passed inputs to the decision to each Complex test and let the test source decide. This commit moves the decision out of the tests and makes it an option() in their source. This makes it possible to build the Complex tests from outside the CMake test tree.
* Fix find_package() when <pkg>_DIR is wrongBrad King2009-10-071-3/+33
| | | | | | | | | | | | When <pkg>_DIR is set to an incorrect version we search again and store the result in the variable, even if it is <pkg>_DIR-NOTFOUND. There was a bug in the case when the new search does not find anything and the old value came from a cache entry with UNINITALIZED type. The command used to try to load a package configuration file from the last place searched, and would leave the old wrong value in the entry. This commit fixes the behavior to avoid trying to load a missing file and to set the value to <pkg>_DIR-NOTFOUND as expected.
* More robust implicit link line detection regexBrad King2009-10-071-0/+8
| | | | | | | | The regex used by CMAKE_PARSE_IMPLICIT_LINK_INFO to detect link lines should not match lines that happen to have ".../ld.../..." in them. A linker name should match only as the last component of a path. See issue #9666.
* Use the correct CMake (the freshly built one) to drive the CMakeWizardTest.David Cole2009-10-071-1/+1
|
* Log implicit link information parsing actionsBrad King2009-10-061-1/+3
| | | | | | | This commit teaches the CMAKE_PARSE_IMPLICIT_LINK_INFO function to log its actions. We store the log in CMakeFiles/CMakeOutput.log at the top of the project build tree. This will make diagnosis of implicit link information parsing problems easier.
* Increase coverage. Intentionally trigger error conditions. Call all the ↵David Cole2009-10-064-0/+94
| | | | else*/end* functions without proper opening or containing code structure: else, elseif, endforeach, endfunction, endif, endmacro, endwhile.
* Increase coverage. Add test of class cmakewizard. (cmake -i 'mode')David Cole2009-10-062-0/+57
|
* Fortran test: Match config for external projectBrad King2009-10-051-0/+3
| | | | | | | In the Fortran test we use a custom command to build another Fortran project internally. The project provides a Fortran module and library to which to link. This commit teaches the test to build the extra project using the same build configuration as the main project.
* Add tests for uncovered bits of the math and cmake_minimum_required cmake ↵David Cole2009-10-055-0/+87
| | | | functions.
* Fix Preprocess test for Intel on WindowsBrad King2009-10-051-3/+9
| | | | | | | | We need to leave out the '%' character from tests with the Intel compiler. Since '%' needs to be written '%%' in NMake when not using a response file but just '%' when using a response file, we just skip the character for now. It works with MSVC in NMake only because that compiler expects '%%' inside response files, which do get used.
* Fix ModuleDefinition test for Intel on WindowsBrad King2009-10-053-5/+6
| | | | | | | CMake defines MSVC only for a VS compiler, but the Intel compiler adds the preprocessor definition _MSC_VER. Instead of relying on separate tests to decide whether to use example_dll_2, we do one test in CMake and then add our own preprocessor definition.
* Fix PrecompiledHeader test for Intel on WindowsBrad King2009-10-051-3/+3
| | | | | This commit updates the test's sanity check to allow Intel too. Previously it refused to run on non-MSVC compilers.
* Test target link information invalidationBrad King2009-10-051-0/+5
| | | | | | | | We test this by adding export(TARGETS) to the LinkLanguage test to export the executable before the library is linked to it. Since export(TARGETS) computes the link interface of the target (so that it can export it), this ensures that the information is recomputed after the link library is added.
* Use new style header generation and get rid of OBJECT_DEPENDS in tutorialBill Hoffman2009-10-051-14/+5
|
* Add a few more cases to the new StringTest for even better coverage. ↵David Cole2009-10-033-117/+184
| | | | Re-factor the scripts to make it easier to add new cases to this test. Re-factoring also enables the test driver in ExecuteScriptTests to be re-used when adding new tests in the future.
* Correct some typos in error messages in the string command. Add a test that ↵David Cole2009-10-023-0/+206
| | | | covers more of the code implemented in cmStringCommand.cxx, especially the error handlers.
* Test INTERPROCEDURAL_OPTIMIZATION build featureBrad King2009-10-022-0/+8
| | | | | This creates an "IPO" test that builds some other tests as subdirectories while enabling INTERPROCEDURAL_OPTIMIZATION. See issue #9615.
* Better CMake.ModulesNotice test regexBrad King2009-10-011-2/+3
| | | | | This commit updates the copyright notice regex to enforce a more strict format for contributor copyrights.
* New CMake.ModulesNotice test for copyright noticesBrad King2009-10-012-0/+46
| | | | This new test checks Modules/*.cmake for the required copyright notice.
* Improved safety and removed busy waiting from the CTestTestTimeout test.Zach Mullen2009-09-301-6/+11
|
* Test use of module .def files for MS toolsBrad King2009-09-299-0/+66
| | | | | | This adds a "ModuleDefinition" test enabled when using MSVC tools. It checks that .def files can be used to export .dll and .exe symbols and create corresponding .lib files that can be linked. See issue #9613.
* ENH: Added ctest test coverage for a test timeoutZach Mullen2009-09-295-2/+80
|
* Remove ctest_submit from CTestTestParallelZach Mullen2009-09-291-1/+0
|
* Test support for OLD behavior of policy CMP0002Brad King2009-09-284-0/+13
| | | | | | Policy CMP0002's OLD behavior allows duplicate non-custom targets. We test it with a project that builds two executables of the same name by setting CMP0002 to OLD.
* Oops. Last commit did not create subdir before doing a touch on a file in ↵David Cole2009-09-251-0/+1
| | | | it. So it fails on some platforms. This fixes that.
* Fix CMake Internal Error from cmTarget::GetOutputInfo - triggered by calling ↵David Cole2009-09-251-0/+27
| | | | GetLocation on a utility target - caused by custom command output file with same name as custom target. The fix is to avoid calling GetLocation unless the target is of a type that is expected to have a location...
* SEGFAULT does not work on watcom with ctest, so don't expect it to...Bill Hoffman2009-09-241-2/+8
|
* Use CTEST_TEST_GENERATORBill Hoffman2009-09-241-7/+6
|
* Make sure CTestTest scripts honor the CMAKE_TEST_GENERATOR so that if the ↵Bill Hoffman2009-09-243-21/+18
| | | | generator to build cmake is different than the one used for tests (watcom) is used.
* Visual Studio 10 has the same bug as 8 so make the path shorterBill Hoffman2009-09-231-2/+2
|
* Uncommented the dependency of CTestTestNoExe on CTestTestNoBuild so that it ↵Zach Mullen2009-09-231-1/+1
| | | | will work in parallel now.
* Make portable c for Parallel testZach Mullen2009-09-231-4/+4
|
* Add nightly builds for linux windows and mac.Bill Hoffman2009-09-231-12/+22
|
* Set new ctest tests to always run, whether CTEST_TEST_CTEST is enabled or ↵Zach Mullen2009-09-234-67/+66
| | | | not. Changed parallel test to be portable.
* CTestTestParallel now submits to public dashboard for easier debuggingZach Mullen2009-09-231-0/+1
|
* Teach Xcode generator to set XCODE_VERSIONBrad King2009-09-231-0/+1
| | | | | We set the variable 'XCODE_VERSION' in the CMake language to the Xcode version string (e.g. "3.1.2"). Platform config files may use it later.