~ubuntu-branches/ubuntu/raring/boost-build/raring

« back to all changes in this revision

Viewing changes to test/boostbook.py

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2008-08-06 00:38:31 UTC
  • mfrom: (4.1.1 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080806003831-zr65893244swds0b
Tags: 2.0-m12-2
* debian/rules: Do not install /etc/user-config.jam.
* debian/site-config.jam: New.  Install into /etc instead of empty
  example.  Closes: #493323.

* debian/control: Update homepage.  Update description.  Closes:
  #493510.  Update Standards-Version to 3.8.0; no changes.

* debian/compat: New.  Set compat level to 7.
* debian/rules: Remove DH_COMPAT setting.
* debian/control: Change debhelper build-dep to version >= 7.

* debian/control: Remove docbook-to-man, bison from build-deps.

* debian/rules: Clean up upstream source by removing debian/conffiles.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python
2
2
 
3
 
#  Copyright (C) Vladimir Prus 2004. Permission to copy, use, modify, sell and
4
 
#  distribute this software is granted provided this copyright notice appears in
5
 
#  all copies. This software is provided "as is" without express or implied
6
 
#  warranty, and with no claim as to its suitability for any purpose.
 
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) 
7
6
 
8
7
from BoostBuild import Tester, List
 
8
import string
9
9
 
10
10
# Create a temporary working directory
11
11
t = Tester()
12
12
 
13
13
t.set_tree("boostbook")
14
14
# For some reason, the messages are sent to stderr.
15
 
t.run_build_system(stderr="""Writing boost/A.html for refentry(boost.A)
 
15
t.run_build_system()
 
16
t.fail_test(string.find(t.stdout(), """Writing boost/A.html for refentry(boost.A)
16
17
Writing library/reference.html for section(library.reference)
17
18
Writing index.html for chapter(library)
18
 
Writing HTML.manifest
19
 
""")
 
19
Writing docs_HTML.manifest
 
20
""") == -1)
20
21
t.expect_addition(["html/boost/A.html", "html/index.html"])
21
22
 
22
23
t.cleanup()