test1.py 395 B

123456789101112131415161718
  1. #!/usr/bin/python
  2. # Copyright 2002 Vladimir Prus
  3. # Distributed under the Boost Software License, Version 1.0.
  4. # (See accompanying file LICENSE.txt or https://www.bfgroup.xyz/b2/LICENSE.txt)
  5. import BoostBuild
  6. t = BoostBuild.Tester(pass_toolset=0)
  7. t.write("test.jam", """
  8. actions unbuilt { }
  9. unbuilt all ;
  10. ECHO "Hi" ;
  11. """)
  12. t.run_build_system(["-ftest.jam", "-d0"], stdout="Hi\n")
  13. t.cleanup()