summaryrefslogtreecommitdiff
path: root/Tests/CTestTest2
Commit message (Collapse)AuthorAgeFilesLines
* Tests: In CTestTest2 configure KWSys encoding to match CMakeBrad King2017-11-091-0/+1
| | | | | | During configuration of KWSys by CMake we write UTF-8 content to a string used by KWSys tests. Tell KWSys to interpret it as UTF-8 instead of the ANSI code page.
* Tests: In CTestTest2 skip the kwsys.testProcess-10 test that leaksBrad King2015-07-311-4/+9
| | | | | | | | | This test intentionally leaks memory so KWSys excludes it from MemCheck. However, when CTestTest2 runs under our own MemCheck then valgrind may recursively check tests run by ctest_test() calls in our test.cmake script. Teach these calls to exluce testProcess-10 too. Also read the KWSys CTestCustom.cmake file so ctest_memcheck() will ignore the test too.
* Tests: Add generator platform supportBrad King2014-09-101-0/+1
| | | | | Propagate CMAKE_GENERATOR_PLATFORM through the test hierarchy so that all tests can build with the selected generator platform, if any.
* CTestTest*: Update minimum required CMake to 2.4Brad King2013-10-231-1/+1
| | | | We will soon deprecate support for compatibility with CMake < 2.4.
* Tests: Add generator toolset supportBrad King2013-02-071-0/+1
| | | | | Propagate CMAKE_GENERATOR_TOOLSET through the test hierarchy so that all tests can build with the selected generator toolset, if any.
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-22/+22
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* CTestTest2: Avoid running purify unless requestedDavid Cole2011-01-271-7/+6
|
* Disable purify on unix, as it works differently and ctest can't use it.Bill Hoffman2010-05-111-0/+8
|
* Add CMAKE_TESTS_CDASH_SERVER variable and CTestSubmitLargeOutput test.David Cole2010-03-081-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If defined and non-empty, the value of CMAKE_TESTS_CDASH_SERVER should point to a CDash server willing to accept submissions for a project named PublicDashboard. On machines that also run a CDash dashboard, set this variable to "http://localhost/CDash-trunk-Testing" so that the CMake tests that submit dashboards do not have to send those submissions over the wire. The CTestSubmitLargeOutput test runs a dashboard that has a test that produces very large amount of output on stdout/stderr. Since we do not even want to attempt to send such large output over the wire, this test is off by default unless the CMAKE_TESTS_CDASH_SERVER server is localhost. This test is expected to cause a submission failure when sent to CDash. It passes if the submit results contain error output. It fails if the submit succeeds. CMAKE_TESTS_CDASH_SERVER: CDash server used by CMake/Tests. If not defined or "", this variable defaults to the server at http://www.cdash.org/CDash. If set explicitly to "NOTFOUND", curl tests and ctest tests that use the network are skipped. If set to something starting with "http://localhost/", the CDash is expected to be an instance of CDash used for CDash testing, pointing to a cdash4simpletest database. In these cases, the CDash dashboards should be run first.
* Remove unused code from CTest test suiteBrad King2009-12-021-13/+0
| | | | | We remove from Tests/CTestTest*/CMakeLists.txt some historical cruft that is no longer used by the test suite.
* ENH: Teach ctest_submit about partsBrad King2009-01-121-0/+5
| | | | | This adds a PARTS option to the ctest_submit command which tells it to submit only parts whose names are listed with the option.
* ENH: preclean some warningsKen Martin2008-03-251-0/+1
|
* ENH: Properly propagate config type to testAndy Cedilnik2006-10-131-1/+1
|
* COMP: Fix for proxy testAndy Cedilnik2005-08-031-0/+2
|
* ENH: Several improvements and cleanups:Andy Cedilnik2005-07-181-3/+6
| | | | | | | 1. Add long command line arguments for every argument 2. Add a way to overwrite CTest configuration by providing --overwrite TimeOut=10 3. Improve argument parsing. 4. Add submit index argument
* ENH: Several improvements to CTest:Andy Cedilnik2005-06-161-1/+1
| | | | | | | | | 1. Support for showing line numbers when debugging ctest --show-line-numbers 2. Modify the ctest initialization code, so that it can be delayed 3. Handlers now have corresponding command if they were invoked from the command (so far only update actually use that) 4. Start command is simplified and the functionality is moved to CTest 5. Update can perform initial checkout if CTEST_CHECKOUT_COMMAND is set 6. Add test that checks out kwsys and perform tests on the fresh checkout
* BUG: Fix typoAndy Cedilnik2005-06-151-1/+1
|
* ENH: Also perform memory checking and coverageAndy Cedilnik2005-06-141-0/+2
|
* ENH: Add capability to include files to DartTestfile.txt and add example of thatAndy Cedilnik2005-06-071-0/+3
|
* ENH: Add notesAndy Cedilnik2005-05-081-0/+2
|
* ENH: Add new style ctest projectAndy Cedilnik2005-05-052-0/+44