[Toybox] testing a single command?

isabella parakiss izaberina at gmail.com
Wed Feb 17 23:12:50 PST 2016


On 2/18/16, enh <enh at google.com> wrote:
> what's the easiest way to test a single command? i always end up
> manually editing the scripts, but there must be a better way? i'll
> send you a patch adding it to "make help" once you've told me :-)
>
> speaking of which:
> $ make help
> ...
> /bin/sh: -c: line 0: unexpected EOF while looking for matching `''
> /bin/sh: -c: line 1: syntax error: unexpected end of file
> make: *** [help] Error 1
>

$ git diff
diff --git a/Makefile b/Makefile
index fe54865..40e2b64 100644
--- a/Makefile
+++ b/Makefile
@@ -66,7 +66,7 @@ tests:
 help::
        @echo  '  toybox          - Build toybox.'
        @echo  '  COMMANDNAME     - Build individual toybox command as
a standalone binary.'
-       @echo  '  list            - List COMMANDNAMEs (also
list_working and list_pending)."
+       @echo  '  list            - List COMMANDNAMEs (also
list_working and list_pending).'
        @echo  '  change          - Build each command standalone
under change/.'
        @echo  '  baseline        - Create toybox_old for use by bloatcheck.'
        @echo  '  bloatcheck      - Report size differences between
old and current versions'


---
xoxo iza

 1455779570.0


More information about the Toybox mailing list