From: Zhon Johansen (zhon.johansen_at_[hidden])
Date: 2005-09-01 14:33:49
Thank you for your help and this wonderful tool.
Vladimir Prus wrote:
> make test-runner.cpp : test-file.h : make-test-runner ;
> actions make-test-runner
> perl make-test-runner -output $(<)
I have a couple of questions:
1) For me "perl make-test-runner -output $(<)" is failing silently with
$(<). If I replace it with bin/msvc/debug/test-runner.cpp it is
working. How do debug this command so I can see the value of $(<)?
2) I ended up replacing "actions" with "rule" because I got the error:
kernel/module.jam:66 in module.call-in rule make-test-runner unknown in
module class.... What does this error mean and how do I debug this?
> Will putting this in top-level Jamfile work for you:
> import testing ;
> unit-test runner : runner.cpp dir1/testedfile.cpp
> dir2/testedfile2.cpp ;
This could work...it is what I am currently doing with my makefile. On
the other hand, I would like to have many smaller test-runner exe to
speed up the test, code, refactor cycle. This is part of the reason I
am migrating to BBv2.
Thanks for the above line: "import testing ;" I was trying to do the
unit-test thing and was missing the include.
thanks for your help,
--- zhon at xputah dot org
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk