1#!/usr/local/bin/python3.8 2 3# Copyright 2007 Rene Rivera. 4# Copyright 2011 Steven Watanabe 5# Distributed under the Boost Software License, Version 1.0. 6# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) 7 8import BoostBuild 9 10t = BoostBuild.Tester(pass_toolset=0) 11 12t.write("file.jam", """\ 13actions quietly .a. { $(ACTION) } 14 15rule .a. 16{ 17 DEPENDS $(<) : $(>) ; 18} 19 20NOTFILE subtest ; 21.a. subtest_a : subtest ; 22DEPENDS all : subtest_a ; 23""") 24 25t.run_build_system(["-ffile.jam", "-sACTION=invalid"], status=1) 26 27t.cleanup() 28