| Index: testing/scripts/run_telemetry_as_googletest.py
|
| diff --git a/testing/scripts/run_telemetry_as_googletest.py b/testing/scripts/run_telemetry_as_googletest.py
|
| index 71550a4181ed55b9b80beb1980fae16f1bab14b1..82491845dc6273f5cfd88b806b7eccb104583fae 100755
|
| --- a/testing/scripts/run_telemetry_as_googletest.py
|
| +++ b/testing/scripts/run_telemetry_as_googletest.py
|
| @@ -37,11 +37,16 @@ def main():
|
| parser.add_argument(
|
| '--isolated-script-test-output', type=argparse.FileType('w'),
|
| required=True)
|
| - parser.add_argument(
|
| - '--isolated-script-test-chartjson-output', type=argparse.FileType('w'),
|
| - required=False)
|
| parser.add_argument('--xvfb', help='Start xvfb.', action='store_true')
|
| args, rest_args = parser.parse_known_args()
|
| + # Remove the chartjson extra arg until this script cares about chartjson
|
| + # results from telemetry
|
| + index = 0
|
| + for arg in rest_args:
|
| + if '--isolated-script-test-chartjson-output' in arg:
|
| + rest_args.pop(index)
|
| + break
|
| + index += 1
|
|
|
| xvfb_proc = None
|
| openbox_proc = None
|
|
|