Subject: Re: [Boost-build] Running Single Test in Suite
From: Vladimir Prus (ghost_at_[hidden])
Date: 2014-08-27 02:11:08
On 08/26/2014 07:22 PM, Lee Clagett wrote:
> If I have the following (truncated) Jamfile:
> test-suite spirit_v2/karma :
> [ compile-fail karma/grammar_fail.cpp : : karma_grammar_fail ]
> [ compile-fail karma/rule_fail.cpp : : karma_rule_fail ]
> How do I run just karma_rule_fail test, and not karma_grammar_fail? The following don't seem to work "b2 spirit_v2/karma/karma_rule_
> fail", or "b2 karma_rule_fail". It is possible to run just a single test case in the suite, or is the suite the lowest-level target that can
> be executed?
to be honest, I don't know what's happening here. The actual name of the target (as reported by --debug-building)
appears to be karma_grammar_fail-p3, and running
does build that target. I don't recall any logic that would add "-p3" - does anybody else know?
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