aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-11-30 13:28:04 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-11-30 17:10:06 +0300
commitf3d3143aa67d1d038f5eee1103c2b783d54955c4 (patch)
tree85e2c5eedf24cfef718c724a7711a2260397cc4f /tests
parent68aa933548c0fb927d0d03c522e49ba361c0e294 (diff)
Match build configuration names, targets and machine names as paths
Diffstat (limited to 'tests')
-rw-r--r--tests/load/1/math/libexp-+2-1.2+1.tar.gzbin368 -> 388 bytes
-rw-r--r--tests/load/1/math/packages.manifest6
-rw-r--r--tests/load/driver.cxx6
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/load/1/math/libexp-+2-1.2+1.tar.gz b/tests/load/1/math/libexp-+2-1.2+1.tar.gz
index e8b9183..c49541c 100644
--- a/tests/load/1/math/libexp-+2-1.2+1.tar.gz
+++ b/tests/load/1/math/libexp-+2-1.2+1.tar.gz
Binary files differ
diff --git a/tests/load/1/math/packages.manifest b/tests/load/1/math/packages.manifest
index df3b083..31baa82 100644
--- a/tests/load/1/math/packages.manifest
+++ b/tests/load/1/math/packages.manifest
@@ -13,10 +13,10 @@ email: users@exp.example.com
build-email: builds@exp.example.com
depends: libmisc
depends: libpq >= 9.0.0
-build-exclude: *; Only supported on Linux.
-build-include: linux*
+build-include: windows**d/x86_64**
+build-exclude: **; Only supported on Windows.
location: libexp-+2-1.2+1.tar.gz
-sha256sum: 9449cb008ca8cc3b91fbe5c44ae87f0e10fd24ff453bb88cf4504dabe2068eb3
+sha256sum: 6dc3ef269d7f50af2c234c51407eb5622e7395af8bf50a5f75880688c064b79b
:
name: libfoo
version: +0-X.Y
diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx
index 8a592d6..04e7368 100644
--- a/tests/load/driver.cxx
+++ b/tests/load/driver.cxx
@@ -829,12 +829,12 @@ test_pkg_repos (const cstrings& loader_args,
assert (
epv->build_constraints ==
build_constraints ({
- build_constraint (true, "*", nullopt, "Only supported on Linux."),
- build_constraint (false, "linux*", nullopt, "")}));
+ build_constraint (false, "windows**d", "x86_64**", ""),
+ build_constraint (true, "**", nullopt, "Only supported on Windows.")}));
assert (check_location (epv));
assert (epv->sha256sum && *epv->sha256sum ==
- "9449cb008ca8cc3b91fbe5c44ae87f0e10fd24ff453bb88cf4504dabe2068eb3");
+ "6dc3ef269d7f50af2c234c51407eb5622e7395af8bf50a5f75880688c064b79b");
// Verify libpq package version.
//