]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #============================================================================== |
2 | # Copyright (c) 2001-2009 Joel de Guzman | |
3 | # Copyright (c) 2001-2009 Hartmut Kaiser | |
92f5a8d4 | 4 | # Copyright (c) 2017-2019 Nikita Kniazev |
7c673cae FG |
5 | # |
6 | # Use, modification and distribution is subject to the Boost Software | |
7 | # License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
8 | # http://www.boost.org/LICENSE_1_0.txt) | |
9 | #============================================================================== | |
1e59de90 TL |
10 | local 9-11 = 9 10 11 ; |
11 | ||
7c673cae FG |
12 | project spirit_v2_repository/test |
13 | : requirements | |
14 | <include>. | |
11fdf7f2 | 15 | <c++-template-depth>300 |
1e59de90 | 16 | <known-warnings>hide,<toolset>gcc-$(9-11):<cxxflags>-Wno-deprecated-copy # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94492 |
7c673cae FG |
17 | : |
18 | : | |
19 | ; | |
20 | ||
92f5a8d4 TL |
21 | ############################################################################### |
22 | ||
23 | alias qi-pch : : <pch>on-spirit:<source>../../test/qi//pch ; | |
24 | alias ka-pch : : <pch>on-spirit:<source>../../test/karma//pch ; | |
25 | explicit qi-pch ka-pch ; | |
26 | ||
27 | ############################################################################### | |
28 | ||
29 | import os ; | |
30 | ||
31 | local keywords_reqs ; | |
32 | ||
33 | if [ os.environ APPVEYOR ] | |
34 | { | |
35 | # Workaround MSVC codegen bug. See #400 for the info. | |
36 | keywords_reqs = <toolset>msvc-14.1:<inlining>off ; | |
37 | } | |
38 | ||
7c673cae FG |
39 | # bring in rules for testing |
40 | import testing ; | |
41 | ||
42 | { | |
43 | test-suite spirit_v2_repository : | |
44 | ||
45 | # run Qi repository tests | |
92f5a8d4 TL |
46 | [ run qi-pch qi/advance.cpp : : : : qi_repo_advance ] |
47 | [ run qi-pch qi/confix.cpp : : : : qi_repo_confix ] | |
48 | [ run qi-pch qi/distinct.cpp : : : : qi_repo_distinct ] | |
49 | [ run qi-pch qi/subrule.cpp : : : : qi_repo_subrule ] | |
50 | [ run qi-pch qi/keywords.cpp : : : $(keywords_reqs) : qi_repo_keywords ] | |
51 | [ run qi-pch qi/seek.cpp : : : : qi_repo_seek ] | |
7c673cae FG |
52 | |
53 | # run Karma repository tests | |
92f5a8d4 TL |
54 | [ run ka-pch karma/confix.cpp : : : : karma_repo_confix ] |
55 | [ run ka-pch karma/subrule.cpp : : : : karma_repo_subrule ] | |
7c673cae FG |
56 | |
57 | ; | |
58 | } | |
59 |