1. 07 Dec, 2009 1 commit
  2. 04 Dec, 2009 1 commit
    • David Cole's avatar
      Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of... · 0b38bb4c
      David Cole authored
      Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of running -D dashboards from the command line and running ctest_configure, ctest_build and ctest_test commands in -S scripts. Also, allow a script to change it by setting the CTEST_CONFIGURATION_TYPE variable: allows for multiple configuration build/test cycles within one script. Add a new signature for the cmake command build_command that accepts CONFIGURATION as one argument. The original build_command signature is still there, but now marked as deprecated in the documentation. Of course... also add CTestConfig tests to verify that -C is honored for -D dashboards and -S scripts.
      0b38bb4c
  3. 01 Dec, 2009 1 commit
    • Brad King's avatar
      Always use a configuration for CTestTestTimeout · 7380d3ab
      Brad King authored
      This test requires that the dashboard script it drives be invoked with
      "ctest -C <config> -S ...".  We create a "CTestTest_CONFIG" variable to
      hold a configuration selected at test time.  We use the configuration
      given to the outer CTest, if any, and then default to either Debug or
      the CMAKE_BUILD_TYPE.
      7380d3ab
  4. 30 Nov, 2009 2 commits
    • Brad King's avatar
      CTest: Test process tree kill on timeout · 88eeface
      Brad King authored
      We extend the CTestTestTimeout test to check that when a test times out
      its children (grandchildren of ctest) are killed.  Instead of running
      the timeout executable directly, we run it through a cmake script that
      redirects the timeout executable output to a file.  A second test later
      runs and verifies that the timeout executable was unable to complete and
      write data to the log file.  Only if the first inner test times out and
      the second inner test passes (log is empty) does the CTestTestTimeout
      test pass.
      88eeface
    • Brad King's avatar
      Cleanup CMakeBuildTest in test_clean target · 5152bf56
      Brad King authored
      The test_clean target is supposed to remove all test build directories.
      We add the build directory for CMakeBuildTest because it was missing.
      5152bf56
  5. 24 Nov, 2009 2 commits
    • Brad King's avatar
      Improve fake $HOME test isolation code · 1d6e7ed7
      Brad King authored
      The commit "Fake $HOME to isolate tests from user" started setting $HOME
      in the CTest script environment.  On some platforms tests depend on some
      local configuration in the home directory, such as the "cvs login" for
      KWSys in CTestTest3.
      
      In this commit we now construct a fake home dir during CMake config step
      and populate it with a .cvspass file needed by the test.  We also check
      CTEST_NO_TEST_HOME to optionally disable the test home.
      
      See issue #9949.
      1d6e7ed7
    • Brad King's avatar
      Test CMP0015 OLD and NEW link_directories behavior · bb187903
      Brad King authored
      We create a LinkDirectory test to check that the policy OLD and NEW
      behaviors work as documented.  See issue #9697.
      bb187903
  6. 23 Nov, 2009 1 commit
  7. 16 Nov, 2009 1 commit
  8. 10 Nov, 2009 1 commit
  9. 09 Nov, 2009 2 commits
  10. 03 Nov, 2009 1 commit
  11. 30 Oct, 2009 1 commit
  12. 29 Oct, 2009 3 commits
  13. 28 Oct, 2009 4 commits
  14. 27 Oct, 2009 1 commit
  15. 26 Oct, 2009 4 commits
  16. 25 Oct, 2009 1 commit
  17. 22 Oct, 2009 1 commit
  18. 21 Oct, 2009 1 commit
  19. 20 Oct, 2009 2 commits
  20. 16 Oct, 2009 1 commit
  21. 15 Oct, 2009 3 commits
  22. 14 Oct, 2009 3 commits
  23. 08 Oct, 2009 1 commit
    • Brad King's avatar
      Split Borland compiler information files · 0653286d
      Brad King authored
      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.
      0653286d
  24. 07 Oct, 2009 1 commit
    • Brad King's avatar
      Make Complex test of CMakeLib more optional · 7dcfc8d2
      Brad King authored
      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.
      7dcfc8d2