• Home
  • Raw
  • Download

Lines Matching +full:consolidate +full:- +full:config

4 # Use of this source code is governed by a BSD-style license that can be
18 # will return non-zero exit code
22 # Command line arguments: run with --help for a full list.
74 REPLAY_INITIALIZATION_FAILURE = -1
75 REPLAY_SERIALIZATION_FAILURE = -2
135 # Another option would be -displayfd but that has its quirks too.
140 x11_display_file = '/tmp/.X11-unix/X%d' % display
149 ':%d' % display, '-screen', '0', '1280x1024x24', '-ac', '-nolisten', 'tcp',
150 '-dpi', '96', '+extension', 'RANDR', '-maxclients', '512'
157 if time.time() - start_time >= 30:
167 ['openbox', '--sm-disable', '--startup',
175 if time.time() - start_time >= 30:
290 # TODO: Consolidate. http://anglebug.com/42266223
298 context = f.split(TRACE_FILE_SUFFIX)[1][:-2]
300 # TODO: Consolidate. http://anglebug.com/42266223
496 if timeout is not None and time.time() - time_start > timeout:
509 if rc == -9:
510 # OOM killer sends SIGKILL to the process, return code is -signal
531 '--gtest_filter=%s' % filt,
532 '--angle-per-test-capture-label',
533 '--results-file=' + results_file,
536 # Add --use-config to avoid registering all test configurations
537 configs = set([t.split('/')[-1] for t in filt.split(':')])
539 config, = configs
540 if '*' not in config:
541 cmd.append('--use-config=%s' % config)
563 logging.error('Capture failed - timed out after %ss\nTests: %s\nPartial stdout:\n%s',
604 logging.error('Replay failed - timed out after %ss\nTest: %s\nPartial stdout:\n%s',
653 logging.error('Replay failed. Unknown result code: %s -> %d' %
673 if getpass.getuser() == 'chrome-bot':
674 # bots need different re-client auth settings than developers b/319246651
692 subprocess.check_call([GN_PATH, 'gen', '--args=%s' % GetGnArgsStr(args), capture_build_dir])
694 [sys.executable, AUTONINJA_PATH, '-C', capture_build_dir, args.test_suite])
701 [test_path, "--list-tests",
702 "--gtest_filter=%s" % args.filter], env=env, text=True)
768 '--args=%s' % GetGnArgsStr(args, extra_gn_args), replay_build_dir])
770 [sys.executable, AUTONINJA_PATH, '-C', replay_build_dir, REPLAY_BINARY])
801 '--out-dir',
806 '-f',
807 '--filter',
808 '--gtest_filter',
812 '--test-suite',
816 '--batch-count',
821 '--keep-temp-files',
825 '--use-reclient',
830 '--result-file',
834 parser.add_argument('-v', '--verbose', action='store_true', help='Shows full test output.')
836 '-l',
837 '--log',
841 '-j',
842 '--max-jobs',
847 '-M',
848 '--mec',
854 '-a',
855 '--also-run-skipped-for-capture-tests',
858 parser.add_argument('--xvfb', action='store_true', help='Run with xvfb.')
859 parser.add_argument('--asan', action='store_true', help='Build with ASAN.')
861 '-E',
862 '--expose-nonconformant-features',
864 help='Expose non-conformant features to advertise GLES 3.2')
866 '--show-capture-stdout', action='store_true', help='Print test stdout during capture.')
868 '--show-replay-stdout', action='store_true', help='Print test stdout during replay.')
869 parser.add_argument('--debug', action='store_true', help='Debug builds (default is Release).')