OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """Run 'dark', 'candle', and 'light', to confirm that an msi can be unpacked | 6 """Run 'dark', 'candle', and 'light', to confirm that an msi can be unpacked |
7 repacked successfully.""" | 7 repacked successfully.""" |
8 | 8 |
9 from optparse import OptionParser | 9 from optparse import OptionParser |
10 import os | 10 import os |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 '-ext "%(wix_path)s\\WixFirewallExtension.dll" ' + | 58 '-ext "%(wix_path)s\\WixFirewallExtension.dll" ' + |
59 '-sw1076 ') | 59 '-sw1076 ') |
60 rc = run(light_template % parameters) | 60 rc = run(light_template % parameters) |
61 if rc: | 61 if rc: |
62 return rc | 62 return rc |
63 | 63 |
64 return 0 | 64 return 0 |
65 | 65 |
66 if __name__ == "__main__": | 66 if __name__ == "__main__": |
67 sys.exit(main()) | 67 sys.exit(main()) |
OLD | NEW |