[Cmake-commits] CMake branch, next, updated. v2.8.2-385-g8bd3fb7

Bill Hoffman bill.hoffman at kitware.com
Mon Aug 9 13:23:43 EDT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  8bd3fb71b0a6343bc14db4368c35ec7097bc1541 (commit)
       via  929b1c6be335dbb480de0814b02ccd56836282c3 (commit)
      from  c4663ab035bc4340cabdce3ee047d8c48fccbc90 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8bd3fb71b0a6343bc14db4368c35ec7097bc1541
commit 8bd3fb71b0a6343bc14db4368c35ec7097bc1541
Merge: c4663ab 929b1c6
Author:     Bill Hoffman <bill.hoffman at kitware.com>
AuthorDate: Mon Aug 9 13:23:11 2010 -0400
Commit:     Bill Hoffman <bill.hoffman at kitware.com>
CommitDate: Mon Aug 9 13:23:11 2010 -0400

    Merge branch 'remove_submit_large_output' into next


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=929b1c6be335dbb480de0814b02ccd56836282c3
commit 929b1c6be335dbb480de0814b02ccd56836282c3
Author:     Bill Hoffman <bill.hoffman at kitware.com>
AuthorDate: Mon Aug 9 13:21:19 2010 -0400
Commit:     Bill Hoffman <bill.hoffman at kitware.com>
CommitDate: Mon Aug 9 13:21:19 2010 -0400

    Remove the ctest submit larget output test.
    
    This test is better covered in CDash now.  It is always failing due
    to changes in CDash.  So, it is better removed from CMake.

diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 0743c5a..5383bda 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -1520,36 +1520,6 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
     ENDIF ("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND)
   ENDIF (CTEST_TEST_CTEST AND CMAKE_RUN_LONG_TESTS AND CMAKE_TESTS_CDASH_SERVER)
 
-  IF(NOT DEFINED CTEST_RUN_CTestSubmitLargeOutput)
-    SET(CTEST_RUN_CTestSubmitLargeOutput OFF)
-
-    IF (CMAKE_TESTS_CDASH_SERVER AND "${server}" STREQUAL "localhost")
-      SET(CTEST_RUN_CTestSubmitLargeOutput ON)
-    ENDIF (CMAKE_TESTS_CDASH_SERVER AND "${server}" STREQUAL "localhost")
-  ENDIF(NOT DEFINED CTEST_RUN_CTestSubmitLargeOutput)
-
-  IF(CTEST_RUN_CTestSubmitLargeOutput)
-    CONFIGURE_FILE(
-      "${CMake_SOURCE_DIR}/Tests/CTestSubmitLargeOutput/test.cmake.in"
-      "${CMake_BINARY_DIR}/Tests/CTestSubmitLargeOutput/test.cmake"
-      @ONLY ESCAPE_QUOTES
-      )
-    ADD_TEST(CTestSubmitLargeOutput ${CMAKE_CTEST_COMMAND}
-      -S "${CMake_BINARY_DIR}/Tests/CTestSubmitLargeOutput/test.cmake" -V
-      --output-log "${CMake_BINARY_DIR}/Tests/CTestSubmitLargeOutput/testOutput.log"
-      )
-
-    # This test only passes if it fails to submit properly...
-    #
-    SET_TESTS_PROPERTIES(CTestSubmitLargeOutput PROPERTIES
-      PASS_REGULAR_EXPRESSION "Errors occurred during submission")
-
-    # Give this test plenty of time to run on slower machines:
-    #
-    SET_TESTS_PROPERTIES(CTestSubmitLargeOutput PROPERTIES
-      TIMEOUT ${CMAKE_LONG_TEST_TIMEOUT})
-  ENDIF(CTEST_RUN_CTestSubmitLargeOutput)
-
   IF (CMAKE_RUN_LONG_TESTS AND TEST_KDE4_STABLE_BRANCH)
     IF(UNIX)
       IF(NOT QT4_FOUND)
diff --git a/Tests/CTestSubmitLargeOutput/CMakeLists.txt b/Tests/CTestSubmitLargeOutput/CMakeLists.txt
deleted file mode 100644
index 6c30e7a..0000000
--- a/Tests/CTestSubmitLargeOutput/CMakeLists.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-cmake_minimum_required(VERSION 2.8)
-project(SubmitLargeOutput NONE)
-
-include(CTest)
-
-add_test(GenerateRandomOutput ${CMAKE_COMMAND}
-  -P ${CMAKE_CURRENT_SOURCE_DIR}/GenerateRandomOutput.cmake
-  )
diff --git a/Tests/CTestSubmitLargeOutput/CTestConfig.cmake b/Tests/CTestSubmitLargeOutput/CTestConfig.cmake
deleted file mode 100644
index ffd6efc..0000000
--- a/Tests/CTestSubmitLargeOutput/CTestConfig.cmake
+++ /dev/null
@@ -1,6 +0,0 @@
-set(CTEST_PROJECT_NAME "SubmitLargeOutput")
-set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
-set(CTEST_DROP_METHOD "http")
-set(CTEST_DROP_SITE "www.cdash.org")
-set(CTEST_DROP_LOCATION "/CDash/submit.php?project=PublicDashboard")
-set(CTEST_DROP_SITE_CDASH TRUE)
diff --git a/Tests/CTestSubmitLargeOutput/GenerateRandomOutput.cmake b/Tests/CTestSubmitLargeOutput/GenerateRandomOutput.cmake
deleted file mode 100644
index c7f4f29..0000000
--- a/Tests/CTestSubmitLargeOutput/GenerateRandomOutput.cmake
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# This script generates random lines of output.
-#
-# By default, it generates 100M of output (a million lines of 100 bytes each),
-# but you can override that by passing in -D line_count and/or -D line_size...
-#
-
-# Default values:
-#
-if(NOT DEFINED line_count)
-  set(line_count 1000000)
-endif()
-
-if(NOT DEFINED line_size)
-  set(line_size 100)
-endif()
-
-if(NOT DEFINED random_seed)
-  set(random_seed 1987)
-endif()
-
-# Use RANDOM_SEED once before the loop:
-#
-string(RANDOM LENGTH ${line_size} RANDOM_SEED ${random_seed} s)
-
-# Emit line_count lines of random output:
-#
-foreach(i RANGE 1 ${line_count})
-  string(RANDOM LENGTH ${line_size} s)
-  message(${s})
-endforeach()
diff --git a/Tests/CTestSubmitLargeOutput/test.cmake.in b/Tests/CTestSubmitLargeOutput/test.cmake.in
deleted file mode 100644
index 17a7c7d..0000000
--- a/Tests/CTestSubmitLargeOutput/test.cmake.in
+++ /dev/null
@@ -1,27 +0,0 @@
-SET(CTEST_SITE "@SITE@")
-SET(CTEST_BUILD_NAME "LargeOutput- at BUILDNAME@")
-SET(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
-SET(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
-
-SET(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestSubmitLargeOutput")
-SET(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestSubmitLargeOutput/build")
-SET(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
-
-CTEST_EMPTY_BINARY_DIRECTORY(${CTEST_BINARY_DIRECTORY})
-
-CTEST_START(Experimental)
-CTEST_CONFIGURE(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
-CTEST_READ_CUSTOM_FILES("${CTEST_BINARY_DIRECTORY}")
-CTEST_BUILD(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
-
-SET(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE 1000000000)
-SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 1000000000)
-SET(CTEST_TEST_TIMEOUT @CMAKE_LONG_TEST_TIMEOUT@)
-
-CTEST_TEST(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
-
-set(CTEST_DROP_METHOD "@protocol@")
-set(CTEST_DROP_SITE "@server@")
-set(CTEST_DROP_LOCATION "@path@/submit.php?project=PublicDashboard")
-
-CTEST_SUBMIT(RETURN_VALUE res)

-----------------------------------------------------------------------

Summary of changes:
 Tests/CMakeLists.txt                               |   30 -------------------
 Tests/CTestSubmitLargeOutput/CMakeLists.txt        |    8 -----
 Tests/CTestSubmitLargeOutput/CTestConfig.cmake     |    6 ----
 .../GenerateRandomOutput.cmake                     |   31 --------------------
 Tests/CTestSubmitLargeOutput/test.cmake.in         |   27 -----------------
 5 files changed, 0 insertions(+), 102 deletions(-)
 delete mode 100644 Tests/CTestSubmitLargeOutput/CMakeLists.txt
 delete mode 100644 Tests/CTestSubmitLargeOutput/CTestConfig.cmake
 delete mode 100644 Tests/CTestSubmitLargeOutput/GenerateRandomOutput.cmake
 delete mode 100644 Tests/CTestSubmitLargeOutput/test.cmake.in


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list