(argv)
| 821 | |
| 822 | |
| 823 | def main(argv): |
| 824 | parser = ArgumentParser() |
| 825 | configs = parser.parse_arguments(argv[1:]) |
| 826 | return_code = 0 |
| 827 | # If we have Reclient with the Google configuration, check for current |
| 828 | # certificate. |
| 829 | if (RECLIENT_MODE == Reclient.GOOGLE and not detect_reclient_cert()): |
| 830 | print("# gcert") |
| 831 | subprocess.check_call("gcert", shell=True) |
| 832 | for c in configs: |
| 833 | return_code += configs[c].build() |
| 834 | if return_code == 0: |
| 835 | for c in configs: |
| 836 | return_code += configs[c].run_tests() |
| 837 | if return_code == 0: |
| 838 | _notify('Done!', 'V8 compilation finished successfully.') |
| 839 | else: |
| 840 | _notify('Error!', 'V8 compilation finished with errors.') |
| 841 | return return_code |
| 842 | |
| 843 | if __name__ == "__main__": |
| 844 | sys.exit(main(sys.argv)) |
no test coverage detected
searching dependent graphs…