summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/msvs/props/gyptest-props.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/gyp/test/msvs/props/gyptest-props.py')
-rw-r--r--third_party/python/gyp/test/msvs/props/gyptest-props.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/third_party/python/gyp/test/msvs/props/gyptest-props.py b/third_party/python/gyp/test/msvs/props/gyptest-props.py
new file mode 100644
index 0000000000..abd4df2241
--- /dev/null
+++ b/third_party/python/gyp/test/msvs/props/gyptest-props.py
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+
+# Copyright (c) 2012 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""
+Verifies props files are added by using a
+props file to set the name of the built executable.
+"""
+
+import TestGyp
+
+test = TestGyp.TestGyp(workdir='workarea_all', formats=['msvs'])
+
+test.run_gyp('hello.gyp')
+
+test.build('hello.gyp')
+
+test.built_file_must_exist('Greet.exe')
+
+test.pass_test()