Chromium Code Reviews
DescriptionChange run_vm_tests to take the VM arguments before the test name so
it acts more like the standalone VM. That way the test scripts can
uniformly pass extra arguments to the cctest runner and to the VM
itself.
The use case for this is that it is nice to be able to add extra
vm flags to all tests using the --special-commands flag for the
test runner:
./tools/test.py --special-commands='time @ --vm-flag'
This will turn cc tests into:
time run_vm_tests --vm-flag Selector
and VM tests into:
time dart --vm-flag my_test.dart
R=ricow@google.com,asiva@google.com
BUG=
Committed: https://code.google.com/p/dart/source/detail?r=13067
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address review comments. #
Messages
Total messages: 3 (0 generated)
|
||||||||||||||||||||||||||||