aboutsummaryrefslogtreecommitdiff
path: root/tests/import
diff options
context:
space:
mode:
Diffstat (limited to 'tests/import')
-rw-r--r--tests/import/installed/build/bootstrap.build3
-rw-r--r--tests/import/installed/buildfile8
-rw-r--r--tests/import/installed/driver.cxx4
3 files changed, 15 insertions, 0 deletions
diff --git a/tests/import/installed/build/bootstrap.build b/tests/import/installed/build/bootstrap.build
new file mode 100644
index 0000000..97fd11f
--- /dev/null
+++ b/tests/import/installed/build/bootstrap.build
@@ -0,0 +1,3 @@
+project = import-installed
+amalgamation = # Disabled.
+using config
diff --git a/tests/import/installed/buildfile b/tests/import/installed/buildfile
new file mode 100644
index 0000000..40c77ce
--- /dev/null
+++ b/tests/import/installed/buildfile
@@ -0,0 +1,8 @@
+using cxx
+
+hxx.ext = hxx
+cxx.ext = cxx
+
+import libs += lib{z}
+
+exe{driver}: cxx{driver} $libs
diff --git a/tests/import/installed/driver.cxx b/tests/import/installed/driver.cxx
new file mode 100644
index 0000000..70b4146
--- /dev/null
+++ b/tests/import/installed/driver.cxx
@@ -0,0 +1,4 @@
+int
+main ()
+{
+}