Normalize run-test arguments
The tests generally call `${RUN} "${@}" ...`.
Use this convention for all tests (${@} being at the start).
This is no-op but makes command logging&diffing easier.
Also fix environment logging - we should log the explicit
small environment now rather than `os.environ`.
Pass missing {test_args} on target (it is present on host&jvm).
{test_args} are test args passed with the "-- --foo" syntax,
whereas {ARGS} are args passed with the "--args=--foo" syntax.
This distinction will be removed in the future.
This affected only 004-ThreadStress.
Test: ./art/test.py -r
Change-Id: I132c65638570f2e3fe58bee8461d6f18b9e72a15
7 files changed