patchCERTI - Patches: patch #8187, Fix for CTest Nightly

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #8187: Fix for CTest Nightly

Submitter:  Jan-Patrick Osterloh <jpo>
Submitted:  Wed 25 Sep 2013 02:02:41 PM UTC
   
 
Category:  CERTI Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  erk Open/Closed:  Closed

Jump to the original submission

Fri 06 Dec 2013 01:46:52 PM UTC, comment #6: 

Merged in 3.4.2.

Eric NOULARD <erk>
Group administrator
Wed 02 Oct 2013 04:14:43 PM UTC, comment #5: 

Hi,

I checked manually:
- starting "MsgBufferTests.exe" -> works
- starting "ctest -VV -R LibHLA_MB" -> works
- starting "ctest --output-on-failure -R LibHLA_MB" -> works
- starting "ctest --http1.0 -VV -S certi-ctest.cmake,Nightly" -> FAIL

JPO

Jan-Patrick Osterloh <jpo>
Wed 02 Oct 2013 03:40:54 PM UTC, comment #4: 

What do you mean by manually?

cd builddir;
ctest
?

if so you can try:

ctest -VV -R LibHLA_MB

or may be:
ctest --output-on-failure -R LibHLA_MB

see:
http://www.cmake.org/cmake/help/v2.8.8/ctest.html#opt:--output-on-failure

Otherwise have a look at:
http://public.kitware.com/pipermail/cdash/2009-November/000589.html
http://stackoverflow.com/questions/5709914/using-cmake-how-do-i-get-verbose-output-from-ctest

Eric NOULARD <erk>
Group administrator
Wed 02 Oct 2013 02:33:43 PM UTC, comment #3: 

Hi,

the patch worked, the binaries are found, but now another problem occours:
...
test 2
    Start 2: LibHLA_MB_Tests

2: Test command: C:\home\nightlybuild\CERTI-Test\build\MessageBufferTests.exe
2: Test timeout computed to be: 600
2/6 Test #2: LibHLA_MB_Tests ..................***Exception: Other  0.02 sec
...

If I start the test manually, everything works fine. Do you know how I can enable even more output?

JPO

Jan-Patrick Osterloh <jpo>
Wed 25 Sep 2013 03:11:29 PM UTC, comment #2: 

We are now using version 2.8.10. With our old setup, it was 2.8.5

Jan-Patrick Osterloh <jpo>
Wed 25 Sep 2013 02:52:32 PM UTC, comment #1: 

Looks good to me.
I'll check but I think if we go this way we should
bump from
cmake_minimum_required(VERSION 2.4.4)
up to
cmake_minimum_required(VERSION 2.8.0)

which version of CMake are you using?

Eric NOULARD <erk>
Group administrator
Wed 25 Sep 2013 02:02:41 PM UTC, original submission:  

Hi,

after more testing and evaluation and search, I found a solution which fixes the problem that the nightly build cannot find the executables.
I found it here:
http://www.cmake.org/pipermail/cmake/2010-July/037978.html

Attached a patch, using the other form of add_test, which works for mingw, see http://my.cdash.org/buildSummary.php?buildid=523899

Best
JPO


Jan-Patrick Osterloh <jpo>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #29208:  ctest.patch added by jpo (2KiB - application/octet-stream)

 

Digest:
   patch dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by erk (Posted a comment)
  • -email is unavailable- added by jpo (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-12-06 erk StatusReady For Test Done
        Open/ClosedOpen Closed
    2013-09-25 erk StatusIn Progress Ready For Test
    2013-09-25 erk Dependencies- Depends on patch #7072
    2013-09-25 erk StatusNone In Progress
        Assigned toNone erk
    2013-09-25 jpo Attached File- Added ctest.patch, #29208

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code