summaryrefslogtreecommitdiff
path: root/deps/gyp/test/actions-bare/gyptest-bare.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/actions-bare/gyptest-bare.py')
-rwxr-xr-xdeps/gyp/test/actions-bare/gyptest-bare.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/deps/gyp/test/actions-bare/gyptest-bare.py b/deps/gyp/test/actions-bare/gyptest-bare.py
new file mode 100755
index 0000000000..e3d6db1029
--- /dev/null
+++ b/deps/gyp/test/actions-bare/gyptest-bare.py
@@ -0,0 +1,24 @@
+#!/usr/bin/env python
+
+# Copyright (c) 2009 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 actions which are not depended on by other targets get executed.
+"""
+
+import TestGyp
+
+test = TestGyp.TestGyp()
+
+test.run_gyp('bare.gyp', chdir='src')
+
+test.relocate('src', 'relocate/src')
+test.build('bare.gyp', chdir='relocate/src')
+
+file_content = 'Hello from bare.py\n'
+
+test.built_file_must_match('out.txt', file_content, chdir='relocate/src')
+
+test.pass_test()