Home
last modified time | relevance | path

Searched refs:Errorf (Results 1 – 25 of 427) sorted by relevance

12345678910>>...18

/build/soong/android/
Dutil_test.go68 t.Errorf("incorrect output:")
69 t.Errorf(" input: %#v", in)
70 t.Errorf(" expected: %#v", want)
71 t.Errorf(" got: %#v", out)
127 t.Errorf("incorrect output:")
128 t.Errorf(" input: %#v", testCase.in)
129 t.Errorf(" expected: %#v", testCase.out)
130 t.Errorf(" got: %#v", out)
164 t.Errorf("incorrect output:")
165 t.Errorf(" input: %#v", testCase.input)
[all …]
Donceper_test.go30 t.Errorf(`first call to Once should return "a": %q`, a)
34 t.Errorf(`second call to Once with the same key should return "a": %q`, b)
49 t.Errorf("expect %q, got %q", "foo", a)
61 t.Errorf(`first call to Once should return "a": %q`, a)
65 t.Errorf(`Get with the same key should return "a": %q`, b)
95 t.Errorf("expect %q, got %q", "foo", a)
107 t.Errorf(`first call to OnceStringSlice should return ["a"]: %q`, a)
111 t.Errorf(`second call to OnceStringSlice with the same key should return ["a"]: %q`, b)
123 t.Errorf(`first call to Once2StringSlice should return ["a"], ["b"]: %q, %q`, a, b)
127 …t.Errorf(`second call to Once2StringSlice with the same key should return ["a"], ["b"]: %q, %q`, c…
[all …]
Dbazel_handler_test.go18 t.Errorf("Did not expect cquery results prior to running InvokeBazel(), but got %s", g)
26 t.Errorf("Expected cquery results after running InvokeBazel(), but got none")
28 t.Errorf("Expected output %s, got %s", w, g)
39 t.Errorf("Expected main.bzl to exist, but it does not")
41 t.Errorf("Unexpected error stating main.bzl %s", err)
45 t.Errorf("Expected BUILD.bazel to exist, but it does not")
47 t.Errorf("Unexpected error stating BUILD.bazel %s", err)
51 t.Errorf("Expected WORKSPACE.bazel to exist, but it does not")
53 t.Errorf("Unexpected error stating WORKSPACE.bazel %s", err)
97 t.Errorf("Expected %d registered build statements, got %#v", want, got)
Dtest_asserts.go31 t.Errorf("%s: expected:\n%#v\nactual:\n%#v", message, expected, actual)
40 t.Errorf("%s: expected %t, actual %t", message, expected, actual)
49 t.Errorf("%s: expected %d, actual %d", message, expected, actual)
58 t.Errorf("%s: expected %s, actual %s", message, expected, actual)
96 t.Errorf("Expected error but was nil")
98 t.Errorf("%s: expected %s, actual %s", message, expected, actual.Error())
116 t.Errorf("%s: could not find %q within %q", message, expectedSubstring, s)
125 t.Errorf("%s: unexpectedly found %q within %q", message, unexpectedSubstring, s)
146 t.Errorf("%s: could not find %q within %q", message, s, list)
155 t.Errorf("%s: unexpectedly found %q within %q", message, s, list)
[all …]
/build/make/tools/compliance/
Dconditionset_test.go349 t.Errorf("MatchingAny(%s): got %04x, want %04x", data, actual, expected)
353 t.Errorf("len(MatchinAny(%s).Names()): got %d, want %d",
358 t.Errorf("MatchingAny(%s).Names()[%d]: got %s, want %s",
366 t.Errorf("len(MatchingAny(%s).AsList()): got %d, want %d",
371 t.Errorf("MatchingAny(%s).AsList()[%d]: got %s, want %s",
389 t.Errorf("MatchingAnySet(%s): got %04x, want %04x", data, actual, expected)
393 t.Errorf("len(MatchingAnySet(%s).Names()): got %d, want %d",
398 t.Errorf("MatchingAnySet(%s).Names()[%d]: got %s, want %s",
407 t.Errorf("len(MatchingAnySet(%s).AsList()): got %d, want %d",
412 t.Errorf("MatchingAnySet(%s).AsList()[%d]: got %s, want %s",
[all …]
Dcondition_test.go27 t.Errorf("impliesShare.HasAny(\"notice\"=%04x) got true, want false", NoticeCondition)
31 t.Errorf("impliesShare.HasAny(\"restricted\"=%04x) got false, want true", RestrictedCondition)
35 t.Errorf("impliesShare.HasAny(\"reciprocal\"=%04x) got false, want true", ReciprocalCondition)
39 t.Errorf("impliesShare.HasAny(nil=%04x) got true, want false", LicenseCondition(0x0000))
47 t.Errorf("unexpected name for condition %04x: got %s, want %s", condition, actual, expected)
62 t.Errorf("invalid condition unexpected name: got %s, wanted panic", name)
65 t.Errorf("no expected panic for %04x.Name(): got no panic, wanted panic", lc)
/build/soong/ui/logger/
Dlogger_test.go72 t.Errorf("File list does not match.")
73 t.Errorf(" got: %v", names)
74 t.Errorf("expected: %v", expected)
81 t.Errorf("Error reading file: %v", err)
86 t.Errorf("Contents of %v does not match.", name)
87 t.Errorf(" got: %v", data)
88 t.Errorf("expected: %v", expected)
127 t.Errorf("Expected process to exit with status 42, got %v", err)
149 t.Errorf("Expected process to exit with status 1, got %v", err)
164 t.Errorf("Expected process to exit cleanly, got %v", err)
[all …]
/build/soong/java/
Dkotlin_test.go60 t.Errorf(`foo kotlinc inputs %v != ["a.java", "b.kt"]`, fooKotlinc.Inputs)
64 t.Errorf(`foo inputs %v != ["a.java"]`, fooJavac.Inputs)
68 t.Errorf("foo classpath %v does not contain %q",
73 t.Errorf("foo jar inputs %v does not contain %q",
78 t.Errorf("foo jar inputs %v does not contain %v",
83 t.Errorf("foo jar inputs %v does not contain %v",
88 t.Errorf("foo header jar inputs %v does not contain %q",
96 t.Errorf(`bar kotlinc inputs %v != ["b.kt"]`, barKotlinc.Inputs)
100 t.Errorf(`expected %q in bar implicits %v`,
105 t.Errorf(`expected %q in bar implicits %v`,
[all …]
Dplugin_test.go33 t.Errorf("expected turbine to be enabled")
37 t.Errorf("want empty processorpath, got %q", javac.Args["processorpath"])
41 t.Errorf("want '-proc:none' argument, got %q", javac.Args["processor"])
66 t.Errorf("expected turbine to be enabled")
72 t.Errorf("foo implicits %v does not contain %q", javac.Implicits.Strings(), bar)
76 t.Errorf("foo processorpath %q != '-processorpath %s'", javac.Args["processorpath"], bar)
80 t.Errorf("foo processor %q != '-processor com.bar'", javac.Args["processor"])
106 t.Errorf("expected turbine to be disabled")
112 t.Errorf("foo implicits %v does not contain %q", javac.Implicits.Strings(), bar)
116 t.Errorf("foo processorpath %q != '-processorpath %s'", javac.Args["processorpath"], bar)
[all …]
Dapp_import_test.go46 t.Errorf("can't find dexpreopt outputs")
54 t.Errorf("Incorrect signing flags, expected: %q, got: %q", expected, signingFlag)
80 t.Errorf("dexpreopt shouldn't have run.")
107 t.Errorf("can't find dexpreopt outputs")
111 t.Errorf("signing rule shouldn't be included.")
114 t.Errorf("can't find aligning rule")
150 t.Errorf("Incorrect certificates flags, expected: %q, got: %q", expected, certificatesFlag)
157 …t.Errorf("Incorrect signing flags, expected: %q, got: %q", expectedCertSigningFlags, actualCertSig…
189 t.Errorf("Incorrect signing flags, expected: %q, got: %q", expected, signingFlag)
216 t.Errorf("can't find dexpreopt outputs")
[all …]
Dandroidmk_test.go39 t.Errorf("Unexpected required modules - expected: %q, actual: %q", expected, actual)
55 t.Errorf("two entries are expected, but got %d", len(entriesList))
62 t.Errorf("Unexpected module name - expected: %q, actual: %q", expected, actual)
69 t.Errorf("Unexpected module name - expected: %q, actual: %q", expected, actual)
86 t.Errorf("two entries are expected, but got %d", len(entriesList))
93 t.Errorf("Unexpected required modules - expected: %q, actual: %q", expected, actual)
100 t.Errorf("Unexpected required modules - expected: %q, actual: %q", expected, actual)
121 t.Errorf("two entries are expected, but got %d", len(entriesList))
126 t.Errorf("Unexpected required modules: %q", r)
133 t.Errorf("Unexpected required modules - expected: %q, actual: %q", expected, actual)
[all …]
/build/soong/rust/
Dlibrary_test.go52 …t.Errorf("missing crate-type for static variant, expecting %#v, rustcFlags: %#v", rlibCrateType, l…
57 …t.Errorf("missing crate-type for static variant, expecting %#v, rustcFlags: %#v", dylibCrateType, …
62 …t.Errorf("missing crate-type for static variant, expecting %#v, rustcFlags: %#v", staticCrateType,…
67 …t.Errorf("missing crate-type for shared variant, expecting %#v, got rustcFlags: %#v", sharedCrateT…
84 …t.Errorf("missing prefer-dynamic flag for libfoo dylib, rustcFlags: %#v", libfooDylib.Args["rustcF…
100 …t.Errorf("missing android_dylib cfg flag for libfoo dylib, rustcFlags: %#v", libfooDylib.Args["rus…
153 t.Errorf("missing expected -Wl,-soname linker flag for libfoo shared lib, linkFlags: %#v",
158 …t.Errorf("Non-static libstd dylib expected to be a dependency of Rust shared libraries. Dylib deps…
178 t.Errorf("missing expected libfoo.so.toc implicit dependency, instead found: %#v",
194 …t.Errorf("Static libstd rlib expected to be a dependency of Rust static libraries. Rlib deps are: …
[all …]
Dbinary_test.go51 t.Errorf("rustlibs dependency libfoo should be an rlib dep for host modules")
55 t.Errorf("rustlibs dependency libfoo should be an dylib dep for device modules")
79 t.Errorf("rustlibs dependency libfoo should be an rlib dep when prefer_rlib is defined")
83 t.Errorf("libstd dependency should be an rlib dep when prefer_rlib is defined")
97 t.Errorf("wrong host tool path, expected %q got %q", w, g)
113 t.Errorf("extra --test flag, rustcFlags: %#v", flags)
130 …t.Errorf("missing link flag to use bootstrap linker, expecting %#v, linkFlags: %#v", flag, foo.Arg…
148 t.Errorf("static binary missing '-C relocation-model=static' in rustcFlags, found: %#v", flags)
151 t.Errorf("static binary missing '-C panic=abort' in rustcFlags, found: %#v", flags)
154 t.Errorf("static binary missing '-static' in linkFlags, found: %#v", flags)
[all …]
Dprotobuf_test.go46 …t.Errorf("libprotobuf dependency missing for rust_protobuf (dependency missing from AndroidMkDylib…
53 t.Errorf("expected %q in %q", w, cmd)
58 t.Errorf("expected %q in %q", w, cmd)
61 t.Errorf("expected %q in %q", w, cmd)
67 …t.Errorf("rust_protobuf is not producing multiple outputs; expected 'proto.rs' in list, got: %#v ",
88 t.Errorf("libgrpcio dependency missing for rust_grpcio (dependency missing from AndroidMkDylibs)")
93 …t.Errorf("libfutures dependency missing for rust_grpcio (dependency missing from AndroidMkDylibs)")
100 t.Errorf("expected %q in %q", w, cmd)
105 t.Errorf("expected %q in %q", w, cmd)
111 …t.Errorf("rust_protobuf is not producing multiple outputs; expected 'proto_grpc.rs' in list, got: …
Dproject_json_test.go41 t.Errorf("rust-project.json has not been generated")
55 t.Errorf("Unable to parse the rust-project.json as JSON: %v", err)
59 t.Errorf("Unexpected JSON format: %v", content)
62 t.Errorf("No crates attribute in rust-project.json: %v", root)
66 t.Errorf("Unexpected crates format: %v", root["crates"])
86 t.Errorf("Unexpected format for deps: %v", crate["deps"])
91 t.Errorf("Unexpected format for dependency: %v", dep)
95 t.Errorf("Dependency is missing the name key: %v", d)
201 t.Errorf("Incorrect features: got %v; want %v", foundCfg, expectedCfgs[i])
227 t.Errorf("Entry for binary %q not found: %s", "a", jsonContent)
[all …]
Dtest_test.go36 t.Errorf("wrong output path: %v; expected: %v", outPath, expectedOut)
41 t.Errorf("expected exactly one test data file. test data files: [%s]", dataPaths)
68 …t.Errorf("rlib-std variant for libfoo not detected as a rustlib-defined rlib dependency for device…
71 …t.Errorf("rlib-std variant for libbar not detected as an rlib dependency for device rust_test modu…
74 t.Errorf("Device rust_test module 'my_test' does not link libstd as an rlib")
127 t.Errorf("expected test output file to be 'main_test', but was '%s'", outputPath)
130 t.Errorf("expected test data file to be 'test_lib.so', but was '%s'", dataLibraryPath)
133 t.Errorf("expected test data file to be 'test_lib.so', but was '%s'", dataBinaryPath)
187 t.Errorf("expected test output file to be 'main_test', but was '%s'", outputPath)
191 t.Errorf("expected LOCAL_TEST_DATA to end with `:test_lib.so:foo/bar/baz`,"+
[all …]
Dbindgen_test.go57 t.Errorf("missing bindgen flags in rust_bindgen rule: flags %#v", libbindgen.Args["flags"])
60 t.Errorf("missing clang cflags in rust_bindgen rule: cflags %#v", libbindgen.Args["cflags"])
63 …t.Errorf("missing shared_libs exported includes in rust_bindgen rule: cflags %#v", libbindgen.Args…
66 …t.Errorf("missing static_libs exported includes in rust_bindgen rule: cflags %#v", libbindgen.Args…
69 …t.Errorf("missing static_libs exported includes in rust_bindgen rule: cflags %#v", libbindgen.Args…
72 …t.Errorf("rust_bindgen missing cflags defined in cc_defaults: cflags %#v", libbindgen.Args["cflags…
97 t.Errorf("Custom bindgen binary %s not used for libbindgen: rule description %#v", "my_bindgen",
138 t.Errorf("c_std value not passed in to rust_bindgen as a clang flag")
142 t.Errorf("cpp_std value not passed in to rust_bindgen as a clang flag")
Drust_test.go201 …t.Errorf("libNameFromFilePath returned the wrong name; expected '%#v', got '%#v'", expectedResult,…
255 t.Errorf("Dylib dependency not detected (dependency missing from AndroidMkDylibs)")
259 t.Errorf("Rlib dependency not detected (dependency missing from AndroidMkRlibs)")
263 t.Errorf("Proc_macro dependency not detected (dependency missing from AndroidMkProcMacroLibs)")
267 t.Errorf("Shared library dependency not detected (dependency missing from AndroidMkSharedLibs)")
271 t.Errorf("Static library dependency not detected (dependency missing from AndroidMkStaticLibs)")
275 …t.Errorf("-lstatic flag not being passed to rustc for static library %#v", rustc.Args["rustcFlags"…
335 …t.Errorf("rust_bindgen generated source not included as implicit input for libfoo; Implicits %#v",…
338 …t.Errorf("genrule generated source not included as implicit input for libfoo; Implicits %#v", libf…
343 …t.Errorf("rust_bindgen generated source not included as implicit input for fizz-buzz-dep; Implicit…
[all …]
/build/soong/starlark_fmt/
Dformat_test.go31 t.Errorf("Expected %q, got %q", expectedOut, out)
41 t.Errorf("Expected %q, got %q", expectedOut, out)
54 t.Errorf("Expected %q, got %q", expectedOut, out)
64 t.Errorf("Expected %q, got %q", expectedOut, out)
74 t.Errorf("Expected %q, got %q", expectedOut, out)
87 t.Errorf("Expected %q, got %q", expectedOut, out)
100 t.Errorf("Expected %q, got %q", expectedOut, out)
110 t.Errorf("Expected %q, got %q", expectedOut, out)
131 t.Errorf("Expected %q, got %q", expectedOut, out)
155 t.Errorf("Expected %q, got %q", expectedOut, out)
[all …]
/build/blueprint/
Dcontext_test.go160 t.Errorf("unexpected parse errors:")
162 t.Errorf(" %s", err)
169 t.Errorf("unexpected dep errors:")
171 t.Errorf(" %s", err)
226 t.Errorf("unexpected parse errors:")
228 t.Errorf(" %s", err)
235 t.Errorf("unexpected dep errors:")
237 t.Errorf(" %s", err)
245 t.Errorf("unexpected walkDeps behaviour: %s\ndown should be: BCEFG", outputDown)
248 t.Errorf("unexpected walkDeps behaviour: %s\nup should be: BEGFC", outputUp)
[all …]
Dninja_strings_test.go140 t.Errorf("incorrect ninja string:")
141 t.Errorf(" input: %q", testCase.input)
142 t.Errorf(" expected: %#v", expected)
143 t.Errorf(" got: %#v", output)
151 t.Errorf("unexpected error:")
152 t.Errorf(" input: %q", testCase.input)
153 t.Errorf(" expected: %q", testCase.err)
154 t.Errorf(" got: %q", errStr)
174 t.Errorf("incorrect output:")
175 t.Errorf(" input: %q", input)
[all …]
Dninja_defs.go151 return nil, fmt.Errorf("encountered rule params with no command " +
156 return nil, fmt.Errorf("Pool %s is not visible in this scope", r.Pool)
161 return nil, fmt.Errorf("error parsing Command param: %s", err)
168 return nil, fmt.Errorf("error parsing Depfile param: %s", err)
180 return nil, fmt.Errorf("error parsing Description param: %s", err)
196 return nil, fmt.Errorf("error parsing Rspfile param: %s", err)
204 return nil, fmt.Errorf("error parsing RspfileContent param: %s",
213 return nil, fmt.Errorf("error parsing SymlinkOutputs param: %s",
221 return nil, fmt.Errorf("error parsing CommandDeps param: %s", err)
226 return nil, fmt.Errorf("error parsing CommandDeps param: %s", err)
[all …]
Dsplice_modules_test.go120 t.Errorf("test case: %v, %v -> %v", testCase.in, testCase.at, testCase.with)
121 t.Errorf("incorrect output:")
122 t.Errorf(" expected: %v", testCase.out)
123 t.Errorf(" got: %v", got)
126 t.Errorf("test case: %v, %v -> %v", testCase.in, testCase.at, testCase.with)
127 t.Errorf("incorrect index:")
128 t.Errorf(" expected: %d", testCase.outAt)
129 t.Errorf(" got: %d", gotAt)
132 t.Errorf("test case: %v, %v -> %v", testCase.in, testCase.at, testCase.with)
137 t.Errorf(" expected to%s reallocate", not)
/build/soong/ui/build/
Denvironment_test.go28 t.Errorf("Expected [TEST2=0], got: %v", got)
37 t.Errorf("Expected [TEST2=0], got: %v", got)
46 t.Errorf("Expected [TEST=0], got: %v", got)
55 t.Errorf("Expected [TEST=0], got: %v", got)
64 t.Errorf("Expected [TEST=1 TEST3=2], got: %v", got)
85 t.Errorf("Environment list does not match")
86 t.Errorf("expected: %v", expected)
87 t.Errorf(" got: %v", got)
/build/soong/cmd/symbols_map/
Delf.go34 return "", fmt.Errorf("failed to open %s: %w", filename, err)
55 return "", fmt.Errorf("failed to parse elf file %s: %w", filename, err)
64 return "", fmt.Errorf("failed to find .note.gnu.build-id in %s", filename)
69 return "", fmt.Errorf("failed to read .note.gnu.build-id: %w", err)
96 return nil, fmt.Errorf("failed to read note header: %w", err)
102 return nil, fmt.Errorf("failed to read note name: %w", err)
109 return nil, fmt.Errorf("failed to read note desc: %w", err)

12345678910>>...18