Home
last modified time | relevance | path

Searched refs:exitCode (Results 1 – 9 of 9) sorted by relevance

/build/soong/cmd/path_interposer/
Dmain_test.go88 exitCode int
96 exitCode: 1,
103 exitCode: 1,
118 exitCode: 42,
125 exitCode: 137,
132 exitCode: 1,
140 exitCode: 1,
158 exitCode, err := Main(ioutil.Discard, ioutil.Discard, interposer, testCase.args, mainOpts{
172 if testCase.exitCode != exitCode {
173 t.Errorf("expected exit code %d, got %d", testCase.exitCode, exitCode)
[all …]
Dmain.go56 exitCode, err := Main(os.Stdout, os.Stderr, interposer, os.Args, mainOpts{
64 os.Exit(exitCode)
141 exitCode := 128 + int(status.Signal())
142 return exitCode, nil
/build/soong/cmd/javac_wrapper/
Djavac_wrapper_test.go114 exitCode, err := Main(ioutil.Discard, "test", []string{"sh", "-c", "exit 9"})
118 if exitCode != 9 {
119 t.Fatal("expected exit code 9, got", exitCode)
124 exitCode, err := Main(ioutil.Discard, "test", []string{"sh", "-c", "kill -9 $$"})
128 if exitCode != 137 {
129 t.Fatal("expected exit code 137, got", exitCode)
134 exitCode, err := Main(ioutil.Discard, "test", []string{"echo"})
138 if exitCode != 0 {
139 t.Fatal("expected exit code 0, got", exitCode)
Djavac_wrapper.go56 exitCode, err := Main(os.Stdout, os.Args[0], os.Args[1:])
60 os.Exit(exitCode)
104 exitCode := 128 + int(status.Signal())
105 return exitCode, nil
/build/blueprint/bpfmt/
Dbpfmt.go31 exitCode = 0 var
36 exitCode = 2
161 os.Exit(exitCode)
/build/soong/bpfix/cmd_lib/
Dbpfix.go44 exitCode = 0 var
49 exitCode = 2
139 exitCode = 2
/build/soong/ui/status/
Dninja.go156 exitCode := int(msg.EdgeFinished.GetStatus())
157 if exitCode != 0 {
158 err = fmt.Errorf("exited with code: %d", exitCode)
/build/blueprint/gotestmain/
Dgotestmain.go37 exitCode = 0 var
82 exitCode = 1
/build/blueprint/bpmodify/
Dbpmodify.go43 exitCode = 0 var
48 exitCode = 2
230 os.Exit(exitCode)