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)
10 t = BoostBuild.Tester()
12 t.write("jamroot.jam", """
13 lib main : main.cpp l ;
17 t.write("main.cpp", "")
21 t.run_build_system("--no-error-backtrace", status=1)
22 t.fail_test(string.find(t.stdout(),
23 "error: Recursion in main target references") == -1)