aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/manifest/buildfile7
-rw-r--r--tests/package-version/buildfile7
-rw-r--r--tests/repository-location/buildfile7
3 files changed, 9 insertions, 12 deletions
diff --git a/tests/manifest/buildfile b/tests/manifest/buildfile
index 964f4e4..c61fab4 100644
--- a/tests/manifest/buildfile
+++ b/tests/manifest/buildfile
@@ -2,8 +2,7 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-import libs += libbutl%lib{butl}
+import libs = libbutl%lib{butl}
+import libs += libbpkg%lib{bpkg}
-exe{driver}: cxx{*} ../../libbpkg/lib{bpkg} $libs test{testscript}
-
-include ../../libbpkg/
+exe{driver}: cxx{*} $libs test{testscript}
diff --git a/tests/package-version/buildfile b/tests/package-version/buildfile
index 044ded6..ec5bfaa 100644
--- a/tests/package-version/buildfile
+++ b/tests/package-version/buildfile
@@ -2,8 +2,7 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-import libs += libbutl%lib{butl}
+import libs = libbutl%lib{butl}
+import libs += libbpkg%lib{bpkg}
-exe{driver}: cxx{*} ../../libbpkg/lib{bpkg} $libs
-
-include ../../libbpkg/
+exe{driver}: cxx{*} $libs
diff --git a/tests/repository-location/buildfile b/tests/repository-location/buildfile
index 813aa73..5aafc23 100644
--- a/tests/repository-location/buildfile
+++ b/tests/repository-location/buildfile
@@ -2,8 +2,7 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-import libs += libbutl%lib{butl}
+import libs = libbutl%lib{butl}
+import libs += libbpkg%lib{bpkg}
-exe{driver}: cxx{*} ../../libbpkg/lib{bpkg} $libs
-
-include ../../libbpkg/
+exe{driver}: cxx{*} $libs