gecko/build/pymake/tests
Siddharth Agarwal b2ace89d27 Bug 772186 - Support return values from pymake native commands. r=khuey
If the return value is an integer, treat it like an exit code. Otherwise, if
it is None, treat it like 0. Otherwise treat it as an error. This behaviour is
equivalent to that of sys.exit. Also fix our own sys.exit handling to match
this, and add tests for everything.

--HG--
extra : rebase_source : e36155d8fbe555e76effd182979cd6b1000a6ece
2012-07-12 09:52:25 +05:30
..
subdir Update in-tree pymake to tip. a=NPOTB 2010-10-18 09:50:27 -04:00
automatic-variables.mk
bad-command-continuation.mk
call.mk
cmdgoals.mk Update pymake to tip of my repo, NPODB. 2009-03-26 16:24:51 -04:00
commandmodifiers.mk
comment-parsing.mk Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00
continuations-in-functions.mk Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00
datatests.py Update pymake for better memory usage and faster execution. 2009-04-01 16:13:55 -04:00
default-target2.mk
default-target.mk Import a new rev of pymake which fixes, among other things, bug 576914 2010-07-10 20:56:38 -07:00
define-directive.mk Bug 604279: Handle spacing in front of define and endef when inside a define block. r=ted a=NPOTB 2010-10-14 17:04:26 -04:00
depfailed.mk
depfailedj.mk
diamond-deps.mk
dotslash-dir.mk Update pymake snapshot to r300. 2011-10-31 13:16:21 -04:00
dotslash-parse.mk Update pymake snapshot to r300. 2011-10-31 13:16:21 -04:00
dotslash-phony.mk Update pymake snapshot to r300. 2011-10-31 13:16:21 -04:00
dotslash.mk
doublecolon-exists.mk
doublecolon-priordeps.mk Update pymake to tip of my repo, NPODB. 2009-03-26 16:24:51 -04:00
doublecolon-remake.mk
dynamic-var.mk
empty-command-semicolon.mk Update pymake for additional fixes, including making it work in MozillaBuild 1.4 without manually exporting SHELL, not printing warnings for -include files which don't exist, and parsing errors in browser/locales/Makefile. 2009-10-26 14:08:20 -04:00
empty-with-deps.mk
eof-continuation.mk
escape-chars.mk
escaped-continuation.mk
eval-duringexecute.mk
eval.mk
exit-code.mk
file-functions-symlinks.mk
file-functions.mk
func-refs.mk Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00
functions.mk
if-syntaxerr.mk Import a new rev of pymake which fixes, among other things, bug 576914 2010-07-10 20:56:38 -07:00
ifdefs-nesting.mk
ifdefs.mk
ignore-error.mk
implicit-chain.mk
implicit-dir.mk
implicit-terminal.mk
implicitsubdir.mk
include-dynamic.mk Import a new rev of pymake which fixes, among other things, bug 576914 2010-07-10 20:56:38 -07:00
include-file.inc
include-missing.mk Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00
include-notfound.mk
include-optional-warning.mk Update pymake for additional fixes, including making it work in MozillaBuild 1.4 without manually exporting SHELL, not printing warnings for -include files which don't exist, and parsing errors in browser/locales/Makefile. 2009-10-26 14:08:20 -04:00
include-regen2.mk Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00
include-regen3.mk Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00
include-regen.mk Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00
include-test.mk
includedeps-norebuild.mk Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00
includedeps-sideeffects.mk Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00
includedeps.deps Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00
includedeps.mk Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00
info.mk Update pymake snapshot to r300. 2011-10-31 13:16:21 -04:00
justprint-native.mk And add the new tests. 2011-07-21 11:50:25 -07:00
justprint.mk And add the new tests. 2011-07-21 11:50:25 -07:00
keep-going-doublecolon.mk Update pymake with --keep-going and other fixes 2009-03-31 17:10:23 -04:00
keep-going-parallel.mk Update pymake with --keep-going and other fixes 2009-03-31 17:10:23 -04:00
keep-going.mk Update pymake with --keep-going and other fixes 2009-03-31 17:10:23 -04:00
line-continuations.mk Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00
link-search.mk
makeflags.mk Update pymake with --keep-going and other fixes 2009-03-31 17:10:23 -04:00
matchany2.mk
matchany3.mk
matchany.mk
mkdir-fail.mk Update pymake snapshot to r293. 2011-07-21 11:48:23 -07:00
mkdir.mk Bug 637034 - Add a native mkdir to pymake.builtins. r=ted 2011-03-20 20:12:36 +11:00
native-command-return-fail1.mk Bug 772186 - Support return values from pymake native commands. r=khuey 2012-07-12 09:52:25 +05:30
native-command-return-fail2.mk Bug 772186 - Support return values from pymake native commands. r=khuey 2012-07-12 09:52:25 +05:30
native-command-return.mk Bug 772186 - Support return values from pymake native commands. r=khuey 2012-07-12 09:52:25 +05:30
native-command-shell-glob.mk Commit pymake test that got missed on the recent update. 2011-08-26 08:07:30 -04:00
native-command-sys-exit-fail1.mk Bug 772186 - Support return values from pymake native commands. r=khuey 2012-07-12 09:52:25 +05:30
native-command-sys-exit-fail2.mk Bug 772186 - Support return values from pymake native commands. r=khuey 2012-07-12 09:52:25 +05:30
native-command-sys-exit.mk Bug 772186 - Support return values from pymake native commands. r=khuey 2012-07-12 09:52:25 +05:30
native-environment.mk Update in-tree pymake to tip. a=NPOTB 2010-10-18 09:50:27 -04:00
native-pycommandpath-sep.mk Update in-tree pymake to tip. a=NPOTB 2010-10-18 09:50:27 -04:00
native-pycommandpath.mk Update in-tree pymake to tip. a=NPOTB 2010-10-18 09:50:27 -04:00
native-simple.mk Update in-tree pymake to tip. a=NPOTB 2010-10-18 09:50:27 -04:00
newlines.mk And add the new tests. 2011-07-21 11:50:25 -07:00
no-remake.mk
nosuchfile.mk
notargets.mk
notparallel.mk Update pymake to tip of my repo, NPODB. 2009-03-26 16:24:51 -04:00
oneline-command-continuations.mk Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00
override-propagate.mk Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00
parallel-dep-resolution2.mk Update pymake to tip of my repo, NPODB. 2009-03-26 16:24:51 -04:00
parallel-dep-resolution.mk
parallel-native.mk Update in-tree pymake to tip. a=NPOTB 2010-10-18 09:50:27 -04:00
parallel-simple.mk Update pymake to tip of my repo, NPODB. 2009-03-26 16:24:51 -04:00
parallel-submake.mk
parallel-toserial.mk
parallel-waiting.mk
parentheses.mk Update pymake snapshot to r300. 2011-10-31 13:16:21 -04:00
parsertests.py Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00
path-length.mk Import a new rev of pymake which fixes, among other things, bug 576914 2010-07-10 20:56:38 -07:00
patsubst.mk
phony.mk Update pymake to tip of my repo, NPODB. 2009-03-26 16:24:51 -04:00
pycmd.py Bug 772186 - Support return values from pymake native commands. r=khuey 2012-07-12 09:52:25 +05:30
recursive-set2.mk
recursive-set.mk
rm-fail.mk Update in-tree pymake to tip. a=NPOTB 2010-10-18 09:50:27 -04:00
rm.mk Bug 637034 - Add a native mkdir to pymake.builtins. r=ted 2011-03-20 20:12:36 +11:00
runtests.py Update pymake snapshot to r300. 2011-10-31 13:16:21 -04:00
serial-dep-resolution.mk
serial-doublecolon-execution.mk Update pymake to tip of my repo, NPODB. 2009-03-26 16:24:51 -04:00
serial-rule-execution2.mk
serial-rule-execution.mk
serial-toparallel.mk Update pymake to tip of my repo, NPODB. 2009-03-26 16:24:51 -04:00
shellfunc.mk Update pymake to tip of my repo, NPODB. 2009-03-26 16:24:51 -04:00
simple-makeflags.mk Update pymake 2009-04-02 12:26:17 -04:00
sort.mk bug 714347 - pymake sort function should remove duplicates. r=khuey 2012-01-03 12:54:21 -05:00
specified-target.mk
static-pattern2.mk
static-pattern.mk
submake.makefile2
submake.mk
tab-intro.mk
target-specific.mk
unexport.mk Update pymake to tip of my repo, NPODB. 2009-03-26 16:24:51 -04:00
unexport.submk Update pymake to tip of my repo, NPODB. 2009-03-26 16:24:51 -04:00
unterminated-dollar.mk
var-change-flavor.mk
var-commandline.mk
var-overrides.mk
var-ref.mk
var-set.mk
var-substitutions.mk
vpath2.mk And add the new tests. 2011-07-21 11:50:25 -07:00
vpath-directive-dynamic.mk
vpath-directive.mk
vpath.mk
wildcards.mk
windows-paths.mk Update pymake to pick up the fix for bug 523691 and some other stuff, NPODB. 2009-10-23 11:16:27 -04:00