Skip to content

Commit

Permalink
Add test_COMMAND for each command, update "make help" to describe TES…
Browse files Browse the repository at this point in the history
…T_HOST

and VERBOSE=fail, and fix a quote mismatch.
  • Loading branch information
landley committed Feb 19, 2016
1 parent 137f5c9 commit 5ec9f52
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,14 @@ 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'
@echo ' test - Run test suite against compiled commands.'
@echo ' test_COMMAND - Run tests for COMMAND (test_ps, test_cat, etc.)
@echo ' test - Run test suite against all compiled commands.'
@echo ' export TEST_HOST=1 to test host command, VERBOSE=1'
@echo ' to show diff, VERBOSE=fail to stop after first failure.'
@echo ' clean - Delete temporary files.'
@echo " distclean - Delete everything that isn't shipped."
@echo ' install_flat - Install toybox into $$PREFIX directory.'
Expand Down
1 change: 1 addition & 0 deletions scripts/genconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ do
[ "$NAME" == help ] && continue
[ "$NAME" == install ] && continue
echo -e "$NAME: $FILE *.[ch] lib/*.[ch]\n\tscripts/single.sh $NAME\n"
echo -e "test_$NAME:\n\tscripts/test.sh $NAME\n"
[ "${FILE/pending//}" != "$FILE" ] &&
PENDING="$PENDING $NAME" ||
WORKING="$WORKING $NAME"
Expand Down

0 comments on commit 5ec9f52

Please sign in to comment.