Closed typeless closed 6 years ago
On Thu, 07 Dec 2017 03:47:54 +0000 (UTC), Mura Li notifications@github.com wrote:
usage:
./runtest.sh B genericrec E 0
You can view, comment on, or merge this pull request online at:
This is useful. I think we can make it more useful.
I'd like to a protocol for the mbld test runner to tell mtest generators. We could probably use an environemtn variable for this. Command line options are also ok, but might need more work in libtestr.
mbld test test.sh/genericrec
If we specify this so that you only need the test name, and not the expected outputs, I can find time to support this in mbld and testr. (Unless, of course, you want to do that).
(cc'ing mailing list)
-- Ori Bernstein
Now it uses an environment variable MTEST_SUBSET
MTEST_SUBSET=generic,genericcall,genericrec ./runtest.sh
Yep, that looks good to me. I'll try to add mbld support for this, so you can do, eg:
mbld test tests/runtest.sh:subtest-name
Thanks!
FYI, this variable is also supported in libtestr now. Last thing is making mbld more aware of it.
usage: