summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/build/test/test1.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/tools/build/test/test1.py')
-rw-r--r--src/boost/tools/build/test/test1.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/boost/tools/build/test/test1.py b/src/boost/tools/build/test/test1.py
new file mode 100644
index 00000000..79d14222
--- /dev/null
+++ b/src/boost/tools/build/test/test1.py
@@ -0,0 +1,18 @@
+#!/usr/bin/python
+
+# Copyright 2002 Vladimir Prus
+# 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)
+
+import BoostBuild
+
+t = BoostBuild.Tester(pass_toolset=0)
+
+t.write("test.jam", """
+actions unbuilt { }
+unbuilt all ;
+ECHO "Hi" ;
+""")
+
+t.run_build_system("-ftest.jam", stdout="Hi\n")
+t.cleanup()