On Wed, Nov 30, 2016 at 04:10:38PM +0100, Kornel Benko wrote:

> Selected parameters in prefTest.pl will remain until next call to prefTest.pl.
> The call sequence could be:
>       # prefTest.pl ... 
>       # ctest ... (this is the same as prefTest.pl with previous params)
>       # ctest ...
>       ...
>       # prefTest.pl (with new values)
>       # ctest ...

Ah I see. So by default we would configure CMake to automatically run
prefTest.pl to point to the preferences file that allows knitr to run
without error. So we would still be able to do:

cmake
make
ctest

and knitr and Sweave would have successful exports.

Then if we wanted to e.g. run the tests with different preferences we
could do:

prefTest.pl (with new values)
ctest ...

If I understood correctly, that seems good to me.

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to