1#!/usr/local/bin/python3.8 2 3# Copyright 2002 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 we cannot specify targets of unknown type as sources. This is based 8# on the fact that Unix 'ar' will happily consume just about anything. 9 10import BoostBuild 11 12t = BoostBuild.Tester() 13 14t.write("jamroot.jam", "static-lib a : a.foo ;") 15t.write("a.foo", "") 16 17t.run_build_system(status=1) 18 19t.cleanup() 20