From afedc1cd9a98c6451db1694bbcea91ed5b282cc5 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 21 Sep 2006 07:26:35 +0000 Subject: [PATCH] Add tests [SVN r35244] --- example/Jamfile.v2 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/example/Jamfile.v2 b/example/Jamfile.v2 index 0695aac2..a8e6e966 100644 --- a/example/Jamfile.v2 +++ b/example/Jamfile.v2 @@ -5,5 +5,32 @@ project : requirements /boost/python//boost_python ; python-extension getting_started1 : getting_started1.cpp ; + +bpl-test test1 + : # Python test driver + test_getting_started1.py + # extension modules to use + getting_started1 ; + + python-extension getting_started2 : getting_started2.cpp ; +bpl-test test2 + : # Python test driver + test_getting_started2.py + # extension modules to use + getting_started2 ; + +python-extension std_pair : std_pair.cpp ; + +bpl-test test3 + : # Python test driver + test_std_pair.py + # extension modules to use + std_pair_ext ; + +# Don't run tests by default +explicit test1 test2 test3 ; +alias test : test1 test2 test3 ; +explicit test ; +