dc6fa02422
The change in r3354 caused the --tool argument to not be parsed if it's passed after the test executable. Then it's considered an argument to the test rather than a script flag. This CL cleans the code a bit and makes it possible to pass all the supported argument in the different ways possible. NOTICE: To pass arguments to the test executable, you must use the -- argument must be specified before the test arguments start, to signal that everything that comes after it are positional arguments only (which are passed on to the test during execution). BUG=none TEST=The following combinations have been tested: tools/valgrind-webrtc/webrtc_tests.sh -b out/Debug -t test_support_unittests --tool asan tools/valgrind-webrtc/webrtc_tests.sh -b out/Debug -t test_support_unittests --tool asan -- --foo --bar tools/valgrind-webrtc/webrtc_tests.sh --tool asan -b out/Debug -t test_support_unittests tools/valgrind-webrtc/webrtc_tests.sh --tool asan -b out/Debug -t test_support_unittests -- --foo --bar Review URL: https://webrtc-codereview.appspot.com/1026005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3355 4adac7df-926f-26a2-2b94-8c16560cd09d |
||
---|---|---|
data | ||
peerconnection | ||
third_party | ||
third_party_mods | ||
tools | ||
webrtc | ||
.gitignore | ||
android-webrtc.mk | ||
Android.mk | ||
AUTHORS | ||
codereview.settings | ||
DEPS | ||
libvpx.mk | ||
LICENSE | ||
license_template.txt | ||
LICENSE_THIRD_PARTY | ||
OWNERS | ||
PATENTS | ||
PRESUBMIT.py | ||
WATCHLISTS | ||
webrtc.gyp |