summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/build/test/example_libraries.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/tools/build/test/example_libraries.py')
-rw-r--r--src/boost/tools/build/test/example_libraries.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/boost/tools/build/test/example_libraries.py b/src/boost/tools/build/test/example_libraries.py
new file mode 100644
index 000000000..12f2d0998
--- /dev/null
+++ b/src/boost/tools/build/test/example_libraries.py
@@ -0,0 +1,21 @@
+#!/usr/bin/python
+
+# Copyright (C) Vladimir Prus 2006.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE.txt or copy at
+# https://www.bfgroup.xyz/b2/LICENSE.txt)
+
+# Test the 'libraries' example.
+
+import BoostBuild
+
+t = BoostBuild.Tester(use_test_config=False)
+
+t.set_tree("../example/libraries")
+
+t.run_build_system()
+
+t.expect_addition(["app/bin/$toolset/debug*/app.exe",
+ "util/foo/bin/$toolset/debug*/bar.dll"])
+
+t.cleanup()