Index: test/android/gyptest-settings-list.py |
diff --git a/test/android/gyptest-settings-list.py b/test/android/gyptest-settings-list.py |
new file mode 100755 |
index 0000000000000000000000000000000000000000..5850d47ad92e484fd7bbe4f25eba72ba25b673ab |
--- /dev/null |
+++ b/test/android/gyptest-settings-list.py |
@@ -0,0 +1,24 @@ |
+#!/usr/bin/env python |
+ |
+# Copyright (c) 2014 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 that it's possible to set Android build system settings using the |
+aosp_build_settings key, with list values. |
+""" |
+ |
+import TestGyp |
+ |
+test = TestGyp.TestGyp(formats=['android']) |
+ |
+test.run_gyp('settings-list.gyp') |
+ |
+test.build('settings-list.gyp', 'hello') |
+ |
+test.run_built_executable('hello.foo', stdout="Hello, world!\n") |
+ |
+test.up_to_date('settings-list.gyp', test.DEFAULT) |
+ |
+test.pass_test() |