Files
tubestation/build/pymake/tests/native-command-sys-exit-fail1.mk
Siddharth Agarwal d4e9405220 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.
2012-07-12 09:52:25 +05:30

9 lines
116 B
Makefile

#T gmake skip
#T returncode: 2
CMD = %pycmd asplode
PYCOMMANDPATH = $(TESTPATH) $(TESTPATH)/subdir
all:
$(CMD) 1