1#!/usr/local/bin/python3.8
2
3# Copyright 2004, 2006 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
7import BoostBuild
8import string
9
10t = BoostBuild.Tester()
11
12t.set_tree("boostbook")
13
14# For some reason, the messages are sent to stderr.
15t.run_build_system()
16t.fail_test(t.stdout().find("""Writing boost/A.html for refentry(boost.A)
17Writing library/reference.html for section(library.reference)
18Writing index.html for chapter(library)
19Writing docs_HTML.manifest
20""") == -1)
21t.expect_addition(["html/boost/A.html", "html/index.html"])
22
23t.cleanup()
24