1814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.org#!/usr/bin/env python 2814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.org 3814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.org# Copyright (c) 2012 Google Inc. All rights reserved. 4814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.org# Use of this source code is governed by a BSD-style license that can be 5814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.org# found in the LICENSE file. 6814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.org 7814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.org""" Verifies that VS variables that require special variables are expanded 8814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.orgcorrectly. """ 9814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.org 10814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.orgimport sys 11814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.orgimport TestGyp 12814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.org 13814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.orgif sys.platform == 'win32': 14814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.org test = TestGyp.TestGyp() 15814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.org 16814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.org test.run_gyp('special-variables.gyp', chdir='src') 17814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.org test.build('special-variables.gyp', test.ALL, chdir='src') 18814453d684ff8941706043fbd9e95aedbe957418scottmg@chromium.org test.pass_test() 19