From e0737c56c1e384e05064a0c6e1ac46979371041b Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Wed, 19 Dec 2018 22:58:32 +0100 Subject: New upstream version 2.0.0+repack --- .../build/example/complex-testing/compile-fail.cpp | 17 +++++++++++++++++ boost/tools/build/example/complex-testing/fail.cpp | 17 +++++++++++++++++ boost/tools/build/example/complex-testing/jamroot.jam | 15 +++++++++++++++ boost/tools/build/example/complex-testing/post.cpp | 17 +++++++++++++++++ boost/tools/build/example/complex-testing/success.cpp | 17 +++++++++++++++++ 5 files changed, 83 insertions(+) create mode 100644 boost/tools/build/example/complex-testing/compile-fail.cpp create mode 100644 boost/tools/build/example/complex-testing/fail.cpp create mode 100644 boost/tools/build/example/complex-testing/jamroot.jam create mode 100644 boost/tools/build/example/complex-testing/post.cpp create mode 100644 boost/tools/build/example/complex-testing/success.cpp (limited to 'boost/tools/build/example/complex-testing') diff --git a/boost/tools/build/example/complex-testing/compile-fail.cpp b/boost/tools/build/example/complex-testing/compile-fail.cpp new file mode 100644 index 00000000..a219fa5c --- /dev/null +++ b/boost/tools/build/example/complex-testing/compile-fail.cpp @@ -0,0 +1,17 @@ +// Copyright (c) 2014 Rene Rivera +// +// Distributed under 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) +// +// http://www.boost.org +// + +#include +#include + +int main() +{ + std::cout << "Bye!\n"; + return EXIT_FAILURE +} diff --git a/boost/tools/build/example/complex-testing/fail.cpp b/boost/tools/build/example/complex-testing/fail.cpp new file mode 100644 index 00000000..96566118 --- /dev/null +++ b/boost/tools/build/example/complex-testing/fail.cpp @@ -0,0 +1,17 @@ +// Copyright (c) 2014 Rene Rivera +// +// Distributed under 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) +// +// http://www.boost.org +// + +#include +#include + +int main() +{ + std::cout << "Bye!\n"; + return EXIT_FAILURE; +} diff --git a/boost/tools/build/example/complex-testing/jamroot.jam b/boost/tools/build/example/complex-testing/jamroot.jam new file mode 100644 index 00000000..a5942a23 --- /dev/null +++ b/boost/tools/build/example/complex-testing/jamroot.jam @@ -0,0 +1,15 @@ +# Copyright 2016 Rene Rivera +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) + +using testing ; +import property-set ; +import path ; + +exe success : success.cpp ; + +run success : arg1 arg2 : : : success-a ; +run success : arg3 arg4 : : : success-b ; + +run post.cpp : : success-a : : post-a ; +run post.cpp : : success-b : : post-b ; diff --git a/boost/tools/build/example/complex-testing/post.cpp b/boost/tools/build/example/complex-testing/post.cpp new file mode 100644 index 00000000..6282e8f2 --- /dev/null +++ b/boost/tools/build/example/complex-testing/post.cpp @@ -0,0 +1,17 @@ +// Copyright (c) 2014 Rene Rivera +// +// Distributed under 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) +// +// http://www.boost.org +// + +#include +#include + +int main(int argc, char *argv[]) +{ + std::cout << argv[1] << "\n"; + return EXIT_SUCCESS; +} diff --git a/boost/tools/build/example/complex-testing/success.cpp b/boost/tools/build/example/complex-testing/success.cpp new file mode 100644 index 00000000..a7e2b6ca --- /dev/null +++ b/boost/tools/build/example/complex-testing/success.cpp @@ -0,0 +1,17 @@ +// Copyright (c) 2014 Rene Rivera +// +// Distributed under 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) +// +// http://www.boost.org +// + +#include +#include + +int main(int argc, char *argv[]) +{ + std::cout << "Hi!\n"; + return EXIT_SUCCESS; +} -- cgit v1.2.3