Re: [CMake] CTest question

2017-05-18 Thread T.Sariyski
ECUTE_PROCESS(COMMAND ${PROGRAM2} RESULT_VARIABLE status) IF(status) MESSAGE(SEND_ERROR "Executing \"${PROGRAM2}\" FAILED! status=${status}") ENDIF() From: Eric Noulard [mailto:eric.noul...@gmail.com] Sent: Wednesday, May 17, 2017 10:54 PM To:

Re: [CMake] CTest question

2017-05-17 Thread Eric Noulard
We lack information on how your test are failing. If they all timeout then may be you should setup a proper timeout for the test. The actual execution speed of a test may depend on the load of your machine or the network (depending on what the test are actually doing). This may be even more

[CMake] CTest question

2017-05-17 Thread T.Sariyski
Hi, I wonder what is the reason that sometimes ctest ends with numerous ‘Failed’ and ‘Timeout’, which ‘ctest –rerun-failed’ reports ‘Passed’. At times the number of these false failures is about one third. I guess that the problem is in the way I set my tests, but I have no clue where to

Re: [CMake] CTest question...

2008-11-19 Thread BRM
NOULARD [EMAIL PROTECTED] To: cmake@cmake.org Sent: Wednesday, November 19, 2008 7:52:49 AM Subject: Re: [CMake] CTest question... Le Tue, 18 Nov 2008 15:53:25 -0800 (PST), BRM [EMAIL PROTECTED] a écrit : Any info on this? Any better resources? I think we miss informations about your particular

Re: [CMake] CTest question...

2008-11-19 Thread Eric Noulard
2008/11/20 BRM [EMAIL PROTECTED]: It was reporting that it could not find the executable. However, this was certainly a PEBKAC issue (do'h) - I forgot to have an ADD_EXECUTABLE() for the test program - or even an CREATE_TEST_SOURCE_LIST()...though so it shouldn't have been finding it.

Re: [CMake] CTest question...

2008-11-18 Thread BRM
Any info on this? Any better resources? TIA, Ben - Original Message From: BRM [EMAIL PROTECTED] To: CMake cmake@cmake.org Sent: Monday, November 17, 2008 3:14:53 AM Subject: [CMake] CTest question... I'd like to build a series of test using the CTest functionality in CMake. I have

Re: [CMake] CTest question...

2008-11-18 Thread Eric NOULARD
@cmake.org Sent: Monday, November 17, 2008 3:14:53 AM Subject: [CMake] CTest question... I'd like to build a series of test using the CTest functionality in CMake. I have added ENABLE_TESTING() to the main CMakeLists, and was hoping to put the tests in their own sub-directories - as follows

RE: [CMake] ctest question

2007-09-27 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
this: ADD_MD5_TEST(testname generatedfile md5checksum) -- Artur Kedzierski -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Juan Sanchez Sent: Sunday, September 23, 2007 12:49 To: CMake ML Subject: [CMake] ctest question I want run a test

Re: [CMake] ctest question

2007-09-26 Thread Mathieu MARACHE
2007/9/25, Juan Sanchez [EMAIL PROTECTED]: Hi Alan, I also have floating point results I want to account for. I'm thinking about writing a diff script for numerical results which uses an absolute and relative error tolerance. This would account for the difference in transcendentals and

Re: [CMake] ctest question

2007-09-26 Thread Mathieu MARACHE
2007/9/25, Juan Sanchez [EMAIL PROTECTED]: Hi Alan, I also have floating point results I want to account for. I'm thinking about writing a diff script for numerical results which uses an absolute and relative error tolerance. This would account for the difference in transcendentals and

Re: [CMake] ctest question

2007-09-26 Thread Juan Sanchez
Awesome. I love that guys work on bibtex and bibtools. Juan Mathieu MARACHE wrote: 2007/9/25, Juan Sanchez [EMAIL PROTECTED]: Hi Alan, I also have floating point results I want to account for. I'm thinking about writing a diff script for numerical results which uses an absolute and

Re: [CMake] ctest question

2007-09-25 Thread Juan Sanchez
Hi Alan, I also have floating point results I want to account for. I'm thinking about writing a diff script for numerical results which uses an absolute and relative error tolerance. This would account for the difference in transcendentals and other math functions between processors and math

[CMake] ctest question

2007-09-23 Thread Juan Sanchez
I want run a test program and pipe its results to a file. I then want to compare this file to the golden results using diff. Does anyone have a macro or cookbook example for doing this? Thank you, Juan ___ CMake mailing list CMake@cmake.org

Re: [CMake] CTest Question

2006-06-30 Thread William A. Hoffman
At 04:51 PM 6/29/2006, Scott Amort wrote: William A. Hoffman wrote: make test should do the trick. You can also run ctest directly in the build tree. What you have should work. You might have to move the ENABLE_TESTING to the top of the project. Also you can look for the DartTesting. You

Re: [CMake] CTest Question

2006-06-30 Thread Scott Amort
William A. Hoffman wrote: You may want to look at the ctest --build-and-test option. We use it in cmake itself. It will run cmake and do a build on a test that is not include in the parent build tree. Hi Bill, I will look into this. Thanks again for your assistance! Best, Scott

[CMake] CTest Question

2006-06-29 Thread Scott Amort
Hi All, I have one last hurdle in converting my project over to CMake - unit testing. I don't quite understand the CTest framework, and it doesn't seem to be doing what I expect. In my tests subdirectory, I have this CMakeLists.txt: #for testing ENABLE_TESTING() #build testing executables

Re: [CMake] CTest Question

2006-06-29 Thread William A. Hoffman
At 01:03 PM 6/29/2006, Scott Amort wrote: Hi All, I have one last hurdle in converting my project over to CMake - unit testing. I don't quite understand the CTest framework, and it doesn't seem to be doing what I expect. In my tests subdirectory, I have this CMakeLists.txt: #for testing