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:
809 bytes
|
Line | |
---|
1 | # Copyright 2001 Dave Abrahams |
---|
2 | # Distributed under the Boost Software License, Version 1.0. |
---|
3 | # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) |
---|
4 | |
---|
5 | include recursive.jam ; |
---|
6 | include assert-equal.jam ; |
---|
7 | |
---|
8 | ##################################### |
---|
9 | # Test the testing tools right here # |
---|
10 | ##################################### |
---|
11 | |
---|
12 | # This command always exits with a failure. |
---|
13 | Jam-fail "EXIT error ;" ; |
---|
14 | |
---|
15 | # This should fail to fail |
---|
16 | Jam-fail |
---|
17 | "include recursive.jam ; Jam-fail \"# this innocuous Jamfile should fail to fail\" ;" |
---|
18 | ; |
---|
19 | |
---|
20 | # the ECHO rule always has an empty result. |
---|
21 | Jam-fail "include assert-equal.jam ; assert-equal fubar : ECHO checking that assertions fail ;" |
---|
22 | : "ASSERTION FAILURE" |
---|
23 | ; |
---|
24 | |
---|
25 | local NOTHING = ; |
---|
26 | assert-equal $(NOTHING) : ECHO checking that assertions succeed ; |
---|
Note: See
TracBrowser
for help on using the repository browser.