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: T.S
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 sensibl
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 loo
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.
iginal Message
From: Eric 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 resour
D]>
> To: CMake
> 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 tes
Any info on this? Any better resources?
TIA,
Ben
- Original Message
From: BRM <[EMAIL PROTECTED]>
To: CMake
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
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:
/
/Tests
/Tests/object
/Tests/object/child-objects
I added the Tests directory in the root's
else did something similar? It would be if CMake contained
macro like this:
ADD_MD5_TEST(testname generatedfile md5checksum)
--
Artur Kedzierski
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Juan Sanchez
> Sent: Sunday, Septe
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
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
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
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
lib
Thanks Alan for your detailed response. I think your advice is very
helpful. I think I'm getting on to the right track with ctest.
Regards,
Juan
Alan W. Irwin wrote:
> On 2007-09-24 10:05-0500 Juan Sanchez wrote:
>
>> Hello Alan,
>>
>>> From your example, what in this statement that causes th
On 2007-09-24 10:05-0500 Juan Sanchez wrote:
Hello Alan,
From your example, what in this statement that causes the test to run
when I type "make test"?
ADD_TEST(my_first_test diff -q goldenfile testfile)
All it says is to run diff. How do I tell it to generate the testfile
from another exe
Hello Alan,
>From your example, what in this statement that causes the test to run
when I type "make test"?
ADD_TEST(my_first_test diff -q goldenfile testfile)
All it says is to run diff. How do I tell it to generate the testfile
from another executable? How do I tell this executable to run on
On 2007-09-23 20:58-0700 Sanchez, Juan wrote:
Well the fundamental problem is the point when the test gets run.
When you run ctest (after cmake and make).
I would think your solution requires that the test has already been
executed. For my purposes, that is way too premature and costly.
I
--Original Message-
From: Alan W. Irwin [mailto:[EMAIL PROTECTED]
Sent: Sun 9/23/2007 10:08 PM
To: Sanchez, Juan
Cc: Aleix; CMake ML
Subject: RE: [CMake] ctest question
On 2007-09-23 18:48-0700 Sanchez, Juan wrote:
> Would this sound reasonable?
> Write a perl script with the name of
On 2007-09-23 18:48-0700 Sanchez, Juan wrote:
Would this sound reasonable?
Write a perl script with the name of the test program and golden result file as
arguments. The perl script will run the test and compare the output results
with the golden file and then return success or failure.
ADD
ailto:[EMAIL PROTECTED]
Sent: Sun 9/23/2007 5:33 PM
To: Sanchez, Juan
Cc: CMake ML
Subject: Re: [CMake] ctest question
Hi,
I think that execute_process() is your command :).
Bye!
On 9/23/07, Juan Sanchez <[EMAIL PROTECTED]> wrote:
> I want run a test program and pipe its results to a file
Hi,
I think that execute_process() is your command :).
Bye!
On 9/23/07, Juan Sanchez <[EMAIL PROTECTED]> wrote:
> 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 do
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
http://w
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
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 DartTesti
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 can look for this file
> in your build
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
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
ADD_
27 matches
Mail list logo