Bill Hoffman
9c12894636
Add missing depend because of registry write with complex name, they can not be done in parallel.
2009-11-03 19:13:40 -05:00
David Cole
cabd917460
Fix failed submit test 'failures'... Regular expression now matches [Cc]ouldn't and [Cc]ould not.
2009-10-30 12:08:10 -04:00
Zach Mullen
dae1011d26
Fixed CTestTestRunScript
2009-10-29 12:46:00 -04:00
Zach Mullen
8ca41ca7fb
Backout RunScript test again... (debugging on faraway)
2009-10-29 10:13:35 -04:00
Zach Mullen
5075c255f7
Fix RunScript test; it should now work on all platforms
2009-10-29 10:00:28 -04:00
David Cole
06b0f676ce
Increase timeout for the nightly build tests so that the poor mac nightly 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.
2009-10-28 15:50:40 -04:00
David Cole
b5615e9c34
Increase timeout for the nightly build tests so that the poor mac nightly 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.
2009-10-28 15:41:52 -04:00
Zach Mullen
5eb4372001
Changed RunScript test to be in-source build safe
2009-10-28 14:11:19 -04:00
Brad King
28c3d59ed9
Test per-config OUTPUT_DIRECTORY properties
...
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.
2009-10-28 13:35:53 -04:00
David Cole
ae1e9900fa
Add test CMakeTestBadCommandLines. Also add --graphviz arg to cmake invoked during the CPackComponents test. The purpose of each is to increase coverage of cmake.cxx.
2009-10-27 12:18:41 -04:00
David Cole
20fe27cda1
Add test to enable detecting differences between generation N and N+1 of a 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.
2009-10-26 16:09:27 -04:00
Zach Mullen
857b5dc9f5
Disable run_script test for now, it is failing currently on linux
2009-10-26 14:37:37 -04:00
Zach Mullen
6e3dd78b8b
Added test coverage for cmCTestRunScriptCommand
2009-10-26 13:10:46 -04:00
Zach Mullen
99697308f3
Add a ctest test to cover cmCTestBatchTestHandler. Since its behavior isn't fully defined yet, we just run it as is and don't care much about the result.
2009-10-26 09:44:08 -04:00
David Cole
62f80415a9
Turn on the NSIS binary for the CPackComponents test if NSIS is found. Should increase coverage of the NSIS generator on the dash16 coverage dashboard.
2009-10-25 17:00:51 -04:00
David Cole
57214662ae
Add test of all cmake -G generators. Ignore any errors from this as not all generators are expected to be usable on all machines. Help to increase coverage of the various generators and cmake.cxx itself.
2009-10-22 10:14:40 -04:00
Brad King
e4897a78b9
Test OSX_ARCHITECTURES target property
...
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 .
2009-10-21 13:01:17 -04:00
David Cole
e1458ae4ab
Add test of all available CPack generators. Add this test with the goal of 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.
2009-10-20 14:31:10 -04:00
Zach Mullen
78174651b6
Added a ctest add_subdirectory test which fails before my patch made earlier today.
2009-10-20 13:35:44 -04:00
David Cole
402fa2ceeb
Allow test to pass even if an expected-to-fail submit claims 'Submission 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...
2009-10-16 11:47:51 -04:00
Alexander Neundorf
7e53bcc115
add a test which checks that cmake can build the latest stable KDE4 (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
2009-10-15 18:18:23 -04:00
David Cole
d03c6d970f
Use LABELS in some ctest_coverage calls to increase coverage in cmCTestCoverageHandler.cxx.
2009-10-15 12:07:14 -04:00
David Cole
886ae02356
Fix crash on Windows. Remove trailing white space from regex. These changes should correct all failures of the new FailedSubmit tests.
2009-10-15 07:38:51 -04:00
David Cole
e3dec97333
Add another possible error message that curl might emit with an empty drop location.
2009-10-14 15:02:16 -04:00
David Cole
a85ac1a734
Use macro instead of function since DASH2 continuous dashboard still uses 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.
2009-10-14 14:18:47 -04:00
David Cole
2137955138
Increase ctest coverage. Add tests that intentionally call ctest_submit without any drop location so that the submits fail. Call for each possible type of submit. Also use the launchers from these scripts.
2009-10-14 13:32:46 -04:00
Brad King
0653286dc6
Split Borland compiler information files
...
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.
2009-10-08 11:56:07 -04:00
Brad King
7dcfc8d23a
Make Complex test of CMakeLib more optional
...
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.
2009-10-07 16:11:52 -04:00
David Cole
a6facbcca3
Use the correct CMake (the freshly built one) to drive the CMakeWizardTest.
2009-10-07 06:33:09 -04:00
David Cole
d8efcfc787
Increase coverage. Add test of class cmakewizard. (cmake -i 'mode')
2009-10-06 13:27:13 -04:00
Brad King
b4ace1cca0
Test INTERPROCEDURAL_OPTIMIZATION build feature
...
This creates an "IPO" test that builds some other tests as subdirectories
while enabling INTERPROCEDURAL_OPTIMIZATION. See issue #9615 .
2009-10-02 13:52:29 -04:00
Brad King
0db2c8505e
Test use of module .def files for MS tools
...
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 .
2009-09-29 16:39:43 -04:00
Zach Mullen
f321dbb17b
ENH: Added ctest test coverage for a test timeout
2009-09-29 15:18:46 -04:00
Brad King
65a78ec5b8
Test support for OLD behavior of policy CMP0002
...
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.
2009-09-28 17:34:34 -04:00
Bill Hoffman
815ec522ee
SEGFAULT does not work on watcom with ctest, so don't expect it to...
2009-09-24 14:14:23 -04:00
Zach Mullen
d33701abbb
Uncommented the dependency of CTestTestNoExe on CTestTestNoBuild so that it will work in parallel now.
2009-09-23 14:13:33 -04:00
Bill Hoffman
fc921a021c
Add nightly builds for linux windows and mac.
2009-09-23 12:45:39 -04:00
Zach Mullen
f3dce87e6d
Set new ctest tests to always run, whether CTEST_TEST_CTEST is enabled or not. Changed parallel test to be portable.
2009-09-23 11:38:37 -04:00
Zach Mullen
664a409ae0
Added tests for ctest parallel options (PARALLEL_LEVEL, PROCESSORS, RUN_SERIAL)
2009-09-22 12:06:03 -04:00
Bill Hoffman
a89bedfc6e
For the complex tests since they link to the CMake library make sure that they are built with the type of build.
2009-09-21 15:26:59 -04:00
Zach Mullen
e4293b4b38
Re-enabled failing tests; fixed ctest_build output to be consistent in the error condition across different make programs so that these tests would pass.
2009-09-21 13:40:40 -04:00
Bill Hoffman
cabca8d903
Disable test as it fails on every system.
2009-09-20 09:42:09 -04:00
Zach Mullen
7b0e7f714b
Disabling CTestTestNoBuild pending investigation of odd g++ output issues.
2009-09-18 15:01:13 -04:00
Zach Mullen
3c32c904b3
Apparently, on FarAway the presence of errors during ctest_build does not cause the calling ctest to return an error condition.
2009-09-18 14:02:14 -04:00
Zach Mullen
a35f11b13e
Cosmetic change to test CMakeLists
2009-09-18 13:34:24 -04:00
Zach Mullen
78e0bfa0fd
Added test coverage for ctest. Covers WILL_FAIL condition, tests that do not build, tests that segfault, and test executable not found (bad command), as well as some pass and fail regular expressions.
2009-09-18 12:16:46 -04:00
Brad King
2541f30287
Test that CTest can handle missing newlines
...
We create test 'CTest.NoNewline' to print output with no newline.
This tests CTest's ability to handle a missing newline.
2009-09-11 16:39:07 -04:00
Brad King
4e16813f63
Put custom commands in topological order for VS 10
...
Visual Studio 10 uses MSBuild to drive the build. Custom commands
appear in MSBuild files inside CustomBuild elements, which appear inside
ItemGroup elements. The Outputs and AdditionalInputs elements of each
CustomBuild element are evaluated according to timestamps on disk.
MSBuild does not use inputs/outputs to order CustomBuild steps within a
single ItemGroup or across multiple ItemGroup elements. Instead we must
put only unrelated CustomBuild elements in a single ItemGroup and order
the item groups from top to bottom using a topological order of the
custom command dependency graph.
This fixes CustomCommand and ExternalProject test failures, so we remove
the expectation of these failures.
2009-09-07 10:12:18 -04:00
Zach Mullen
b427d1985e
Added ctest -N test. Fixed ctest working directory bug. MemCheck fix coming soon...
2009-08-28 11:08:39 -04:00
Brad King
87442aefb0
Remove WXDialog source code
...
The QtDialog is our supported cross-platform GUI, so the WXDialog source
is no longer needed.
2009-08-05 10:15:30 -04:00