summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Add test for unused warnings at the end of scope"Ben Boeckel2010-09-171-15/+0
| | | | | | | This reverts commit 91c4c9921c40361df860c1384a46ed77c6118c23. The test doesn't work yet and should not have been put on this branch yet.
* Add test for unused warnings at the end of scopeBen Boeckel2010-09-161-0/+15
|
* Add test for unused detection via setting itBen Boeckel2010-09-161-0/+15
|
* Add test for usage checks via unsetBen Boeckel2010-09-161-0/+15
|
* Be consistent with single and double quotesBen Boeckel2010-09-021-3/+3
|
* Add test for uninitialized variablesBen Boeckel2010-09-021-0/+13
|
* Add tests for unused command line variablesBen Boeckel2010-09-021-0/+28
|
* Remove the ctest submit larget output test.Bill Hoffman2010-08-091-30/+0
| | | | | This test is better covered in CDash now. It is always failing due to changes in CDash. So, it is better removed from CMake.
* Merge topic 'fix-CTestTestFailedSubmit-xmlrpc'Brad King2010-08-031-0/+1
|\ | | | | | | | | fbe67a9 CTestTestFailedSubmit-xmlrpc: Pass with "Submission problem"
| * CTestTestFailedSubmit-xmlrpc: Pass with "Submission problem"Modestas Vainius2010-07-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | Pass the test when there is "Submission problem" in the output. This is at least applicable to XMLRPC. Full error message is below: ------ Submission problem: Curl failed to perform HTTP POST request. curl_easy_perform() says: <url> malformed (-504) . Problems when submitting via XML-RPC ------
* | Refer to self with CMake_(SOURCE|BINARY)_DIR (#10046)Brad King2010-07-291-6/+6
|/ | | | | This is good practice, and is necessary to support building CMake as a subdirectory of another project.
* Merge topic 'resolve/ctest-file-checksum/remove-CTestTest3'Brad King2010-07-131-0/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | 38c762c Merge 'remove-CTestTest3' into ctest-file-checksum 46df0b4 Activate retry code on any curl submit failure. 8705497 Checksum test should use CMAKE_TESTS_CDASH_SERVER d0d1cdd Mock checksum failure output for old CDash versions af5ef0c Testing for CTest checksum 86e81b5 CTest should resubmit in the checksum failed case d6b7107 Fix subscript out of range crash 082c87e Cross-platform fixes for checksum/retry code e525649 Checksums on CTest submit files, and retry timed out submissions.
| * Merge 'remove-CTestTest3' into ctest-file-checksumBrad King2010-07-131-14/+34
| |\ | | | | | | | | | | | | Conflicts: Tests/CMakeLists.txt
| * | Testing for CTest checksumZach Mullen2010-06-101-0/+11
| | |
* | | Add another expected output for the failed submit tests.David Cole2010-07-121-0/+1
| | | | | | | | | | | | | | | | | | The CTestTestFailedSubmit-http test was failing on the hut11 Experimental dashboards with "Empty reply from server" due to a localhost settings change.
* | | Fix cycle detection for test dependenciesZach Mullen2010-06-301-1/+23
| | |
* | | Merge branch 'remove-CTestTest3'Brad King2010-06-151-13/+0
|\ \ \ | | |/ | |/|
| * | Remove CTestTest3.David Cole2010-06-131-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At this point, CTestTest3 causes more problems than it's worth. It uses CVS to grab a remote (over the network) copy of kwsys code for testing. This causes some sort of problem nearly every night on the nightly CMake dashboards. Worse: it causes problems on different machines on different nights, then the next day, it's fine again. So: remove this test and monitor the coverage. If we lose a significant portion of code coverage, I will revert this commit and re-activate the test. However, if we do not lose a significant portion of code coverage, I will remove the code for the test as well as removing it from the CMakeLists.txt file. Brad King and I discussed this over the last few weeks, and we both think we have sufficient coverage of all the checkout and update code in other locally (non-network) based tests. On the other hand, even if we do take a mild hit on coverage temporarily, it should be relatively easy to increase our coverage again by adding bits to those other locally based tests.
* | | Merge branch 'msys-bootstrap-test'Brad King2010-06-151-5/+13
|\ \ \
| * | | Enable BootstrapTest on MSYSBrad King2010-06-111-5/+13
| |/ / | | | | | | | | | | | | | | | The bootstrap script works under MSYS, so test it. Use a launcher batch file since 'ctest --build-and-test' is a Windows program and will not honor the shebang line in the script.
* | | Run CTest.NoNewline test using built CMakeBrad King2010-06-101-1/+1
|/ / | | | | | | | | | | Even though this test is checking that the ctest running it can handle test output without newlines we should run the just-built CMake binary. This allows the MemCheck test mode to check the correct CMake.
* | Merge branch 'per-config-link-flags'Brad King2010-06-071-0/+28
|\ \
| * | Add STATIC_LIBRARY_FLAGS_<CONFIG> property (#10768)Brad King2010-05-281-3/+0
| | | | | | | | | | | | This is a per-configuration version of STATIC_LIBRARY_FLAGS.
| * | Test LINK_FLAGS and STATIC_LIBRARY_FLAGS (#10768)Brad King2010-05-281-0/+31
| |/ | | | | | | | | | | Add a LinkFlags test series to check that these properties work. Since no link flag is accepted everywhere we test for presence of flags by adding a bad flag and looking for the complaint in the test output.
* | Merge branch 'fix-large-output-test'Brad King2010-06-071-0/+5
|\ \
| * | Use the long test timeout value for SubmitLargeOutput.David Cole2010-06-031-0/+5
| |/ | | | | | | | | | | Hopefully this will be a large enough value to get the large output test to pass on the still exceedingly slow dash19.
* | change nightly release builds to use next, and move qmake on dash2win64Bill Hoffman2010-05-281-1/+1
|/
* Fix CTestTestScheduler sporadic failure.Zach Mullen2010-05-071-1/+1
| | | | Increased the time difference between each test so that overburdened systems won't fail this test sometimes.
* Fix 'Architecture' test for more Mac linkersBrad King2010-05-061-1/+1
| | | | | | | | | Some Mac linkers produce the message "file was built for unsupported file format which is not the architecture being linked" for this test. Update the test output regex to match it.
* Fix missing set of MSVC10 and add CheckCompilerRelatedVariables test.David Cole2010-04-301-0/+2
|
* Add the --stop-time argumentZach Mullen2010-03-171-1/+16
| | | | Unit test and script hook for STOP_TIME
* Add CMAKE_TESTS_CDASH_SERVER variable and CTestSubmitLargeOutput test.David Cole2010-03-081-3/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add unit test for RESOURCE_LOCK test propertyZach Mullen2010-03-031-1/+10
|
* Different versions of cygwin report differet messages for cygwinBill Hoffman2010-02-261-2/+2
| | | | | For cygwin pass the badexe test if either ***Failed or BAD_COMMAND show up in the output of the test.
* Change the tag to be master from CVS for release scriptsBill Hoffman2010-02-251-2/+2
|
* Add a high COST value to BootstrapTest so that it will be scheduled first in ↵Zach Mullen2010-02-111-0/+2
| | | | parallel ctest executions.
* Re-enabled Scheduler test and fixed the underlying problem.Zach Mullen2010-02-031-10/+10
|
* Disable Scheduler test until underlying problem is resolved.Zach Mullen2010-02-031-10/+10
|
* Add unit test to ensure that CTestCostData scheduling works correctlyZach Mullen2010-02-031-0/+11
|
* Fix BadExe test on cygwin.Bill Hoffman2009-12-181-6/+8
|
* Test the CheckTypeSize moduleBrad King2009-12-171-0/+2
| | | | | We create test "Module.CheckTypeSize" to verify that type sizes get detected correctly.
* Teach ADD_TEST_MACRO about test namespacesBrad King2009-12-171-4/+6
| | | | | | We teach ADD_TEST_MACRO to transform names of the form "Namespace.Name" to the directory "Namespace/Name" and the project name "Name". This will allow new tests to be better organized.
* Workaround for CTestTestBadExe on CygwinZach Mullen2009-12-171-2/+6
|
* Add a test to build the CSE project if the optional cache entry ↵David Cole2009-12-151-0/+13
| | | | CMAKE_TEST_PROJECT_CSE_DIR is set.
* Add one more possible error message from curl for the failed submit tests.David Cole2009-12-151-0/+1
|
* Test FortranCInterface flag propagationBrad King2009-12-141-0/+9
| | | | | | We create test FortranC.Flags to try passing per-language flags from a project into its FortranCInterface detect/verify checks. We wrap the compilers with scripts that enforce presence of expected flags.
* New decision method to enable Fortran testsBrad King2009-12-101-14/+5
| | | | | | | | | | CMake does not enable Fortran for its own build, but it needs to find a Fortran compiler to know if it is possible to enable Fortran tests. Previously we searched for a hard-coded list of Fortran compilers which was duplicated from the CMakeDetermineFortranCompiler.cmake module. We now run CMake on a small test project that enables the Fortran language and reports the compiler it found. This represents a more realistic check of whether the Fortran tests will be able to find a compiler.
* Test 'install' target of CMake itselfBrad King2009-12-101-0/+2
| | | | | | We create option CMake_TEST_INSTALL to enable a new CMake.Install test. It tests running the "make install" target to install CMake itself into a test directory. We enable the option by default for dashboard builds.
* Apply CMake test-time config to all testsBrad King2009-12-101-4/+0
| | | | | | We configure an EnforceConfig.cmake script to load at CTest time. Previously we loaded it from Tests/CTestTestfile.cmake, but now we load it from the top level so it applies to all tests.
* Create CMakeLib test driver and test cmXMLParserBrad King2009-12-081-0/+2
| | | | | We create a new CMakeLibTests driver executable in which to writes unit tests for CMakeLib. Our first test is a smoke-test of cmXMLParser.