Home
last modified time | relevance | path

Searched refs:Fatalf (Results 1 – 25 of 106) sorted by relevance

12345

/build/make/tools/metadata/testdata/
Dmetadata_test.go18 t.Fatalf("Error running metadata command: %s. Error: %v", stderr, err)
24 t.Fatalf("Error reading expected output file: %s", err)
30 t.Fatalf("Error reading generated output file: %s", err)
48 t.Fatalf(
74 t.Fatalf("Error running metadata command: %s. Error: %v", stderr, err)
80 t.Fatalf("Error reading generated output file: %s", err)
98 t.Fatalf("Error running metadata command: %s. Error: %v", stderr, err)
104 t.Fatalf("Error reading expected output file: %s", err)
110 t.Fatalf("Error reading generated output file: %s", err)
/build/soong/rust/
Dcoverage_test.go50 t.Fatalf("coverage variant created for module 'libbar_nocov' with native coverage disabled")
65 t.Fatalf(missingErrorStr, flag, "fizz_cov", fizzCov.Args["rustcFlags"])
68 t.Fatalf(missingErrorStr, flag, "libfoo_cov dylib", libfooCov.Args["rustcFlags"])
71 t.Fatalf(containsErrorStr, flag, "buzzNoCov", buzzNoCov.Args["rustcFlags"])
74 t.Fatalf(containsErrorStr, flag, "libbar_cov", libbarNoCov.Args["rustcFlags"])
84 t.Fatalf(missingErrorStr, flag, "fizz_cov", fizzCov.Args["linkFlags"])
87 t.Fatalf(missingErrorStr, flag, "libfoo_cov dylib", libfooCov.Args["linkFlags"])
90 t.Fatalf(containsErrorStr, flag, "buzzNoCov", buzzNoCov.Args["linkFlags"])
93 t.Fatalf(containsErrorStr, flag, "libbar_cov", libbarNoCov.Args["linkFlags"])
108 …t.Fatalf("missing expected coverage 'libprofile-clang-extras' dependency in linkFlags: %#v", fizz.…
Dproject_json_test.go75 t.Fatalf("Unexpected type for crate: %v", c)
142 t.Fatalf("Unexpected type for is_proc_macro: %v", crate["is_proc_macro"])
147 t.Fatalf("Unexpected type for display_name: %v", crate["display_name"])
154 t.Fatalf("'libproc_macro' is marked with is_proc_macro=false")
159 t.Fatalf("'librust' is not a proc macro crate, but is marked with is_proc_macro=true")
167 t.Fatalf("Unexpected crate counts: libproc_macro_count: %v, librust_count: %v",
187 t.Fatalf("Unexpected type for cfgs: %v", crate)
194 t.Fatalf("Unexpected type for cfg: %v", cfg)
221 t.Fatalf("Unexpected type for root_module: %v", crate["root_module"])
266 t.Fatalf("Unexpected type for root_module: %v", crate["root_module"])
[all …]
Dcompiler_test.go41 …t.Fatalf("missing fizz and buzz feature flags for libfoo dylib, rustcFlags: %#v", libfooDylib.Args…
62 …t.Fatalf("missing std and cfg1 flags for libfoo dylib, rustcFlags: %#v", libfooDylib.Args["rustcFl…
88 t.Fatalf("libfoo expected to disable lto -- rustcFlags: %#v", libfoo.Args["rustcFlags"])
91 …t.Fatalf("libfoo expected to enable lto by default -- rustcFlags: %#v", libfooLto.Args["rustcFlags…
180 t.Fatalf("expected 'CARGO_BIN_NAME=fizz' in envVars, actual envVars: %#v", fizz.Args["envVars"])
183 t.Fatalf("expected 'CARGO_CRATE_NAME=foo' in envVars, actual envVars: %#v", fizz.Args["envVars"])
186 …t.Fatalf("expected 'CARGO_PKG_VERSION=1.0.0' in envVars, actual envVars: %#v", fizz.Args["envVars"…
210 t.Fatalf("unexpected install path for 64-bit library: %#v", install_path_lib64)
213 t.Fatalf("unexpected install path for 32-bit library: %#v", install_path_lib32)
216 t.Fatalf("unexpected install path for binary: %#v", install_path_bin)
Dtest_test.go113 t.Fatalf("Expected rust_test to produce output files, error: %s", err)
116 t.Fatalf("expected exactly one output file. output files: [%s]", outputFiles)
119 t.Fatalf("expected exactly two test data files. test data files: [%v]", testBinary.dataPaths())
175 t.Fatalf("Expected rust_test to produce output files, error: %s", err)
178 t.Fatalf("expected exactly one output file. output files: [%s]", outputFiles)
181 t.Fatalf("expected exactly two test data files. test data files: [%v]", testBinary.dataPaths())
/build/soong/third_party/zip/
Dandroid_test.go93 t.Fatalf("Create: %v", err)
97 t.Fatalf("Write: %v", err)
101 t.Fatalf("Close: %v", err)
107 t.Fatalf("NewReader: %v", err)
114 t.Fatalf("CopyFrom: %v", err)
119 t.Fatalf("Close: %v", err)
128 t.Fatalf("NewReader: %v", err)
132 t.Fatalf("Expected 1 file in toZip, got %d", len(toZipReader.File))
160 t.Fatalf("Create: %v", err)
164 t.Fatalf("Write: %v", err)
[all …]
Dzip_test.go34 t.Fatalf("creating file %d: %v", i, err)
38 t.Fatalf("Writer.Close: %v", err)
43 t.Fatalf("NewReader: %v", err)
46 t.Fatalf("File contains %d files, want %d", got, nFiles)
51 t.Fatalf("File(%d) = %q, want %q", i, zr.File[i].Name, want)
205 t.Fatalf("len(b.buf) = %d; want 10", len(b.buf))
359 t.Fatalf("Expected directory64EndSignature (%d), got %d", directory64EndSignature, sig)
364 t.Fatalf("Expected length of %d, got %d", directory64EndLen-12, size)
374 t.Fatalf("error creating header: %v", err)
377 t.Fatalf("error writing content: %v", err)
[all …]
/build/soong/etc/
Dinstall_symlink_test.go39 t.Fatalf("expected 1 variant, got %#v", foo_variants)
45 t.Fatalf("expected 1 androidmkentry, got %d", len(androidMkEntries))
50 t.Fatalf("Expected 1 symlink, got %d", len(symlinks))
54 t.Fatalf("Expected symlink install path to end in system/bin/foo, got: %s", symlinks[0])
70 t.Fatalf("expected 1 variant, got %#v", foo_variants)
76 t.Fatalf("expected 1 androidmkentry, got %d", len(androidMkEntries))
81 t.Fatalf("Expected 1 symlink, got %d", len(symlinks))
85 …t.Fatalf("Expected symlink install path to end in recovery/root/system/bin/foo, got: %s", symlinks…
/build/soong/ui/build/
Dfinder.go45 ctx.Fatalf("No working directory for module-finder: %v", err.Error())
59 ctx.Fatalf("%v must not exist", prunePath)
94 ctx.Fatalf("Could not create module-finder: %v", err)
134 ctx.Fatalf("Could not export module list: %v", err)
152 ctx.Fatalf("Could not export module list: %v", err)
161 ctx.Fatalf("Could not export product list: %v", err)
168 ctx.Fatalf("Could not find OWNERS: %v", err)
175 ctx.Fatalf("Could not find METADATA: %v", err)
182 ctx.Fatalf("Could not find TEST_MAPPING: %v", err)
188 ctx.Fatalf("No Android.bp found")
[all …]
Dutil_test.go48 t.Fatalf("Failed to chown: %v", err)
57 t.Fatalf("failed to create temporary directory to hold test text files: %v", err)
64 t.Fatalf("failed to create a src file %q for copying: %v", src, err)
71 t.Fatalf("got %v, expecting nil error on copyFile operation", err)
80 t.Fatalf("got %v, expecting nil error reading dst %q file", err, dst)
91 t.Fatalf("failed to create temporary directory to hold test text files: %v", err)
97 t.Fatalf("failed to create a src file %q for copying: %v", srcExists, err)
Dproc_sync_test.go41 t.Fatalf("Failed to create lock: %v", err)
138 …t.Fatalf("Unexpected error in subprocess trying to lock uncontested fileLock: %v. Subprocess outpu…
141 t.Fatalf("Subprocess failed to lock uncontested fileLock. Subprocess output: %q", message)
146 t.Fatalf("Failed to lock fileLock: %v", err)
154 t.Fatalf("Permitted locking fileLock twice. Subprocess output: %q", message)
159 t.Fatalf("Error unlocking fileLock: %v", err)
167 …t.Fatalf("Subprocess failed to acquire lock after it was released by the main process. Subprocess …
215 t.Fatalf("Incorrect number of waits elapsed; expected 0, got %v", waiter.numWaitsElapsed)
227 t.Fatalf("Incorrect number of waits elapsed; expected 2, got %v", waiter.numWaitsElapsed)
236 …t.Fatalf("Appeared to have acquired lock on iteration %v which should not be available until itera…
[all …]
Drbe.go46 ctx.Fatalf("rbe command path not found")
50 ctx.Fatalf("rbe command %q not found", rbeCmd)
70 ctx.Fatalf("Error retrieving socket address: %v", err)
100 ctx.Fatalf("Unable to start RBE reproxy\nFAILED: Missing LOAS credentials.")
104 ctx.Fatalf("max user processes is insufficient: %d; want >= %d.\n", u, rbeLeastNProcs)
107 ctx.Fatalf("max open files is insufficient: %d; want >= %d.\n", n, rbeLeastNFiles)
111 ctx.Fatalf("Unable to create logs dir (%v) for RBE: %v", config.rbeProxyLogsDir, err)
125 …ctx.Fatalf("Unable to start RBE reproxy\nFAILED: RBE bootstrap failed with: %v\n%s\n", err, output)
133 ctx.Fatalf("rbe bootstrap with shutdown failed with: %v\n%s\n", err, output)
197 ctx.Fatalf("failed to copy %q to %q: %v\n", metricsFile, filename, err)
Dgoma.go49 ctx.Fatalf("ulimit returned unexpected value: %s: %v\n", opt, err)
59 ctx.Fatalf("max user processes is insufficient: %d; want >= %d.\n", u, gomaLeastNProcs)
62 ctx.Fatalf("max open files is insufficient: %d; want >= %d.\n", n, gomaLeastNFiles)
78 ctx.Fatalf("goma_ctl.py ensure_start failed with: %v\n%s\n", err, output)
Dupload.go102 ctx.Fatalf("failed to create a temporary directory to store the list of metrics files: %v\n", err)
108 ctx.Fatalf("failed to copy %q to %q: %v\n", src, dst, err)
124 ctx.Fatalf("failed to marshal metrics upload proto buffer message: %v\n", err)
129 ctx.Fatalf("failed to write the marshaled metrics upload protobuf to %q: %v\n", pbFile, err)
Dutil.go29 ctx.Fatalf("Failed to get absolute path: %v", err)
66 ctx.Fatalf("Error creating %s: %q\n", dir, err)
85 ctx.Fatalf("Error removing %s: %q\n", dir, err)
106 ctx.Fatalf("Error creating %s: %q\n", file, err)
110 ctx.Fatalf("Error checking %s: %q\n", file, err)
Dconfig_test.go235 t.Fatalf("Got unexpected error: %v", err)
238 t.Fatalf("expected %s, got %s", expectedErrStr, err.Error())
272 t.Fatalf("failed to get the current directory: %v", err)
277 t.Fatalf("failed to change directory to %s: %v", dir, err)
325 t.Fatalf("failed to get current directory: %v", err)
328 t.Fatalf("failed to change directory to top dir %s: %v", dir, err)
500 t.Fatalf("Got unexpected error: %v", err)
510 t.Fatalf("failed to create temp dir: %v", err)
618 t.Fatalf("Got unexpected error: %v", err)
623 t.Fatalf("failed to create temp dir: %v", err)
[all …]
/build/soong/cmd/dep_fixer/
Dmain.go50 log.Fatalf("Error opening %q: %v", arg, err)
55 log.Fatalf("Failed to parse: %v", err)
72 log.Fatalf("Failed to write: %v", err)
78 log.Fatalf("Failed to write to %q: %v", *output, err)
/build/soong/cmd/symbols_map/
Dsymbols_map_test.go172 t.Fatalf("failed to create temporary directory: %s", err)
183 t.Fatalf("failed to create input file %s: %s", path, err)
193 t.Fatalf("expected error %q, got %s", tt.error, err.Error())
196 t.Fatalf("unexpected error %q", err)
199 t.Fatalf("missing error %q", tt.error)
203 t.Fatalf("failed to read output file %s: %s", output, err)
208 t.Fatalf("failed to unmarshal textproto %s: %s", output, err)
212 t.Fatalf("expected output %q, got %q", tt.output.String(), got.String())
Dr8_test.go77 t.Fatalf("incorrect error in extractR8CompilerHash, want %s got %s", tt.err, err)
80 t.Fatalf("unexpected error in extractR8CompilerHash: %s", err)
83 t.Fatalf("missing error in extractR8CompilerHash, want %s", tt.err)
/build/soong/cc/
Dlibrary_test.go37 t.Fatalf("unexpected inputs to libfoo shared: %#v", libfooShared.Inputs.Strings())
41 t.Fatalf("unexpected inputs to libfoo static: %#v", libfooStatic.Inputs.Strings())
66 t.Fatalf("unexpected inputs to libfoo shared: %#v", libfooShared.Inputs.Strings())
70 t.Fatalf("unexpected inputs to libfoo static: %#v", libfooStatic.Inputs.Strings())
92 t.Fatalf("unexpected inputs to libfoo shared: %#v", libfooShared.Inputs.Strings())
96 t.Fatalf("unexpected inputs to libfoo static: %#v", libfooStatic.Inputs.Strings())
118 t.Fatalf("unexpected inputs to libfoo shared: %#v", libfooShared.Inputs.Strings())
122 t.Fatalf("unexpected inputs to libfoo static: %#v", libfooStatic.Inputs.Strings())
144 t.Fatalf("unexpected inputs to libfoo shared: %#v", libfooShared.Inputs.Strings())
148 t.Fatalf("unexpected inputs to libfoo static: %#v", libfooStatic.Inputs.Strings())
[all …]
/build/soong/ui/logger/
Dlogger_test.go34 t.Fatalf("Failed to get TempDir: %v", err)
43 t.Fatalf("Failed to create file: %v", err)
46 t.Fatalf("Short write")
48 t.Fatalf("Failed to write: %v", err)
51 t.Fatalf("Failed to close: %v", err)
63 t.Fatalf("Failed to open dir: %v", err)
67 t.Fatalf("Failed to read dir: %v", err)
/build/soong/cmd/multiproduct_kati/
Dmain.go176 log.Fatalf("Cannot determine named products: %v", err)
190 log.Fatalf("Error creating %s: %q\n", file, err)
194 log.Fatalf("Error checking %s: %q\n", file, err)
294 log.Fatalf("Failed to create output directory: %v", err)
344 log.Fatalf("Products don't exist: %s\n", missingProducts)
368 log.Fatalf("--shard value must be >= 1, not %d\n", *shard)
370 log.Fatalf("--shard-count value must be >= 1, not %d\n", *shardCount)
372 log.Fatalf("--shard (%d) must not be greater than --shard-count (%d)\n", *shard,
431 log.Fatalf("Error zipping logs: %v", err)
440 log.Fatalf("%d failures %q", failures.count, failures.fails)
[all …]
/build/soong/cmd/sbox/
Dsbox_test.go101 t.Fatalf("failed to create temp dir: %s", err)
111 t.Fatalf("failed to write %s: %s", fileA, err)
118 t.Fatalf("failed to write %s: %s", fileB, err)
/build/make/tools/rbcrun/
Dhost_test.go151 t.Fatalf("Failed to load foo variable")
153 t.Fatalf("Expected \"bar\", got %q", val)
168 t.Fatalf("Failed to load foo variable")
170 t.Fatalf("Expected \"bar\", got %q", val)
185 …t.Fatalf("Expected error to contain \".scl files can only load other .scl files\": %q", err.Error(…
200 …t.Fatalf("Expected error to contain \"symlinks to starlark files are not allowed\": %q", err.Error…
/build/soong/ui/metrics/proc/
Dstatus_linux_test.go19 t.Fatalf("failed to create proc pid dir %s: %v", procDir, err)
24 t.Fatalf("failed to write proc file %s: %v", statusFilename, err)
29 t.Fatalf("got %v, want nil for error", err)

12345