[Toybox] runtest.sh

enh enh at google.com
Mon Dec 3 21:58:13 PST 2018


On Mon, Dec 3, 2018 at 3:06 PM Rob Landley <rob at landley.net> wrote:
>
>
>
> On 12/3/18 3:40 PM, enh via Toybox wrote:
> > this commit:
> >
> >   commit 01844db4fb92aa7ae6eb12b160f1978235a449d5
> >   Author: Rob Landley <rob at landley.net>
> >   Date:   Sun Dec 2 16:22:41 2018 -0600
> >
> >       Merge runtest.sh into test.sh.
> >
> > broke "run-tests-on-android.sh", which looks like this:
>
> Ah, you're using it.
>
> Ok, split back out again.

thanks.

> > if [ "$#" -eq 0 ]; then
> >   # Run all the tests.
> >   for t in tests/*.test; do
> >     toy=`echo $t | sed 's|tests/||' | sed 's|\.test||'`
> >     test_toy $toy
> >   done
>
> You saw I'm using the +x bit to indicate tests expected to pass with VERBOSE=fail...

yes, but i'm not blocking anything with these tests anyway. we don't
have good infrastructure for running anything other than junit/gtest
tests, so they just get run manually when i remember, and compared
against previous runs. doing something better is on the to-do list,
but if i'm honest i'm waiting for better infrastructure to come along
before i put much more effort in myself...

> > having the functions separate from the actual runner was useful for this...
>
> Gotcha.
>
> Rob



More information about the Toybox mailing list