summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
...
* BUG 9950: increase timeout for BootstrapTest to 1.5 hoursZach Mullen2009-11-231-1/+1
|
* Fix get_filename_component(... REALPATH) work dirBrad King2009-11-181-0/+15
| | | | | | | The commit "Fix get_filename_component ABSOLUTE mode" broke REALPATH treatment of relative paths because it stopped storing the absolute path in local variable 'filename'. This commit fixes the call to GetRealPath to use the proper local variable and adds a test.
* SimpleInstall test now builds an installer package if CTEST_TEST_CPACK is ON ↵David Cole2009-11-163-2/+17
| | | | at the Tests/CMakeLists.txt level.
* Change logic of ctest subdirs command to allow for absolute paths. Also ↵Zach Mullen2009-11-107-1/+18
| | | | added test coverage for passing absolute paths to subdirs.
* Allow test to work on machines with umasks that do not allow files to be ↵Bill Hoffman2009-11-091-0/+10
| | | | overwritten.
* Fix TRY_RUN cross compile test to pass consistentlyZach Mullen2009-11-092-1/+4
|
* Added test coverage for TRY_RUN in cross compile mode.Zach Mullen2009-11-093-0/+17
|
* Fix issue #9851 - only seed the random number generator on the first call to ↵David Cole2009-11-061-0/+8
| | | | STRING(RANDOM or if given the new RANDOM_SEED argument. Add test and documentation of new argument.
* Check Mac linker lines in ImplicitLinkInfo testBrad King2009-11-051-0/+33
| | | | We add sample linker invocation lines for the GNU compiler on Mac.
* Remove non-language implicit link dependenciesBrad King2009-11-051-15/+15
| | | | | | | | | | | | | | | | Some compilers use implicit link options of the form -lcrt*.o -lgcc* -lSystem (on Mac) -lSystemStubs (on Mac) that provide system-wide symbols not specific to any language. These need not be listed explicitly for mixed-language linking. We teach CMake to remove the above items from the implicit library list of each language. This change makes it possible to mix GNU compiler versions in some cases.
* Document and test find_package <pkg>_DIR env varBrad King2009-11-041-0/+10
| | | | | The find_package(<pkg>) command checks the <pkg>_DIR environment variable. This commit documents and tests the feature.
* Add missing depend because of registry write with complex name, they can not ↵Bill Hoffman2009-11-041-0/+2
| | | | be done in parallel.
* Increase ctest RunScript line coverage. (Note: NEW_PROCESS argument is ↵Zach Mullen2009-10-301-1/+1
| | | | currently causing the test to fail, still investigating the reason for this, will add coverage for it later)
* Switch to using libarchive from libtar for cpack and cmake -E tarBill Hoffman2009-10-303-6/+15
| | | | | | This allows for a built in bzip and zip capability, so external tools will not be needed for these packagers. The cmake -E tar xf should be able to handle all compression types now as well.
* Fix failed submit test 'failures'... Regular expression now matches ↵David Cole2009-10-301-2/+2
| | | | [Cc]ouldn't and [Cc]ould not.
* Hook for scheduling tests in a random orderZach Mullen2009-10-291-2/+2
| | | | | This may help statistically detect implicit dependencies among unit tests while running in parallel.
* Fixed CTestTestRunScriptZach Mullen2009-10-295-30/+8
|
* Backout RunScript test again... (debugging on faraway)Zach Mullen2009-10-291-4/+4
|
* Fix RunScript test; it should now work on all platformsZach Mullen2009-10-294-4/+17
|
* Fix OutDir test on HP, MinGW, and CygwinBrad King2009-10-291-1/+1
| | | | | | | The commit "Test per-config OUTPUT_DIRECTORY properties" added this test with a find_library() call in a CMake script, which requires an explicit list of possible library prefixes and suffixes. This commit adds more suffixes to match the libraries built on HP, MinGW, and Cygwin.
* Add more coverage and use the ARGS option of try_runBill Hoffman2009-10-292-0/+33
|
* Increase timeout for the nightly build tests so that the poor mac nightly ↵David Cole2009-10-281-1/+1
| | | | build on dashmacmini2 might have enough time to complete successfully. Use CMAKE_LONG_TEST_TIMEOUT instead of a hard-coded number for the test TIMEOUT property so that a calling script may adjust it by setting a higher CTEST_TEST_TIMEOUT value.
* Increase timeout for the nightly build tests so that the poor mac nightly ↵David Cole2009-10-281-1/+1
| | | | build on dashmacmini2 might have enough time to complete successfully. Allow for up to 3 hours. After measuring successful runs for a few weeks, perhaps we can use a lower value.
* Avoid failure of CPackComponents test on dash16 and dash17 since makensis ↵David Cole2009-10-281-1/+9
| | | | was installed on those machines to increase coverage. Do not add install rules with absolute paths when makensis is going to be used to build an installer.
* Deleted old RunScript cmake scripts (renamed)Zach Mullen2009-10-282-13/+0
|
* Changed RunScript test to be in-source build safeZach Mullen2009-10-283-2/+15
|
* Test per-config OUTPUT_DIRECTORY propertiesBrad King2009-10-284-0/+88
| | | | | | | We test (ARCHIVE|LIBRARY|RUNTIME)_OUTPUT_DIRECTORY_<CONFIG> properties by building COnly as a subdirectory and setting the properties to put its files in specific locations. We build an executable that verifies the targets actually appear where expected.
* Create CMake.ELF test to cover cmELF furtherBrad King2009-10-276-0/+52
| | | | | This commit adds a CMake.ELF test to exercise cmELF and file(RPATH_*). We test all combinations of 32/64-bit and LSB/MSB binaries.
* Add test CMakeTestBadCommandLines. Also add --graphviz arg to cmake invoked ↵David Cole2009-10-272-0/+95
| | | | during the CPackComponents test. The purpose of each is to increase coverage of cmake.cxx.
* Avoid Intel linker crash in BuildDepends testBrad King2009-10-271-0/+8
| | | | | | | The BuildDepends test exercises incremental linking with MSVC and Intel tools on Windows. In some cases the Intel compiler creates objects that cause the MS linker it invokes to crash during incremental linking. We avoid the problem for this test by disabling incremental linking.
* Test if() boolean coersion and CMP0012 behaviorsBrad King2009-10-272-0/+159
| | | | | | We introduce the "CMake.If" test to try out conversion of constants and variables to boolean values in the if() command. We cover both OLD and NEW behavior for policy CMP0012.
* Add test to enable detecting differences between generation N and N+1 of a ↵David Cole2009-10-262-0/+180
| | | | cmake generated build tree. Theoretically, each generation run with exactly the same arguments should be identical to the previous generation... Practically, there are differences. This is a tool to help us measure those differences. For now, the test always succeeds. Eventually, we may add the code to make it fail when there are differences.
* Disable run_script test for now, it is failing currently on linuxZach Mullen2009-10-261-4/+4
|
* Added test coverage for cmCTestRunScriptCommandZach Mullen2009-10-263-0/+26
|
* Skip SHARED lib Fortran test with XL and old GNUBrad King2009-10-261-1/+15
| | | | | | | | | | The commit "Test all target types in Fortran" enabled a SHARED library in the Fortran test. However, we do not yet implement support for shared libraries with XL Fortran (it seems this requires using the C compiler to link). Furthermore, the old g77 2.97 from Red Hat does not support shared libs on Itanium because the g2c lib is not -fPIC. For now we just disable SHARED libs in the test for these tools.
* Fix Intel and MinGW Fortran DLL import librariesBrad King2009-10-262-1/+3
| | | | | | | | | We add Intel and MinGW Fortran linker options to create the import library portion of a DLL. This allows other binaries to link to a Fortran DLL. We also update the Fortran test to use a .def file to specify exports since there is no __declspec(dllexport) markup syntax in Fortran.
* Add a ctest test to cover cmCTestBatchTestHandler. Since its behavior isn't ↵Zach Mullen2009-10-261-2/+3
| | | | fully defined yet, we just run it as is and don't care much about the result.
* Turn on the NSIS binary for the CPackComponents test if NSIS is found. ↵David Cole2009-10-251-4/+9
| | | | Should increase coverage of the NSIS generator on the dash16 coverage dashboard.
* Test all target types in FortranBrad King2009-10-234-3/+19
| | | | | This teaches the Fortran test to try all basic target types (archive, shared lib, exe) with Fortran-only sources.
* Add test of all cmake -G generators. Ignore any errors from this as not all ↵David Cole2009-10-222-0/+109
| | | | generators are expected to be usable on all machines. Help to increase coverage of the various generators and cmake.cxx itself.
* More verbose BuildDepends test outputBrad King2009-10-221-2/+4
| | | | | We teach BuildDepends to always print the output from each try_compile. This may make debugging easier.
* Test OSX_ARCHITECTURES target propertyBrad King2009-10-214-2/+34
| | | | | | | We test the property with a project that fails to link due to an architecture mismatch between an executable and a static library. See issue #8725.
* Fix failing test. Forgot to double quote last arg to STRING.David Cole2009-10-201-3/+3
|
* Add test of all available CPack generators. Add this test with the goal of ↵David Cole2009-10-203-0/+94
| | | | increasing coverage of the cpack source code, even/especially when the underlying packager tool is not installed. The test does not fail if there is a cpack problem with a certain generator. I expect some generators will fail on every machine running a CMake dashboard.
* Added a ctest add_subdirectory test which fails before my patch made earlier ↵Zach Mullen2009-10-206-0/+65
| | | | today.
* 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