summaryrefslogtreecommitdiff
path: root/tools/regression/test/test-boost-build/missing_dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/test/test-boost-build/missing_dependencies')
-rw-r--r--tools/regression/test/test-boost-build/missing_dependencies/Jamfile.v29
-rw-r--r--tools/regression/test/test-boost-build/missing_dependencies/lib/Jamfile.v27
-rw-r--r--tools/regression/test/test-boost-build/missing_dependencies/lib/lib.cpp1
-rw-r--r--tools/regression/test/test-boost-build/missing_dependencies/test.cpp1
4 files changed, 18 insertions, 0 deletions
diff --git a/tools/regression/test/test-boost-build/missing_dependencies/Jamfile.v2 b/tools/regression/test/test-boost-build/missing_dependencies/Jamfile.v2
new file mode 100644
index 0000000000..d9e5149e8c
--- /dev/null
+++ b/tools/regression/test/test-boost-build/missing_dependencies/Jamfile.v2
@@ -0,0 +1,9 @@
+project
+ : requirements
+ <library>/boost/filesystem//boost_filesystem
+ <define>BOOST_ALL_NO_LIB
+ ;
+
+ test-suite "missing_dependencies" :
+ [ run test.cpp lib//<link>static ]
+ ;
diff --git a/tools/regression/test/test-boost-build/missing_dependencies/lib/Jamfile.v2 b/tools/regression/test/test-boost-build/missing_dependencies/lib/Jamfile.v2
new file mode 100644
index 0000000000..410e7edc9b
--- /dev/null
+++ b/tools/regression/test/test-boost-build/missing_dependencies/lib/Jamfile.v2
@@ -0,0 +1,7 @@
+SOURCES =
+ lib ;
+
+lib lib
+ :
+ $(SOURCES).cpp
+ ;
diff --git a/tools/regression/test/test-boost-build/missing_dependencies/lib/lib.cpp b/tools/regression/test/test-boost-build/missing_dependencies/lib/lib.cpp
new file mode 100644
index 0000000000..57c00cff3e
--- /dev/null
+++ b/tools/regression/test/test-boost-build/missing_dependencies/lib/lib.cpp
@@ -0,0 +1 @@
+#error \ No newline at end of file
diff --git a/tools/regression/test/test-boost-build/missing_dependencies/test.cpp b/tools/regression/test/test-boost-build/missing_dependencies/test.cpp
new file mode 100644
index 0000000000..c3aeba4bb6
--- /dev/null
+++ b/tools/regression/test/test-boost-build/missing_dependencies/test.cpp
@@ -0,0 +1 @@
+int main() { return 0; } \ No newline at end of file