aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/buildfile5
-rw-r--r--tests/manifest/buildfile2
-rw-r--r--tests/package-version/buildfile2
-rw-r--r--tests/repository-location/buildfile2
4 files changed, 4 insertions, 7 deletions
diff --git a/tests/buildfile b/tests/buildfile
index 47f5226..9eea969 100644
--- a/tests/buildfile
+++ b/tests/buildfile
@@ -2,7 +2,4 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-d = manifest/ package-version/ repository-location/
-
-./: $d
-include $d
+./: {*/ -build/}
diff --git a/tests/manifest/buildfile b/tests/manifest/buildfile
index ddc5938..964f4e4 100644
--- a/tests/manifest/buildfile
+++ b/tests/manifest/buildfile
@@ -4,6 +4,6 @@
import libs += libbutl%lib{butl}
-exe{driver}: cxx{driver} ../../libbpkg/lib{bpkg} $libs test{testscript}
+exe{driver}: cxx{*} ../../libbpkg/lib{bpkg} $libs test{testscript}
include ../../libbpkg/
diff --git a/tests/package-version/buildfile b/tests/package-version/buildfile
index 422e92a..044ded6 100644
--- a/tests/package-version/buildfile
+++ b/tests/package-version/buildfile
@@ -4,6 +4,6 @@
import libs += libbutl%lib{butl}
-exe{driver}: cxx{driver} ../../libbpkg/lib{bpkg} $libs
+exe{driver}: cxx{*} ../../libbpkg/lib{bpkg} $libs
include ../../libbpkg/
diff --git a/tests/repository-location/buildfile b/tests/repository-location/buildfile
index ecd7da2..813aa73 100644
--- a/tests/repository-location/buildfile
+++ b/tests/repository-location/buildfile
@@ -4,6 +4,6 @@
import libs += libbutl%lib{butl}
-exe{driver}: cxx{driver} ../../libbpkg/lib{bpkg} $libs
+exe{driver}: cxx{*} ../../libbpkg/lib{bpkg} $libs
include ../../libbpkg/