On Thu, Feb 18, 2016 at 8:18 PM, Isaac Dunham <[email protected]> wrote: > On Thu, Feb 18, 2016 at 08:09:08PM -0800, enh wrote: >> On Thu, Feb 18, 2016 at 8:06 PM, Isaac Dunham <[email protected]> wrote: >> > On Wed, Feb 17, 2016 at 10:43:37PM -0800, enh wrote: >> >> what's the easiest way to test a single command? i always end up >> > >> > scripts/single.sh TOYNAME >> > (eg, 'find', 'cpio', 'ps'...) >> >> sorry, i wasn't clear: i meant "what's the easiest way to just run the >> 'sed' tests?". > > Whoops, I misread 'test' as 'build'. Bit of a difference. > > Looking at the top of scripts/test.sh (the real code for 'make test'), > I see > if [ $# -ne 0 ] > then > PREFIX=generated/testdir/ scripts/single.sh "$@" || exit 1 > > In other words: > scripts/test.sh TOYNAME
d'oh! thanks. > HTH, > Isaac -- Elliott Hughes - http://who/enh - http://jessies.org/~enh/ Android native code/tools questions? Mail me/drop by/add me as a reviewer. _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
