| Index: grit/tool/build_unittest.py
|
| ===================================================================
|
| --- grit/tool/build_unittest.py (revision 141)
|
| +++ grit/tool/build_unittest.py (working copy)
|
| @@ -41,9 +41,11 @@
|
| self.input = util.PathFromRoot('grit/testdata/substitute.grd')
|
| self.verbose = False
|
| self.extra_verbose = False
|
| - builder.Run(DummyOpts(), ['-o', output_dir, '--dep-dir', output_dir])
|
| + expected_dep_file = os.path.join(output_dir, 'substitute.grd.d')
|
| + builder.Run(DummyOpts(), ['-o', output_dir,
|
| + '--depdir', output_dir,
|
| + '--depfile', expected_dep_file])
|
|
|
| - expected_dep_file = os.path.join(output_dir, 'substitute.grd.d')
|
| self.failUnless(os.path.isfile(expected_dep_file))
|
| with open(expected_dep_file) as f:
|
| line = f.readline()
|
|
|