gyptest-many-actions.py 482 B

1234567891011121314151617181920
  1. #!/usr/bin/env python
  2. # Copyright (c) 2012 Google Inc. All rights reserved.
  3. # Use of this source code is governed by a BSD-style license that can be
  4. # found in the LICENSE file.
  5. """
  6. Make sure lots of actions in the same target don't cause exceeding command
  7. line length.
  8. """
  9. import TestGyp
  10. test = TestGyp.TestGyp()
  11. test.run_gyp('many-actions.gyp')
  12. test.build('many-actions.gyp', test.ALL)
  13. for i in range(200):
  14. test.built_file_must_exist('generated_%d.h' % i)
  15. test.pass_test()