Last change
on this file since 32 was
29,
checked in by landauf, 17 years ago
|
updated boost from 1_33_1 to 1_34_1
|
File size:
833 bytes
|
Line | |
---|
1 | #!/usr/bin/python |
---|
2 | |
---|
3 | # Copyright 2002 Dave Abrahams |
---|
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 | from BoostBuild import Tester, List |
---|
8 | import os |
---|
9 | from string import strip |
---|
10 | import re |
---|
11 | |
---|
12 | def match_re(actual,expected): |
---|
13 | return re.match(expected,actual,re.DOTALL) != None |
---|
14 | |
---|
15 | t = Tester(match = match_re) |
---|
16 | |
---|
17 | t.set_tree('testing-primitives') |
---|
18 | |
---|
19 | # We expect t5 and t7's output to be dumped to stdout |
---|
20 | t.run_build_system(stdout=r'''.*failing t5.*failing t7''') |
---|
21 | |
---|
22 | t.expect_addition('t2.txt') |
---|
23 | t.expect_addition('t3.txt') |
---|
24 | |
---|
25 | t.expect_addition('t5.out') |
---|
26 | |
---|
27 | t.expect_addition('t6.out') |
---|
28 | t.expect_addition('t6.txt') |
---|
29 | |
---|
30 | t.expect_addition('t7.out') |
---|
31 | t.expect_addition('t7.txt') |
---|
32 | |
---|
33 | t.expect_addition('t8.out') |
---|
34 | |
---|
35 | t.expect_nothing_more() |
---|
36 | t.cleanup() |
---|
37 | print 'tesing complete' |
---|
Note: See
TracBrowser
for help on using the repository browser.