gyptest-clang-cxx-language-standard.py 589 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env python
  2. # Copyright (c) 2013 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 that CLANG_CXX_LANGUAGE_STANDARD works.
  7. """
  8. import TestGyp
  9. import sys
  10. if sys.platform == 'darwin':
  11. test = TestGyp.TestGyp(formats=['make', 'ninja', 'xcode'])
  12. test.run_gyp('clang-cxx-language-standard.gyp',
  13. chdir='clang-cxx-language-standard')
  14. test.build('clang-cxx-language-standard.gyp', test.ALL,
  15. chdir='clang-cxx-language-standard')
  16. test.pass_test()