Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _exit (0.12 sec)

  1. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

    result = JUnitXml()
    try:
      files = subprocess.check_output(
          ["grep", "-rlE", '(failures|errors)="[1-9]', sys.argv[1]]
      )
    except subprocess.CalledProcessError as e:
      print("No failures found to log!")
      exit(0)
    
    # For test cases, only show the ones that failed that have text (a log)
    seen = collections.Counter()
    runfiles_matcher = re.compile(r"(/.*\.runfiles/)")
    
    
    for f in files.strip().splitlines():
    Python
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. configure.py

      bazel_executable = which('bazel')
      if bazel_executable is None:
        bazel_executable = which('bazelisk')
        if bazel_executable is None:
          print('Cannot find bazel. Please install bazel/bazelisk.')
          sys.exit(1)
    
      stderr = open(os.devnull, 'wb')
      curr_version = run_shell([bazel_executable, '--version'],
                               allow_non_zero=True,
                               stderr=stderr)
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
Back to top