[cmake-developers] New CPack test failing on OS X and Windows 7

Eric Noulard eric.noulard at gmail.com
Mon Dec 13 10:31:27 EST 2010


2010/12/13 Bill Hoffman <bill.hoffman at kitware.com>:
> On 12/13/2010 9:52 AM, Bill Hoffman wrote:
>>
>> On 12/12/2010 1:22 PM, Eric Noulard wrote:
>>
>>>
>>> Thank you.
>>> No more clue with that list now, beside the fact that there is no ZIP.
>>> May be my cpack execution call is buggy.
>>>
>>> With the extra trace now in place I should see if this is the case.
>>>
>> Eric, should we roll back the change? Lots of tests are still failing....
>>
>> -Bill
>>
>
> OK, I see the problem:
>
> Running test command: "C:/Dashboards/My
> Tests/CMake-vs10/bin/Release/cmake.exe"
> "-DCPackComponentsForAll_BINARY_DIR:PATH=C:/Dashboards/My
> Tests/CMake-vs10/Tests/CPackComponentsForAll/buildZIP-NoComponent"
> "-DCPackCommand=C:/Dashboards/My Tests/CMake-vs10/bin/cpack"
> "-DCPackGen=ZIP" "-DCPackComponentWay=default" "-P" "C:/Dashboards/My
> Tests/CMake/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake"
> Test command failed: C:/Dashboards/My Tests/CMake-vs10/bin/Release/cmake.exe
>
> This is not where cpack is:
>
> "C:/Dashboards/My Tests/CMake-vs10/bin/cpack"
>
>
> I think this change might fix it:
> (I am trying now)
>
>    # This variable is set by cmake, however to
>    # test cmake we want to make sure that
>    # the ctest from this cmake is used for testing
>    # and not the ctest from the cmake building and testing
>    # cmake.
>    SET(CMAKE_CTEST_COMMAND "${CMake_BIN_DIR}/${CMAKE_CFG_INTDIR}/ctest")
>    SET(CMAKE_CMAKE_COMMAND "${CMake_BIN_DIR}/${CMAKE_CFG_INTDIR}/cmake")
>    SET(CMAKE_CPACK_COMMAND "${CMake_BIN_DIR}/${CMAKE_CFG_INTDIR}/cpack")

Ok thanks for your help Bill.


If ever with those changes the test
continue to fail on those kind of hosts,
please roll-back the changes (i.e. suppress the proposed new test).

I'll do my homework and retry later.
I know that I would have to find some multi-config host before retrying.

The test is not mandatory but I'd really like to introduce more test
for CPack because the functional coverage of current cpack is not that big
in current test suite...

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org



More information about the cmake-developers mailing list