mirror of
https://github.com/ninja-build/ninja.git
synced 2026-08-07 00:22:13 +00:00
Add output_test assertion for quiet without 'no work to do'
This commit is contained in:
@@ -133,6 +133,7 @@ build a: cat
|
||||
def test_status(self):
|
||||
self.assertEqual(run(''), 'ninja: no work to do.\n')
|
||||
self.assertEqual(run('', pipe=True), 'ninja: no work to do.\n')
|
||||
self.assertEqual(run('', flags='--quiet'), '')
|
||||
|
||||
def test_ninja_status_default(self):
|
||||
'Do we show the default status by default?'
|
||||
|
||||
Reference in New Issue
Block a user