xcompile: Use local variables in the test functions
commit7051dea5f4863ff1d1a08fe89dbb23bd18898974
authorMartin Roth <martinroth@google.com>
Tue, 5 Jan 2016 22:49:32 +0000 (5 15:49 -0700)
committerMartin Roth <martinroth@google.com>
Thu, 7 Jan 2016 16:24:50 +0000 (7 17:24 +0100)
tree3ffe9dbda18a7ede388c4c4ebaa70beacb324e30
parent033abe5e690d2533b768eae9c236bde70d514980
xcompile: Use local variables in the test functions

Using the local variables instead of positional parameters helps
readability.
- Add and use the local variables in testcc.
- Use the existing local variables in testld.

Change-Id: Ice13288b830a7aa043b360eaee8e36f060589a18
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/12844
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
util/xcompile/xcompile