9e838e0a4ee1aca5818284d903ad71dd1162f0ca
[platform/upstream/boost.git] / tools / quickbook / test / command-line / Jamfile.v2
1
2 #
3 #   Copyright (c) 2011 Daniel James
4 #
5 #   Distributed under the Boost Software License, Version 1.0. (See
6 #   accompanying file LICENSE_1_0.txt or copy at
7 #   http://www.boost.org/LICENSE_1_0.txt)
8 #
9
10 project quickbook/tests/command-line ;
11
12 import quickbook-testing : quickbook-test quickbook-fail-test quickbook-error-test ;
13
14 test-suite command-line.test :
15     # Check that expect-errors works as advertised.
16     [ quickbook-fail-test error-fail : : <testing.arg>--expect-errors ]
17     [ quickbook-error-test error1 ]
18     [ quickbook-error-test error2 ]
19
20     [ quickbook-error-test
21         non_existent_output :
22         basic-1_6.quickbook :
23         <testing.arg>--output-file=non-existent/basic.xml ]
24     [ quickbook-error-test
25         output_nested_in_file :
26         basic-1_6.quickbook :
27         <testing.arg>--output-file=basic-1_6.quickbook/basic.xml ]
28     ;