| Index: test/lib/TestGyp.py
|
| diff --git a/test/lib/TestGyp.py b/test/lib/TestGyp.py
|
| index 6fb9d7a6edc341c824e076e9973c4ab739ab3b2f..c766bd460eb00fa6c6fac009153f7473a5f4eed0 100644
|
| --- a/test/lib/TestGyp.py
|
| +++ b/test/lib/TestGyp.py
|
| @@ -785,13 +785,15 @@ class TestGypMSVS(TestGypOnMSToolchain):
|
| super(TestGypMSVS, self).initialize_build_tool()
|
| self.build_tool = self.devenv_path
|
|
|
| - def build(self, gyp_file, target=None, rebuild=False, **kw):
|
| + def build(self, gyp_file, target=None, rebuild=False, clean=False, **kw):
|
| """
|
| Runs a Visual Studio build using the configuration generated
|
| from the specified gyp_file.
|
| """
|
| configuration = self.configuration_buildname()
|
| - if rebuild:
|
| + if clean:
|
| + build = '/Clean'
|
| + elif rebuild:
|
| build = '/Rebuild'
|
| else:
|
| build = '/Build'
|
|
|