Commit Graph

124 Commits

Author SHA1 Message Date
David Cole 930827d48c ENH: First draft of add_external_project functionality. Tweaks, dashboard fixing, more tests and documentation certain to follow as it gets used by others... 2008-12-04 13:27:48 -05:00
David Cole ceaef94ccc ENH: Implement feature request from issue 7885. Allow setting environment variables on a per-test basis for ctest using set_test_properties ENVIRONMENT. 2008-11-26 14:38:43 -05:00
Bill Hoffman bdfc3fadd3 ENH: add more debug stuff to CTestCTest2 so I can figure out redwall 2008-11-23 10:49:46 -05:00
Bill Hoffman b8435f3d91 ENH: make ctest more verbose so that we can see failure on redwall 2008-11-21 16:37:49 -05:00
Bill Hoffman 1f9d9b2050 ENH: add gfortran-4 2008-11-18 09:37:06 -05:00
David Cole b0536e29ea ENH: Use settings for CPackComponents test to make it fail if the recent fix of cmCPackGenerator.cxx revision 1.16 ever encounters another regression. 2008-10-29 12:27:19 -04:00
Brad King e12f299f9d ENH: Enable cvs update test with CMake before 2.6
When CMake is built by CMake 2.4 or lower the FindCVS module is not
available.  In that case we activiate CTest.UpdateCVS by searching for
the cvs command directly.
2008-10-19 16:16:58 -04:00
Brad King 3584a4eceb ENH: Test CTest update logic with VCS tools
This creates new tests "CTest.UpdateSVN" and "CTest.UpdateCVS".  They
test that the Update.xml produced by CTest for a version-controlled
project contains entries for files added, changed, and removed.
2008-10-19 11:53:01 -04:00
Bill Hoffman 1777bb502a BUG: 4244, add a --build option to cmake that can build projects configured by CMake 2008-10-15 13:56:07 -04:00
Brad King 33e865c041 ENH: Add unset() command.
This introduces the unset() command to make it easy to unset CMake
variables, environment variables, and CMake cache variables.  Previously
it was not even possible to unset ENV or CACHE variables (as in
completely remove them).  Changes based on patch from Philip Lowman.
See issue #7507.
2008-08-25 10:31:29 -04:00
Brad King 181c1eeede ENH: Add test_clean target to wipe out tests
We frequently need to wipe out all the CMake test build directories in
order to run tests from scratch.  This change adds a test_clean custom
target to remove all these directories for out-of-source builds.
2008-08-19 11:43:57 -04:00
Alexander Neundorf e0f59d9af5 BUG: fix endif()
Alex
2008-08-06 17:43:34 -04:00
Alexander Neundorf e6290446d8 ENH: add simple tests to test that the extra generators don't crash
Alex
2008-08-06 16:16:53 -04:00
Bill Hoffman 26aa93d2cd ENH: fix build with Xcode project was missing 2008-07-31 10:54:55 -04:00
David Cole 6ec7ec2079 ENH: Add test for the new CPack BundleGenerator. Thanks to Tim Shead for the patch. See issue #7170 for more details. 2008-07-30 16:36:22 -04:00
Bill Hoffman 2081dcbfce ENH: add get_test_property to bootstrap so bootstrap builds test the same as non-bootstrap builds 2008-07-07 15:07:54 -04:00
Brad King e245d4ea11 BUG: Replace non-bootstrap command with macro
- The GET_TEST_PROPERTY command does not exist during bootstrap.
  - Instead of lots of conditionals, replace it with a macro.
2008-07-03 15:46:37 -04:00
Brad King f58a1370cd ENH: Remove condition on use of CMake 2.4 commands
- Commands SET_TESTS_PROPERTIES and GET_TEST_PROPERTY exist
    in CMake 2.4, which is now required.
  - Therefore we need not check before using them.
2008-07-03 14:38:57 -04:00
Brad King 56f1e0b9c2 COMP: Don't set properties on a non-existing test
- Test SubProject-Stage2 is conditionally created.
  - Set properties on it only if it exists.
2008-07-03 14:34:28 -04:00
Bill Hoffman bb7b27e417 ENH: add initial ctest -j feature 2008-07-03 09:31:33 -04:00
David Cole fd413f2ab8 BUG: Avoid running the new CPackComponents test on Windows unless the NSIS installer is available. 2008-06-19 11:08:08 -04:00
David Cole 1105a86c52 ENH: Add patch for feature request #6847 - CPack components for NSIS and PackageMaker installers. Thanks to Doug Gregor for all the hard work involved with implementing this patch! Also added new test CPackComponents that is conditionally executed only when NSIS or PackageMaker installer builders are available. 2008-06-17 11:39:26 -04:00
Bill Hoffman abe8ecf418 ENH: try turning this on again 2008-06-17 10:51:37 -04:00
Bill Hoffman 6a4dede49b ENH: turn this off until it passes on all systems 2008-06-16 20:10:29 -04:00
Alexander Neundorf 8ef9983db6 ENH: add test which executes all FindXXX.cmake modules
Alex
2008-06-16 14:03:03 -04:00
David Cole 05950097d8 BUG: Allow timeouts larger than 1500 for tests that may take longer than 25 minutes on really slow/busy machines. bootstrap has been timing out on tiamat, a very old machine, this should help it... 2008-04-19 13:37:38 -04:00
Brad King 1cba430d1b ENH: Combine all dependency* tests into one Dependency test. Add more difficult test cases. 2008-02-06 14:52:12 -05:00
Ken Martin 8f5e85c4cc ENH: disable test for vs 70 as devenv randomly segfaults when building the sub-project 2008-02-01 16:17:06 -05:00
Brad King 65761dee55 BUG: Fix commit 1.41 of Tests/CMakeLists.txt to place fake target before --version flag instead of after. 2008-02-01 09:36:54 -05:00
Bill Hoffman 8a83f09637 ENH: fix for bug 3218 dependant projects are written out automatically if they are in the project. Also fix bug 5829, remove hard coded CMAKE_CONFIGURATION_TYPES from vs 7 generator 2008-01-30 12:04:38 -05:00
Brad King 976b426b2d ENH: Added ExportImport test to test new export/import features. 2008-01-28 08:40:21 -05:00
Ken Martin f4b7ba9c42 ENH: add testing for return and break commands 2008-01-23 10:29:21 -05:00
Brad King d2d18fb565 ENH: Added RuntimePath test to make sure rpath gets correct order. 2008-01-22 09:15:16 -05:00
Brad King 19d22f6105 BUG: Do not get in infinite loop when checking make tool version in cmake build tree. 2008-01-21 17:29:54 -05:00
Brad King 8262ccfd4e ENH: Create COMPILE_DEFINITIONS property for targets and source files. Create <config>_COMPILE_DEFINITIONS property as per-configuration version. Add Preprocess test to test the feature. Document limitations on Xcode and VS6 generators. 2008-01-14 09:20:58 -05:00
Ken Martin f4b1c3880b ENH: add functions and raise scope 2007-12-03 13:35:41 -05:00
Bill Hoffman 6718c3c85b BUG: try to fix configure error on dashboard 2007-11-25 17:11:29 -05:00
Alexander Neundorf e3c84cf5a6 ENH: add support for the Syllable OS (http://www.syllable.org)
major issues:
-access() doesn't return false for an empty string (#ifdefed in cmake)
-dlopen() doesn't return 0 on failure (#ifdefed in cmake and fixed now in Syllable)
-the kwsys and Bootstrap tests fail with timeout due to the fact that I'm doing all that in qemu, which is quite slow
-RPATH is now supported, so without modifying the test adapting DLL_PATH in Syllable is required for the tests to succeed
-the Plugin test fails with an undefined reference to example_exe_function() in example_mod_1, it seems this isn't supported under Syllable

Alex
2007-11-23 20:45:49 -05:00
David Cole 4e752dee91 ENH: Add new Tutorial steps. Diff between Step5 and Step6 shows how to add a cpack driven installer to your project. Diff between Step6 and Step7 shows how to add ctest dashboard scripting capability. 2007-11-08 10:38:26 -05:00
Ken Martin 16ac724c91 ENH: add doc test for strict builds 2007-11-06 14:11:00 -05:00
Bill Hoffman dcf21dd90b ENH: remove findqt3 from cmake's cmakelist files 2007-11-02 10:46:03 -04:00
David Cole 8e4c7b99e1 ENH: Finish up the Framework creation code restructuring. Frameworks build and install now. More work needed on the packaging step. See Tests/Framework for example use. 2007-10-10 11:06:15 -04:00
David Cole 890efa7980 COMP: Rename the executables for the SimpleInstall tests so that the executable files that run during the test do not have the word install in their file names. This allows running the tests on Windows Vista without admin privileges and without adding a manifest containing the asInvoker requestedExecutionLevel element. 2007-10-01 15:57:34 -04:00
Bill Hoffman 80e0dd8c05 ENH: increase timeout 2007-09-25 08:36:21 -04:00
Bill Hoffman 004c3639f4 ENH: VV make too much data for the dashboard 2007-09-20 16:48:06 -04:00
Brad King 7735a38557 ENH: Restore shorter timeout for SimpleInstall-Stage2. 2007-09-20 10:47:36 -04:00
Bill Hoffman 797db515a0 ENH: fix failing test when valgrind is on 2007-09-19 11:16:57 -04:00
Brad King 4710c7aef6 ENH: Re-enable packaging part of SimpleInstall-Stage2 test on Apple. Give it a long timeout to see what is going on. 2007-09-19 11:10:35 -04:00
Bill Hoffman ee3d940d97 ENH: increase timeout for long test 2007-09-18 11:35:13 -04:00
Bill Hoffman 41b20b5979 ENH: add test that builds a nightly windows cmake binary 2007-09-10 10:49:05 -04:00
Alexander Neundorf ee9dcc95b4 ENH: add the source_group() demo to the tests
Alex
2007-08-27 14:17:29 -04:00
David Cole 9a4e7ea742 ENH: Add InstallNameFixupPath to support installing built frameworks on the Mac. Change Application to Applications in the BundleTest. Also correct small typo (tcl->Tcl) noted in bug 4572. 2007-08-24 13:30:41 -04:00
Alexander Neundorf 998c176cc0 STYLE: mark these variables as advanced, they are only used for testing
whether the tests should be added or not

Alex
2007-08-09 16:54:28 -04:00
Alexander Neundorf feeb93cbd8 COMP: lets see if this sets the timeout back to 5400
Alex
2007-08-09 09:57:21 -04:00
Alexander Neundorf b34078bca9 COMP: change the order of the tests, so maybe the timeout works
Alex
2007-08-08 10:05:11 -04:00
Alexander Neundorf 5484f1bc0c ENH: also specify the C++ compiler for mingw
Alex
2007-08-08 09:32:44 -04:00
Alexander Neundorf 91384d7df4 BUG: the test for chicken should be named Chicken, not plplot
Alex
2007-08-07 10:13:47 -04:00
Alexander Neundorf 1d89334ac9 ENH: add plplot and Chicken Scheme build tests
Alex
2007-08-06 14:45:12 -04:00
Alexander Neundorf 5021eb90b9 ENH: add a simple assembler test
Alex
2007-07-05 09:05:40 -04:00
Alexander Neundorf 07613ff7f8 COMP: fix tests where the building cmake doesn't have GET_TEST_PROPERTY
Alex
2007-06-27 08:43:06 -04:00
Alexander Neundorf ae47302529 ENH: add a SimpleCOnly test, this is needed e.g. for testing sdcc since this
doesn't support C++ and also doesn't have a printf() implementation by
default
-add a test for mingw cross compiler

Alex
2007-06-26 15:30:02 -04:00
Alexander Neundorf 25a425ecf0 ENH: 2007-06-26 15:15:52 -04:00
Alexander Neundorf 9a696669dc COMP: big timeout for building kdelibs
Alex
2007-06-15 08:42:34 -04:00
Alexander Neundorf 53e5cf3a38 ENH: add test for buildingn kdelibs alpha1 (http://websvn.kde.org/tags/KDE/3.90.1) with cmake
requires Qt >= 4.3.0, DBus, kdesupport (http://websvn.kde.org/trunk/kdesupport/)
and the EasyDashboard scripts.

Alex
2007-06-14 13:55:23 -04:00
Bill Hoffman 227b942584 ENH: remove test 2007-06-11 17:15:00 -04:00
Bill Hoffman 23ef759b40 ENH: add ConvLib test back for some time 2007-06-11 15:00:23 -04:00
Ken Martin 2f07e8e8f8 ENH: added new test for SourceFile objects and properties 2007-05-31 10:29:13 -04:00
Alexander Neundorf 3b4aa3bf35 BUG: always search for ar, ranlib, etc. except under MSVC -> this should fix the mingw fortran test
-also generate the fortran test with the kdevelop generator

Alex
2007-05-21 10:15:42 -04:00
Brad King 7416d0d67d BUG: Fix name of project to build for LoadCommandOneConfig now that it has been renamed for new name of LoadCommand test. 2007-05-20 10:11:48 -04:00
Ken Martin df1a77c225 ENH: some cleanup, condensing some tests, removing arguments that were not needed but rather were cut and paste copies etc 2007-05-18 15:11:20 -04:00
Ken Martin 3aa23ce6eb ENH: revert back to SUBDIRS so that CMake can be built with 2.2 2007-05-14 08:59:09 -04:00
Ken Martin 1c318150a6 ENH: minor fixes 2007-05-11 12:17:27 -04:00
Ken Martin 2208231aac ENH: some more CMakeList cleanups 2007-05-11 10:22:20 -04:00
Ken Martin 0f0a83a51f ENH: more cleanup of some CMakeLists files 2007-05-11 09:02:17 -04:00