apenwarr-redo/redo
Avery Pennarun 8100aa4973 Certain redo post-build failures would still mark a target as built.
If we failed because:
- target dir doesn't exist
- failed to copy from stdout
- failed to rename $3

We would correctly return error 209, but the target would still be
marked as having been built, so redo-ifchange would not try to build it
next time, beause we forgot to call sf.set_failed() in those cases.

minimal/do worked correctly.

Added a test to catch this in the future.
2019-03-02 04:05:36 -05:00
..
version Add a bunch of missing python docstrings. 2018-12-14 09:03:53 +00:00
.gitignore Rename redo/python -> redo/py. 2018-12-05 02:27:04 -05:00
__init__.py Directory reorg: move code into redo/, generate binaries in bin/. 2018-12-04 02:53:40 -05:00
atoi.py Add a bunch of missing python docstrings. 2018-12-14 09:03:53 +00:00
builder.py Certain redo post-build failures would still mark a target as built. 2019-03-02 04:05:36 -05:00
clean.do Rename redo/python -> redo/py. 2018-12-05 02:27:04 -05:00
cmd_always.py Workaround for completely broken file locking on Windows 10 WSL. 2019-01-02 14:49:33 -05:00
cmd_ifchange.py Better handling if parent closes REDO_CHEATFDS or MAKEFLAGS fds. 2019-01-18 00:11:48 +00:00
cmd_ifcreate.py Workaround for completely broken file locking on Windows 10 WSL. 2019-01-02 14:49:33 -05:00
cmd_log.py Workaround for completely broken file locking on Windows 10 WSL. 2019-01-02 14:49:33 -05:00
cmd_ood.py Workaround for completely broken file locking on Windows 10 WSL. 2019-01-02 14:49:33 -05:00
cmd_redo.py Better handling if parent closes REDO_CHEATFDS or MAKEFLAGS fds. 2019-01-18 00:11:48 +00:00
cmd_sources.py Workaround for completely broken file locking on Windows 10 WSL. 2019-01-02 14:49:33 -05:00
cmd_stamp.py Workaround for completely broken file locking on Windows 10 WSL. 2019-01-02 14:49:33 -05:00
cmd_targets.py Workaround for completely broken file locking on Windows 10 WSL. 2019-01-02 14:49:33 -05:00
cmd_unlocked.py Workaround for completely broken file locking on Windows 10 WSL. 2019-01-02 14:49:33 -05:00
cmd_whichdo.py Workaround for completely broken file locking on Windows 10 WSL. 2019-01-02 14:49:33 -05:00
cycles.py Move env.{add,get}_lock() into cycles.py, and rename. 2018-12-05 02:26:58 -05:00
deps.py Add a bunch of missing python docstrings. 2018-12-14 09:03:53 +00:00
env.py Workaround for completely broken file locking on Windows 10 WSL. 2019-01-02 14:49:33 -05:00
helpers.py Better handling if parent closes REDO_CHEATFDS or MAKEFLAGS fds. 2019-01-18 00:11:48 +00:00
jobserver.py Better handling if parent closes REDO_CHEATFDS or MAKEFLAGS fds. 2019-01-18 00:11:48 +00:00
logs.py Workaround for completely broken file locking on Windows 10 WSL. 2019-01-02 14:49:33 -05:00
options.py Directory reorg: move code into redo/, generate binaries in bin/. 2018-12-04 02:53:40 -05:00
paths.py Add a bunch of missing python docstrings. 2018-12-14 09:03:53 +00:00
py.do Rename redo/python -> redo/py. 2018-12-05 02:27:04 -05:00
sh.do shelltest.od: add more "set -e" tests and add a 'skip' return code. 2018-12-17 16:17:37 +00:00
state.py Better handling if parent closes REDO_CHEATFDS or MAKEFLAGS fds. 2019-01-18 00:11:48 +00:00
title.py Add a bunch of missing python docstrings. 2018-12-14 09:03:53 +00:00
whichpython.do Directory reorg: move code into redo/, generate binaries in bin/. 2018-12-04 02:53:40 -05:00