aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-12 21:05:11 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-12 21:13:09 +0300
commited8d91c67df5da8a3d121a38c272ad9b9d71abb0 (patch)
tree3c0e56b3e16319225644e9b2de7fa7b8552b20d1 /tests
parent4c68dffd56ae2493e9e263612fa0127eb0610d18 (diff)
Make use of wildcards in buildfiles
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/