Home
last modified time | relevance | path

Searched refs:exitCode (Results 1 – 11 of 11) 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.go73 exitCode, err := Main(os.Stdout, os.Stderr, interposer, os.Args, mainOpts{
81 os.Exit(exitCode)
158 exitCode := 128 + int(status.Signal())
159 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/make/tools/product_config/src/com/android/build/config/
DMain.java83 int exitCode = 0; in main() local
103 exitCode = 1; in main()
111 exitCode = 1; in main()
116 exitCode = 1; in main()
118 System.exit(exitCode); in main()
/build/blueprint/bpfmt/
Dbpfmt.go32 exitCode = 0 var
37 exitCode = 2
150 os.Exit(exitCode)
167 os.Exit(exitCode)
/build/soong/bpfix/cmd_lib/
Dbpfix.go44 exitCode = 0 var
49 exitCode = 2
139 exitCode = 2
/build/soong/ui/status/
Dninja.go223 exitCode := int(msg.EdgeFinished.GetStatus())
224 if exitCode != 0 {
225 err = fmt.Errorf("exited with code: %d", exitCode)
228 …tWithErrorHint := errorHintGenerator.GetOutputWithErrorHint(msg.EdgeFinished.GetOutput(), exitCode)
/build/blueprint/gotestmain/
Dgotestmain.go37 exitCode = 0 var
81 exitCode = 1
/build/blueprint/bpmodify/
Dbpmodify.go57 exitCode = 0 var
62 exitCode = 2
342 os.Exit(exitCode)
/build/soong/java/
Dlint.go500 …if exitCode := ctx.Config().Getenv("ANDROID_LINT_SUPPRESS_EXIT_CODE"); exitCode == "" && !suppress…