[Toybox] [PATCH] Pass the parent make variables when invoking make in scripts/single.sh.

Andy Chu andychup at gmail.com
Sat Mar 12 00:57:58 PST 2016


Oops, here is a corrected patch... the quotes are important for CFLAGS.

Andy


On Sat, Mar 12, 2016 at 12:51 AM, Andy Chu <andychup at gmail.com> wrote:
> single.sh is called when you do 'make test_$COMMAND'.  For example, you
> can now run tests under a Clang ASAN build like this:
>
> make CC=clang CFLAGS=-fsanitize=address test_sed
>
> Without this patch, the binary will fail with runtime errors.
>
> (ASAN and afl-fuzz sort of go together, since you can find inputs that
> access uninitialized memory but don't necessarily crash the process.
> And ASAN is useful without afl-fuzz by just running tests with it.)
>
> Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Pass-the-parent-make-variables-when-invoking-make-in.patch
Type: text/x-patch
Size: 1374 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20160312/6868ca24/attachment-0005.bin>


More information about the Toybox mailing list