aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-04 14:09:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-04 14:09:51 +0200
commitd3f62eb0cbdd6080a26d4e9013bf9f6671cee9d9 (patch)
tree0c19bd064f26a4bed2fb1b786f70cfd8d4867f56 /tests/manifest/buildfile
parentce6eb3555b1264c14563eb383c25f4132c0d2a89 (diff)
Split manifests into package_manifests and repository_manifests
Diffstat (limited to 'tests/manifest/buildfile')
-rw-r--r--tests/manifest/buildfile20
1 files changed, 18 insertions, 2 deletions
diff --git a/tests/manifest/buildfile b/tests/manifest/buildfile
index 9dc2258..76041c6 100644
--- a/tests/manifest/buildfile
+++ b/tests/manifest/buildfile
@@ -2,7 +2,23 @@
# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-exe{driver}: cxx{driver} ../../bpkg/lib{bpkg}
-exe{driver}: test.roundtrip = manifest
+#exe{driver}: cxx{driver} ../../bpkg/lib{bpkg}
+#exe{driver}: test.roundtrip = manifest
+
+# @@ Hack until build2 supports multiple tests. Also remove .gitignore.
+#
+./: exe{pdriver} exe{rdriver}
+
+exe{pdriver}: obj{pdriver}
+exe{pdriver}: test.roundtrip = packages
+
+exe{rdriver}: obj{rdriver}
+exe{rdriver}: test.roundtrip = repositories
+
+obj{pdriver rdriver}: cxx{driver}
+exe{pdriver rdriver} obj{pdriver rdriver}: ../../bpkg/lib{bpkg}
+
+obj{pdriver}: cxx.poptions += -DTEST_PACKAGES
+obj{rdriver}: cxx.poptions += -DTEST_REPOSITORIES
include ../../bpkg/