Revert^2 "Add usage to run-libcore-tests.sh"

This reverts commit e02ebc05f4d31885b659b1c96b986eb26d324172.

- Fixes default expectations.
- Fixes appending arbitrary arguments.
- Preserves order of arguments to simplify checking.

Test: Compare output using --dry-run with arguments from buildbots.
Test: run-libcore-tests.sh --dry-run --mode=device --variant=X32
Test: run-libcore-tests.sh --dry-run --mode=device --variant=X32 --debug
Test: run-libcore-tests.sh --dry-run --mode=device --variant=X32 --vm-arg -Xgc:gcstress
Test: run-libcore-tests.sh --dry-run --mode=device --variant=X64
Test: run-libcore-tests.sh --dry-run --mode=device --variant=X64 --debug
Test: run-libcore-tests.sh --dry-run --mode=device --variant=X64 --vm-arg -Xgc:gcstress
Test: run-libcore-tests.sh --dry-run --mode=host --variant=X32
Test: run-libcore-tests.sh --dry-run --mode=host --variant=X32 --debug
Test: run-libcore-tests.sh --dry-run --mode=host --variant=X32 --debug --vm-arg -Xgc:gcstress
Test: run-libcore-tests.sh --dry-run --mode=host --variant=X64
Test: run-libcore-tests.sh --dry-run --mode=host --variant=X64 --debug

Change-Id: I4a968f43c8fdc2f3e9b4ba9857e212a881d4f54d
1 file changed