| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
When we explicitly unlink the file we should return LOAD_NOT_FOUND instead of LOAD_SUCCESS
|
|
|
|
|
|
|
|
|
|
|
|
| |
Do not use os.chdir() to change the current directory inside
the run() function, as doing this prevents the temporary directory
from being removed.
Moreover, this breaks pytest invocations when adding new regression
test scripts in this directory (as done in other forks).
+ Use dict.pop() to undefine environment variables in `default_env`
dictionary.
|
| |
|
|
|
|
|
|
|
|
| |
This fixes #1966 by removing the variable name from the
lookups stack once the recursive lookup call has been performed.
Without this, any previously expanded variable could no longer
be referenced in the command, as Ninja would (incorrectly)
complain about a cyclical dependency.
|
|
|
|
|
|
|
|
|
| |
This sorts the output of `ninja -t inputs` to make it
deterministic and remove duplicates, and adds a regression
test in output_test.py
+ Ensure all inputs are listed, not only explicit ones.
+ Document the `inputs` tool in doc/manual.asciidoc.
|
| |
|
|
|
|
|
|
| |
See comment in #1899. Also adds two tests to output_test.py which check
this behaviour by relying on Python's suprocess.check_output not piping
stderr.
|
|
|
|
| |
This just tests that the flag works.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
the previous assert would fail because on a 1-core VM, the 3 outputs
were produced sequentially from top to bottom
|
|
|
| |
Also make test script works for OSX script command.
|
|
|
|
|
| |
Don't strip colors when CLICOLOR_FORCE is set to a non-zero value. This
environment variable is also used by CMake's Make back-end.
|
| |
|
| |
|
|
First test checks for #1214.
|