aboutsummaryrefslogtreecommitdiff
path: root/old-tests/amalgam/libtest
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-12-01 12:07:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-12-01 12:07:18 +0200
commit0ed86c76239d4f2904ea4ae1a77902a9e0db2a6d (patch)
tree5e8e1d43a0140f5739b21be7cbe120ebb9360d4f /old-tests/amalgam/libtest
parent12fc75188cc1f0a8c4c443c04e7a022131198c36 (diff)
Move old tests to old-tests/
Diffstat (limited to 'old-tests/amalgam/libtest')
-rw-r--r--old-tests/amalgam/libtest/build/bootstrap.build2
-rw-r--r--old-tests/amalgam/libtest/build/export.build6
-rw-r--r--old-tests/amalgam/libtest/buildfile3
-rw-r--r--old-tests/amalgam/libtest/test.cxx4
4 files changed, 15 insertions, 0 deletions
diff --git a/old-tests/amalgam/libtest/build/bootstrap.build b/old-tests/amalgam/libtest/build/bootstrap.build
new file mode 100644
index 0000000..025e510
--- /dev/null
+++ b/old-tests/amalgam/libtest/build/bootstrap.build
@@ -0,0 +1,2 @@
+project = amalgam-libtest
+using config
diff --git a/old-tests/amalgam/libtest/build/export.build b/old-tests/amalgam/libtest/build/export.build
new file mode 100644
index 0000000..b95e409
--- /dev/null
+++ b/old-tests/amalgam/libtest/build/export.build
@@ -0,0 +1,6 @@
+$out_root/:
+{
+ include buildfile
+}
+
+export $out_root/lib{test}
diff --git a/old-tests/amalgam/libtest/buildfile b/old-tests/amalgam/libtest/buildfile
new file mode 100644
index 0000000..70a1467
--- /dev/null
+++ b/old-tests/amalgam/libtest/buildfile
@@ -0,0 +1,3 @@
+using cxx
+
+lib{test}: cxx{test}
diff --git a/old-tests/amalgam/libtest/test.cxx b/old-tests/amalgam/libtest/test.cxx
new file mode 100644
index 0000000..34a033a
--- /dev/null
+++ b/old-tests/amalgam/libtest/test.cxx
@@ -0,0 +1,4 @@
+void
+f ()
+{
+}