- Mail original -
> De: "Mario Werner"
> À: cmake@cmake.org
> Envoyé: Vendredi 12 Janvier 2018 09:38:50
> Objet: Re: [CMake] test depending on code compilation
>
> On 2018-01-11 18:03, Franck Houssen wrote:
> >
> >
> > - Mail origina
On 2018-01-11 18:03, Franck Houssen wrote:
>
>
> - Mail original -
>> De: "Mario Werner"
>> À: cmake@cmake.org
>> Envoyé: Jeudi 11 Janvier 2018 16:27:18
>> Objet: Re: [CMake] test depending on code compilation
>>
> [snip]
>
>>
- Mail original -
> De: "Mario Werner"
> À: cmake@cmake.org
> Envoyé: Jeudi 11 Janvier 2018 16:27:18
> Objet: Re: [CMake] test depending on code compilation
>
> On 2018-01-10 10:47, Franck Houssen wrote:
> > [snip]
> >
> > The 2 unexpected
On 2018-01-10 10:47, Franck Houssen wrote:
> [snip]
>
> The 2 unexpected problems I have left are:
> 1) mytestexe is compiled everytime I type "make" which is a solution but
> is not really what I am looking for (also compiled when I type "make
> check" which is expected).
> => is there a way
OK, so I guess there is no way to do that like with autotools...
- Mail original -
> De: "Franck Houssen"
> À: "CMake Mail List"
> Envoyé: Mercredi 10 Janvier 2018 12:22:39
> Objet: Re: [CMake] test depending on code compilation
> I tr
d 0.00 sec
I want make test to run test only => OK and verbose is OK.
- Mail original -
> De: "Franck Houssen"
> À: "CMake Mail List"
> Envoyé: Mercredi 10 Janvier 2018 10:47:34
> Objet: [CMake] test depending on code compilation
> I need to d
I need to design a test (= a bash script) such that :
1) run a dedicated executable for the test (to be compiled)
2) diff the run output with a reference log file
The test is created with : add_test(mytest ./mytest.sh). The bash script would
look like:
>> more mytest.sh
/path/to/mytestexe >