- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for check_output (0.18 sec)
-
ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py
internal invocation viewer. """ import collections import os import re import subprocess import sys from junitparser import JUnitXml 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)
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 18 19:00:37 GMT 2023 - 4.8K bytes - Viewed (0) -
configure.py
if stderr is None: stderr = sys.stdout if allow_non_zero: try: output = subprocess.check_output(cmd, stderr=stderr) except subprocess.CalledProcessError as e: output = e.output else: output = subprocess.check_output(cmd, stderr=stderr) return output.decode('UTF-8').strip() def cygpath(path): """Convert path from posix to windows."""
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 18:25:36 GMT 2024 - 53.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
Joiner onChar = Joiner.on('-'); checkNoOutput(onChar, ITERABLE_); checkResult(onChar, ITERABLE_1, "1"); checkResult(onChar, ITERABLE_12, "1-2"); checkResult(onChar, ITERABLE_123, "1-2-3"); } public void testSkipNulls() { Joiner skipNulls = J.skipNulls(); checkNoOutput(skipNulls, ITERABLE_); checkNoOutput(skipNulls, ITERABLE_NULL); checkNoOutput(skipNulls, ITERABLE_NULL_NULL);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.6K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer_test.go
mockWriter := NewSDSWriter(w, tt.format) err := mockWriter.PrintDiffs(tt.diffs) if err != nil { t.Errorf("error printing secret items: %v", err) } checkOutput(t, w.String(), tt.expected, tt.unexpected) }) } } func checkOutput(t *testing.T, output string, expected, unexpected []string) { t.Helper() for _, expected := range expected { if !strings.Contains(output, expected) {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri May 29 20:42:01 GMT 2020 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
Joiner onChar = Joiner.on('-'); checkNoOutput(onChar, ITERABLE_); checkResult(onChar, ITERABLE_1, "1"); checkResult(onChar, ITERABLE_12, "1-2"); checkResult(onChar, ITERABLE_123, "1-2-3"); } public void testSkipNulls() { Joiner skipNulls = J.skipNulls(); checkNoOutput(skipNulls, ITERABLE_); checkNoOutput(skipNulls, ITERABLE_NULL); checkNoOutput(skipNulls, ITERABLE_NULL_NULL);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.6K bytes - Viewed (0)