aboutsummaryrefslogtreecommitdiff
path: root/tests/amalgam/test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-13 12:20:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-13 12:20:27 +0200
commit70613e9be046c9cddd2486505a44d3a0324d6d95 (patch)
tree48068dc88aca74f3587ea61cc47f8a4676107564 /tests/amalgam/test
parentbef7c36a3479b9b83eaf4be9ef090b21d6468f12 (diff)
Implement subproject import
Diffstat (limited to 'tests/amalgam/test')
-rw-r--r--tests/amalgam/test/build/bootstrap.build2
-rw-r--r--tests/amalgam/test/buildfile8
-rw-r--r--tests/amalgam/test/driver.cxx4
3 files changed, 14 insertions, 0 deletions
diff --git a/tests/amalgam/test/build/bootstrap.build b/tests/amalgam/test/build/bootstrap.build
new file mode 100644
index 0000000..a53e738
--- /dev/null
+++ b/tests/amalgam/test/build/bootstrap.build
@@ -0,0 +1,2 @@
+project = amalgam-test
+using config
diff --git a/tests/amalgam/test/buildfile b/tests/amalgam/test/buildfile
new file mode 100644
index 0000000..3fadac3
--- /dev/null
+++ b/tests/amalgam/test/buildfile
@@ -0,0 +1,8 @@
+using cxx
+
+hxx.ext = hxx
+cxx.ext = cxx
+
+import libs += amalgam-libtest
+
+exe{driver}: cxx{driver} $libs
diff --git a/tests/amalgam/test/driver.cxx b/tests/amalgam/test/driver.cxx
new file mode 100644
index 0000000..70b4146
--- /dev/null
+++ b/tests/amalgam/test/driver.cxx
@@ -0,0 +1,4 @@
+int
+main ()
+{
+}