On 08/07/2013 07:33 PM, Stuart Marks wrote:
On 8/7/13 6:44 PM, Jonathan Gibbons wrote:
On 08/07/2013 06:22 PM, Alan Bateman wrote:
It's good to see this logic going away. Also defaulting the output
directory
to TEST_ROOT (= pwd) is an improvement.
Aaargh. If I read those words correctly, it's a horrible idea to set
the
output dir to TEST_ROOT -- because on reruns jtreg will have to scan
the output
files looking for new tests!
I liked the old behavior of the output dir being over in the build
area. Not only does it avoid the problem that Jon mentions, but also,
the build area is in the repo's .hgignore file. Thus all the generated
files will be ignored by hg. If the generated files were to go under
TEST_ROOT, it will cause "hg status" to run slowly and to produce
voluminous output.
s'marks
^^ What he said. And the paranoid man's "make clean" of "rm -rf build"
works really well. :-)
Writing any files into a SCM-controlled directory is a bad idea.
-- Jon