| OLD | NEW | 
|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python | 
| 2 # Copyright 2015 The PDFium Authors. All rights reserved. | 2 # Copyright 2015 The PDFium 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 import sys | 6 import sys | 
| 7 | 7 | 
| 8 import test_runner | 8 import test_runner | 
| 9 | 9 | 
| 10 def main(): | 10 def main(): | 
| 11   runner = test_runner.TestRunner('javascript') | 11   runner = test_runner.TestRunner('javascript') | 
| 12   runner.Run() | 12   return runner.Run() | 
| 13 | 13 | 
| 14 if __name__ == '__main__': | 14 if __name__ == '__main__': | 
| 15   sys.exit(main()) | 15   sys.exit(main()) | 
| OLD | NEW | 
|---|