| 1 | # Boost Regression Reporting test Jamfile |
|---|
| 2 | |
|---|
| 3 | # (C) Copyright Beman Dawes 2003. Permission to copy, use, modify, sell and |
|---|
| 4 | # distribute this software is granted provided this copyright notice appears in |
|---|
| 5 | # all copies. This software is provided "as is" without express or implied |
|---|
| 6 | # warranty, and with no claim as to its suitability for any purpose. |
|---|
| 7 | |
|---|
| 8 | subproject libs/regression/test ; |
|---|
| 9 | |
|---|
| 10 | # bring in rules for testing |
|---|
| 11 | import testing ; |
|---|
| 12 | |
|---|
| 13 | # Make tests run by default. |
|---|
| 14 | DEPENDS all : test ; |
|---|
| 15 | |
|---|
| 16 | { |
|---|
| 17 | # look in BOOST_ROOT for sources first, just in this Jamfile |
|---|
| 18 | local SEARCH_SOURCE = $(BOOST_ROOT) $(SEARCH_SOURCE) ; |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | # Test naming convention: the portion of the name before the tilde ("~") |
|---|
| 22 | # identifies the bjam test type. The portion after the tilde |
|---|
| 23 | # identifies the correct result to be reported by compiler_status. |
|---|
| 24 | |
|---|
| 25 | compile compile~fail.cpp ; |
|---|
| 26 | compile compile~pass.cpp ; |
|---|
| 27 | compile compile~warn.cpp ; |
|---|
| 28 | |
|---|
| 29 | compile-fail compile-fail~fail.cpp ; |
|---|
| 30 | compile-fail compile-fail~pass.cpp ; |
|---|
| 31 | |
|---|
| 32 | run run~compile-fail.cpp ; |
|---|
| 33 | run run~fail.cpp ; |
|---|
| 34 | run run~fail-note.cpp ; |
|---|
| 35 | run run~fail-warn.cpp ; |
|---|
| 36 | run run~note.cpp ; |
|---|
| 37 | run run~pass.cpp ; |
|---|
| 38 | run run~warn.cpp ; |
|---|
| 39 | run run~warn-note.cpp ; |
|---|
| 40 | |
|---|
| 41 | run-fail run-fail~compile-fail.cpp ; |
|---|
| 42 | run-fail run-fail~fail.cpp ; |
|---|
| 43 | run-fail run-fail~fail-warn.cpp ; |
|---|
| 44 | run-fail run-fail~pass.cpp ; |
|---|
| 45 | run-fail run-fail~warn.cpp ; |
|---|
| 46 | } |
|---|