gyptest-empty-target.py 405 B

123456789101112131415161718
  1. #!/usr/bin/env python
  2. # Copyright (c) 2014 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. Verifies building a target with nothing succeeds.
  7. """
  8. import os
  9. import sys
  10. import TestGyp
  11. test = TestGyp.TestGyp()
  12. test.run_gyp('empty-target.gyp')
  13. test.build('empty-target.gyp', target='empty_target')
  14. test.pass_test()