Hi,

I am trying to upgrade MITK again.

We use the MITK_CREATE_MODULE_TESTS macro to define unit tests. The macro
now refers to the MitkTestingHelper module that is built only if the MITK
is built with BUILD_TESTING=ON.

If not, I get this error:

CMake Error at
/home/espakm/src/niftk-2014-03-debug/MITK-src/CMake/mitkFunctionUseModules.cmake:111
(message):
  Missing module: MitkTestingHelper
Call Stack (most recent call first):

/home/espakm/src/niftk-2014-03-debug/MITK-src/CMake/mitkMacroCreateModuleTests.cmake:57
(mitk_use_modules)
  Code/Gui/MITK/Modules/niftkCore/Testing/CMakeLists.txt:15
(MITK_CREATE_MODULE_TESTS)


However, if I turn on the testing, the build fails because it cannot
download the MITKData project. See the error below.

Would it be possible to turn on the MitkTestingHelper module independently
of the whole MITK testing?

Any other solution is welcome, of course.

Cheers,
Miklos




-- downloading...
     src='http://mitk.org/download/thirdparty/MITK-Data_4259856b.tar.gz'

dst='/home/espakm/src/niftk-2014-03-debug/MITK-build/CMakeExternals/Download/MITK-Data/MITK-Data_4259856b.tar.gz'
     timeout='none'
CMake Error at
/home/espakm/src/niftk-2014-03-debug/MITK-build/CMakeExternals/Stamp/MITK-Data/download-MITK-Data.cmake:22
(message):
  error: downloading
  'http://mitk.org/download/thirdparty/MITK-Data_4259856b.tar.gz' failed

    status_code: 7
    status_string: "couldn't connect to server"
    log: About to connect() to mitk.org port 80 (#0)
    Trying 188.40.51.147... Connection refused

  couldn't connect to host

  Closing connection #0

  couldn't connect to server
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to