gyptest-special-variables.py 487 B

123456789101112131415161718
  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. """ Verifies that VS variables that require special variables are expanded
  6. correctly. """
  7. import sys
  8. import TestGyp
  9. if sys.platform == 'win32':
  10. test = TestGyp.TestGyp()
  11. test.run_gyp('special-variables.gyp', chdir='src')
  12. test.build('special-variables.gyp', test.ALL, chdir='src')
  13. test.pass_test()