From abce4ebf579265bf56f819991f873140eb167487 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 21 Aug 2005 11:22:29 +0000 Subject: [PATCH] Add Jamfiles for testing hash examples. [SVN r30611] --- hash/examples/Jamfile | 28 ++++++++++++++++++++++++++++ hash/examples/Jamfile.v2 | 6 +++--- 2 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 hash/examples/Jamfile diff --git a/hash/examples/Jamfile b/hash/examples/Jamfile new file mode 100644 index 0000000..816ed85 --- /dev/null +++ b/hash/examples/Jamfile @@ -0,0 +1,28 @@ + +# (C) Copyright Daniel James 2005. +# Use, modification and distribution are subject to the +# Boost Software License, Version 1.0. (See accompanying file +# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +subproject libs/functional/hash/examples ; + +import testing ; + +DEPENDS all : test ; + +rule hash-example ( name ) +{ + return [ + run $(name).cpp + : : : $(BOOST_ROOT) + ] ; +} + +{ + test-suite functional/examples + : + [ hash-example books ] + [ hash-example point ] + [ hash-example portable ] + ; +} diff --git a/hash/examples/Jamfile.v2 b/hash/examples/Jamfile.v2 index 98802b8..dc5bdce 100644 --- a/hash/examples/Jamfile.v2 +++ b/hash/examples/Jamfile.v2 @@ -3,6 +3,6 @@ # subject to the Boost Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -exe books : books.cpp ; -exe point : point.cpp ; -exe portable : portable.cpp ; +run books.cpp ; +run point.cpp ; +run portable.cpp ;