qt5.py 572 B

1234567891011121314151617181920
  1. #!/usr/bin/python
  2. # (c) Copyright Juergen Hunold 2012
  3. # Use, modification, and distribution are subject to the
  4. # Boost Software License, Version 1.0. (See accompanying file
  5. # LICENSE.txt or copy at https://www.bfgroup.xyz/b2/LICENSE.txt)
  6. import BoostBuild
  7. import os
  8. # Run test in real directory in order to find Boost.Test via Boost Top-Level
  9. # Jamroot.
  10. qt5_dir = os.path.dirname(os.path.abspath(__file__)) + "/qt5"
  11. t = BoostBuild.Tester(workdir=qt5_dir)
  12. t.run_build_system()
  13. # Fails if a warning is thrown
  14. t.fail_test( t.stdout().find("warning") != -1 )
  15. t.cleanup()