Home
last modified time | relevance | path

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

12345678910>>...28

/third_party/node/test/fixtures/
Dprocess-exit-code-cases.js8 process.exitCode = 42;
10 assert.strictEqual(process.exitCode, 42);
17 process.exitCode = 99;
19 assert.strictEqual(process.exitCode, 42);
27 process.exitCode = 99;
29 assert.strictEqual(process.exitCode, 0);
37 process.exitCode = 99;
41 if (code !== 1 || process.exitCode !== 1) {
55 process.exitCode = 95;
57 assert.strictEqual(process.exitCode, 95);
[all …]
/third_party/node/deps/npm/test/lib/commands/
Doutdated.js269 t.equal(process.exitCode, 1)
281 t.equal(process.exitCode, 1)
294 t.equal(process.exitCode, 1)
307 t.equal(process.exitCode, 1)
320 t.equal(process.exitCode, 1)
332 t.equal(process.exitCode, 1)
344 t.equal(process.exitCode, 1)
357 t.equal(process.exitCode, 1)
369 t.equal(process.exitCode, 1)
382 t.equal(process.exitCode, 1)
[all …]
Dquery.js243 const { exitCode } = process
244 t.afterEach(() => process.exitCode = exitCode)
262 t.ok(process.exitCode, 'exits with code')
271 t.notOk(process.exitCode, 'exits without code')
280 t.notOk(process.exitCode, 'exits without code')
290 t.ok(process.exitCode, 'exits with code')
299 t.notOk(process.exitCode, 'exits without code')
309 t.ok(process.exitCode, 'exits with code')
319 t.ok(process.exitCode, 'exits with code')
Daudit.js89 t.ok(process.exitCode, 'would have exited uncleanly')
137 t.ok(process.exitCode, 'would have exited uncleanly')
166 t.ok(process.exitCode, 'would have exited uncleanly')
957 t.notOk(process.exitCode, 'should exit successfully')
990 t.notOk(process.exitCode, 'should exit successfully')
1006 t.notOk(process.exitCode, 'should exit successfully')
1112 t.equal(process.exitCode, 1, 'should exit with error')
1129 t.notOk(process.exitCode, 'should exit successfully')
1144 t.equal(process.exitCode, 1, 'should exit with error')
1161 t.equal(process.exitCode, 1, 'should exit with error')
[all …]
/third_party/node/deps/npm/lib/utils/
Dexit-handler.js35 process.exitCode = code || 1
134 let exitCode = process.exitCode || 0 variable
135 let noLogMessage = exitCode !== 0
139 exitCode = 1
147 exitCode = err.code
200 exitCode = err.errno
202 exitCode = err.code
211 log.verbose('exit', exitCode || 0)
215 : !!exitCode
222 const exit = () => ++flushed === flush.length && process.exit(exitCode)
/third_party/node/deps/npm/test/lib/utils/
Dexit-handler.js50 process.exitCode = code || process.exitCode || 0
51 process.emit('exit', process.exitCode)
144 t.equal(process.exitCode, 1)
186 t.equal(process.exitCode, 1)
197 t.equal(process.exitCode, 1)
208 t.equal(process.exitCode, 1)
215 t.equal(process.exitCode, 1)
222 t.equal(process.exitCode, 1)
233 t.equal(process.exitCode, 1)
258 t.equal(process.exitCode, 1)
[all …]
/third_party/typescript/tests/baselines/reference/
DAPISample_compile.js38 var exitCode = emitResult.emitSkipped ? 1 : 0; variable
39 console.log(`Process exiting with code '${exitCode}'.`);
40 process.exit(exitCode);
72 var exitCode = emitResult.emitSkipped ? 1 : 0;
73 console.log("Process exiting with code '".concat(exitCode, "'."));
74 process.exit(exitCode);
/third_party/typescript/tests/baselines/reference/tsc/incremental/
Dwhen-new-file-is-added-to-the-referenced-project.js36 exitCode:: ExitStatus.Success
118 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
132 exitCode:: ExitStatus.Success
197 exitCode:: ExitStatus.Success
221 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
277 exitCode:: ExitStatus.Success
DnoEmit-changes-incremental-declaration.js59 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
259 exitCode:: ExitStatus.Success
270 exitCode:: ExitStatus.Success
312 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
505 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
631 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
642 exitCode:: ExitStatus.Success
653 exitCode:: ExitStatus.Success
672 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
720 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
[all …]
DnoEmit-changes-composite.js59 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
260 exitCode:: ExitStatus.Success
271 exitCode:: ExitStatus.Success
313 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
521 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
644 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
655 exitCode:: ExitStatus.Success
666 exitCode:: ExitStatus.Success
685 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
733 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
[all …]
DnoEmit-changes-incremental.js59 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
233 exitCode:: ExitStatus.Success
244 exitCode:: ExitStatus.Success
286 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
470 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
597 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
608 exitCode:: ExitStatus.Success
619 exitCode:: ExitStatus.Success
638 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
686 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
[all …]
Dwith-only-dts-files.js30 exitCode:: ExitStatus.Success
79 exitCode:: ExitStatus.Success
93 exitCode:: ExitStatus.Success
/third_party/node/test/parallel/
Dtest-stdout-close-unref.js39 proc.on('exit', common.mustCall(function(exitCode) { argument
40 if (exitCode !== 0)
41 process.exitCode = exitCode;
Dtest-stdio-closed.js20 proc.on('exit', common.mustCall(function(exitCode) { argument
21 assert.strictEqual(exitCode, 0);
35 proc.on('exit', common.mustCall(function(exitCode) { argument
36 assert.strictEqual(exitCode, 0);
Dtest-domain-with-abort-on-uncaught-exception.js111 child.on('exit', function onChildExited(exitCode, signal) { argument
116 assert(common.nodeProcessAborted(exitCode, signal),
121 assert.strictEqual(exitCode, 7);
128 assert.strictEqual(exitCode, 0);
Dtest-inspector-debug-end.js12 strictEqual((await instance.expectShutdown()).exitCode, 42);
19 strictEqual((await instance.expectShutdown()).exitCode, 42);
35 strictEqual((await instance.expectShutdown()).exitCode, 42);
/third_party/node/tools/
Dlint-sh.mjs75 if (!process.exitCode) process.exitCode = 1;
118 if (!process.exitCode && code) process.exitCode = code;
132 if (!process.exitCode && code) process.exitCode = code;
172 process.exitCode = 1;
/third_party/typescript/tests/baselines/reference/tsbuild/configFileErrors/
Dreports-syntax-errors-in-config-file.js46 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
115 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
137 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
156 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
170 exitCode:: ExitStatus.Success
/third_party/typescript/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/
Dusing-dynamic-priority-polling.js49 exitCode:: ExitStatus.undefined
68 exitCode:: ExitStatus.undefined
86 exitCode:: ExitStatus.undefined
121 exitCode:: ExitStatus.undefined
140 exitCode:: ExitStatus.undefined
Dusing-fixed-chunk-size-polling.js62 exitCode:: ExitStatus.undefined
89 exitCode:: ExitStatus.undefined
111 exitCode:: ExitStatus.undefined
153 exitCode:: ExitStatus.undefined
177 exitCode:: ExitStatus.undefined
/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/
Derror.js15 constructor(exitCode, code, message) { argument
21 this.exitCode = exitCode;
/third_party/node/deps/npm/node_modules/npm-audit-report/lib/
Dindex.js10 const exitCode = require('./exit-code.js') constant
39 exitCode: exitCode(data, auditLevel),
/third_party/typescript/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/
Dwith-non-synchronous-watch-directory.js76 exitCode:: ExitStatus.undefined
114 exitCode:: ExitStatus.undefined
168 exitCode:: ExitStatus.undefined
220 exitCode:: ExitStatus.undefined
249 exitCode:: ExitStatus.undefined
278 exitCode:: ExitStatus.undefined
310 exitCode:: ExitStatus.undefined
341 exitCode:: ExitStatus.undefined
372 exitCode:: ExitStatus.undefined
427 exitCode:: ExitStatus.undefined
/third_party/node/deps/npm/node_modules/signal-exit/dist/mjs/
Dindex.js221 this.#process.exitCode = code || 0;
223 this.#emitter.emit('exit', this.#process.exitCode, null);
224 return this.#originalProcessReallyExit.call(this.#process, this.#process.exitCode);
230 this.#process.exitCode = args[0];
236 this.#emitter.emit('exit', this.#process.exitCode, null);
/third_party/typescript/tests/cases/compiler/
DAPISample_compile.ts41 var exitCode = emitResult.emitSkipped ? 1 : 0;
42 console.log(`Process exiting with code '${exitCode}'.`);
43 process.exit(exitCode);

12345678910>>...28