gyptest-long-command-line.py 515 B

1234567891011121314151617181920212223
  1. #!/usr/bin/env python
  2. # Copyright (c) 2012 Google Inc. All rights reserved.
  3. # Use of this source code is governed by a BSD-style license that can be
  4. # found in the LICENSE file.
  5. """
  6. Make sure long command lines work.
  7. """
  8. import TestGyp
  9. import subprocess
  10. import sys
  11. if sys.platform == 'win32':
  12. test = TestGyp.TestGyp(formats=['ninja', 'msvs'])
  13. CHDIR = 'long-command-line'
  14. test.run_gyp('long-command-line.gyp', chdir=CHDIR)
  15. test.build('long-command-line.gyp', test.ALL, chdir=CHDIR)
  16. test.pass_test()