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