From pinard at iro.umontreal.ca  Tue Sep  5 01:53:59 2006
From: pinard at iro.umontreal.ca (=?iso-8859-1?Q?Fran=E7ois?= Pinard)
Date: Mon, 4 Sep 2006 19:53:59 -0400
Subject: [Rd] make test-Specific?
In-Reply-To: <44F62019.7030907@bfro.uni-lj.si>
References: <44F62019.7030907@bfro.uni-lj.si>
Message-ID: <20060904235359.GA28805@alcyon.progiciels-bpi.ca>

[Gregor Gorjanc]

>In Writing R Extensions manual, section "Testing R code"[1] says:
>"be careful to check if make test-Specific or particularly, cd tests;
>make no-segfault.Rout"

>Actually, make test-Specific also needs "cd tests;" in front.

>[1]http://cran.r-project.org/doc/manuals/R-exts.html#Testing-R-code

Allow me a quick comment about using "cd" in Makefiles, reading by.

Whenever possible, prefer "cd DIR && ACTION" to "cd DIR; ACTION".  This 
protects you from ACTION when it has some destructive effect, and DIR 
either happens to not exist or is just mistyped, in which case ACTION is 
executed in the current directory.

A little good habit that saved me a few times along all those years! :-)

-- 
Fran?ois Pinard   http://pinard.progiciels-bpi.ca




[Rd] make test-Specific?
=?iso-8859-1?Q?Fran=E7ois?= Pinard