diff options
author | Jan Niklas Hasse <jhasse@bixense.com> | 2019-12-20 14:49:57 (GMT) |
---|---|---|
committer | Jan Niklas Hasse <jhasse@bixense.com> | 2019-12-23 13:11:09 (GMT) |
commit | 791c887e22046e5e7a2d05ecb5ff27701d56895d (patch) | |
tree | e151d2c56fbabee588a7c8b3d4a177752ba76d38 /misc | |
parent | 8f87ee0469820d247fa20971c07dbad5f2aa744e (diff) | |
download | Ninja-791c887e22046e5e7a2d05ecb5ff27701d56895d.zip Ninja-791c887e22046e5e7a2d05ecb5ff27701d56895d.tar.gz Ninja-791c887e22046e5e7a2d05ecb5ff27701d56895d.tar.bz2 |
Ignore nonexistent .ninja_log/.ninja_deps for restat and recompact
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/output_test.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/output_test.py b/misc/output_test.py index 966417d..3fd9c32 100755 --- a/misc/output_test.py +++ b/misc/output_test.py @@ -102,5 +102,10 @@ red \x1b[31mred\x1b[0m ''') + def test_pr_1685(self): + # Running those tools without .ninja_deps and .ninja_log shouldn't fail. + self.assertEqual(run('', flags='-t recompact'), '') + self.assertEqual(run('', flags='-t restat'), '') + if __name__ == '__main__': unittest.main() |