Home | History | Annotate | Download | only in android
      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 """
      8 Verifies that action input/output filenames with spaces are rejected.
      9 """
     10 
     11 import TestGyp
     12 
     13 test = TestGyp.TestGyp(formats=['android'])
     14 
     15 stderr = ('gyp: Action input filename "name with spaces" in target do_actions '
     16           'contains a space\n')
     17 test.run_gyp('space_filenames.gyp', status=1, stderr=stderr)
     18 
     19 test.pass_test()
     20