On Mon, Dec 3, 2018 at 3:06 PM Rob Landley <r...@landley.net> wrote: > > > > On 12/3/18 3:40 PM, enh via Toybox wrote: > > this commit: > > > > commit 01844db4fb92aa7ae6eb12b160f1978235a449d5 > > Author: Rob Landley <r...@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 _______________________________________________ Toybox mailing list Toybox@lists.landley.net http://lists.landley.net/listinfo.cgi/toybox-landley.net