pre-upload: Check for invalid USE-setting in make.*.
Check that $USE isn't overwritten or referenced before it's
been defined in Portage make.conf and make.defaults files.
Also update pre-upload*.py to pass existing checks.
TEST=added unit tests; also manually tested with broken and
non-broken make.conf and make.defaults files
Commit-Queue: Dan Erat <email@example.com>
Trybot-Ready: Dan Erat <firstname.lastname@example.org>
Tested-by: Dan Erat <email@example.com>
Reviewed-by: Mike Frysinger <firstname.lastname@example.org>
3 files changed