Home
last modified time | relevance | path

Searched refs:stderrString (Results 1 – 10 of 10) sorted by relevance

/external/toolchain-utils/compiler_wrapper/
Dprint_cmdline_flag_test.go25 …String(`cd '.*' && '.*/x86_64-cros-linux-gnu-gcc.real'.*'main.cc'`, ctx.stderrString()); !matched {
26 t.Errorf("sub command not printed to stderr. Got: %s", ctx.stderrString())
35 …hString(`cd '.*' && '.*usr/bin/clang'.*'main.cc'.*'-fsyntax-only'`, ctx.stderrString()); !matched {
36 t.Errorf("sub command not printed to stderr. Got: %s", ctx.stderrString())
46 if ctx.stderrString() != fmt.Sprintf("cd '%s' && '/somepath'\n", ctx.tempDir) {
47 t.Errorf("unexpected result. Got: %s", ctx.stderrString())
57 if ctx.stderrString() != fmt.Sprintf("cd '%s' && '%s/somepath'\n", ctx.tempDir, ctx.tempDir) {
58 t.Errorf("unexpected result. Got: %s", ctx.stderrString())
69 if ctx.stderrString() != fmt.Sprintf("cd '%s' && env 'a=b' '/somepath'\n", ctx.tempDir) {
70 t.Errorf("unexpected result. Got: %s", ctx.stderrString())
[all …]
Dprint_config_flag_test.go24 if !strings.Contains(ctx.stderrString(), "wrapper config: main.config{") {
25 t.Errorf("config not printed to stderr. Got: %s", ctx.stderrString())
Dgoldenutil_test.go154 if hasInternalError(ctx.stderrString()) {
156 record.WrapperCmd.Cmd, record.Env, ctx.stderrString())
164 record.WrapperCmd.Stderr = ctx.stderrString()
Dtestutil_test.go104 func (ctx *testContext) stderrString() string { func
129 exitCode, ctx.stderrString())
138 return ctx.stderrString()
Drusage_flag_test.go34 if ctx.stderrString() != "someerror" {
35 t.Errorf("stderr was not forwarded. Got: %s", ctx.stderrString())
Dbisect_flag_test.go110 if ctx.stderrString() != "someerror" {
111 t.Errorf("stderr was not forwarded. Got: %s", ctx.stderrString())
Dclang_syntax_flag_test.go57 if ctx.stderrString() != "someerror" {
58 t.Errorf("stderr was not forwarded. Got: %s", ctx.stderrString())
Dclang_tidy_flag_test.go120 if ctx.stderrString() != "someerror" {
121 t.Errorf("stderr was not forwarded. Got: %s", ctx.stderrString())
136 stderr := ctx.stderrString()
Ddisable_werror_flag_test.go154 if err := verifyNonInternalError(ctx.stderrString(), "retryerror"); err != nil {
184 if err := verifyNonInternalError(ctx.stderrString(), "-Werror originalerror"); err != nil {
Dcompile_with_fallback_test.go98 if err := verifyNonInternalError(ctx.stderrString(), "originalerrorfallbackerror"); err != nil {