• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
10project quickbook/tests/command-line ;
11
12import quickbook-testing : quickbook-test quickbook-fail-test quickbook-error-test ;
13
14test-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    ;
29