diff --git a/debian/changelog b/debian/changelog index 36991090c..862daeebd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ cmake (2.8.2-2) UNRELEASED; urgency=low + [ Kai Wasserbäch ] * debian/control: - Added libarchive-dev to Build-Depends. - Don't {,B-}D on procps on Hurd, already provided by hurd. @@ -7,6 +8,11 @@ cmake (2.8.2-2) UNRELEASED; urgency=low * debian/patches/add_libarchive_script.patch: Added to allow building with the system's libarchive. + [ Modestas Vainius ] + * Build with CTEST_USE_XMLRPC to reenable XMLRPC support in CTest and add + fix-CTestTestFailedSubmit-xmlrpc.diff patch to fix a (wrongly) failing test + in that case. + -- Kai Wasserbäch Fri, 02 Jul 2010 01:06:56 +0200 cmake (2.8.2-1) unstable; urgency=low diff --git a/debian/patches/fix-CTestTestFailedSubmit-xmlrpc.diff b/debian/patches/fix-CTestTestFailedSubmit-xmlrpc.diff new file mode 100644 index 000000000..64db3e18d --- /dev/null +++ b/debian/patches/fix-CTestTestFailedSubmit-xmlrpc.diff @@ -0,0 +1,22 @@ +Subject: pass the CTestTestFailedSubmit-xmlrpc test when there is "Submission problem" in the output + This is at least applicable to XMLRPC. Full error message is below: + ------ + Submission problem: Curl failed to perform HTTP POST request. curl_easy_perform() says: malformed (-504) + . + Problems when submitting via XML-RPC + ------ +Author: Modestas Vainius +Forwarded: no +Origin: vendor +Last-Update: 2010-07-02 + +--- a/Tests/CMakeLists.txt ++++ b/Tests/CMakeLists.txt +@@ -1413,6 +1413,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION= + set(regex "${regex}|The requested URL returned error") + set(regex "${regex}|libcurl was built with SSL disabled. https: not supported)") + set(regex "${regex}|Submission method .xmlrpc. not compiled into CTest") ++ set(regex "${regex}|Submission problem") + set(regex "${regex}|Submission successful)") + + set(ctest_coverage_labels_args "") diff --git a/debian/patches/series b/debian/patches/series index 3aa2e4c46..160a8f067 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ FindJNI_fix_libarch_determination.diff cpack_installed_size.diff FindPython_fix_#569321_and_#580503.diff add_libarchive_script.patch +fix-CTestTestFailedSubmit-xmlrpc.diff diff --git a/debian/rules b/debian/rules index dfc3b72d1..4b56ffaa7 100755 --- a/debian/rules +++ b/debian/rules @@ -19,6 +19,7 @@ $(BUILD_FLAGS_FILE): # echo 'set(BUILD_DOCUMENTATION ON CACHE BOOL "" FORCE)' >> $@ # echo 'set(BUILD_DOXYGEN ON CACHE BOOL "" FORCE)' >> $@ echo 'set(CMAKE_USE_SYSTEM_LIBARCHIVE YES CACHE BOOL "" FORCE)' >> $@ + echo 'set(CTEST_USE_XMLRPC YES CACHE BOOL "" FORCE)' >> $@ override_dh_auto_configure: $(BUILD_FLAGS_FILE) rm -rf Build && mkdir -p Build