1#!/usr/local/bin/python3.8 2 3# Copyright 2003 Vladimir Prus 4# Distributed under the Boost Software License, Version 1.0. 5# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) 6 7# Test that V2 does not fail gracelessy when any target is skipped. 8 9import BoostBuild 10 11# Create a temporary working directory. 12t = BoostBuild.Tester(use_test_config=False) 13 14t.write("a.cpp", "int main() {}\n") 15t.write("b.cpp", "int main() {}\n") 16t.write("c.cpp", "int main() {}\n") 17t.write("jamroot.jam", """\ 18import feature ; 19feature.feature foo : 1 2 : link-incompatible ; 20exe a : a.cpp : <foo>1 ; 21exe b : b.cpp : <foo>2 ; 22exe c : c.cpp ; 23""") 24 25t.run_build_system(["foo=1"]) 26 27t.cleanup() 28