1#!/usr/bin/env python
2
3# Copyright (c) 2014 Google Inc. All rights reserved.
4# Use of this source code is governed by a BSD-style license that can be
5# found in the LICENSE file.
6
7"""
8Verifies that action input/output filenames with spaces are rejected.
9"""
10
11import TestGyp
12
13test = TestGyp.TestGyp(formats=['android'])
14
15stderr = ('gyp: Action input filename "name with spaces" in target do_actions '
16          'contains a space\n')
17test.run_gyp('space_filenames.gyp', status=1, stderr=stderr)
18
19test.pass_test()
20