aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-01-25 12:47:17 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-01-25 12:47:17 +0300
commit25124e68a4337680776a8f46188c070ed5791fd9 (patch)
treef7eebabcea88bd87978824737624b8f130360db6
parent9f485c7c0203dbbab53e02d53189cc237211dba5 (diff)
Specify test.target for test packages
-rw-r--r--tests/pkg/1/build2.org/common/hello/libhello-1.0.0.tar.gzbin2434 -> 2483 bytes
-rw-r--r--tests/pkg/1/build2.org/common/libhello-1.0.0/tests/build/root.build4
-rwxr-xr-xtests/test.sh2
3 files changed, 5 insertions, 1 deletions
diff --git a/tests/pkg/1/build2.org/common/hello/libhello-1.0.0.tar.gz b/tests/pkg/1/build2.org/common/hello/libhello-1.0.0.tar.gz
index aec0ff0..e9d9ff1 100644
--- a/tests/pkg/1/build2.org/common/hello/libhello-1.0.0.tar.gz
+++ b/tests/pkg/1/build2.org/common/hello/libhello-1.0.0.tar.gz
Binary files differ
diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0/tests/build/root.build b/tests/pkg/1/build2.org/common/libhello-1.0.0/tests/build/root.build
index 1f7c350..de723b8 100644
--- a/tests/pkg/1/build2.org/common/libhello-1.0.0/tests/build/root.build
+++ b/tests/pkg/1/build2.org/common/libhello-1.0.0/tests/build/root.build
@@ -8,3 +8,7 @@ cxx{*}: extension = cxx
# Every exe{} in this subproject is by default a test.
#
exe{*}: test = true
+
+# Specify the test target for cross-testing.
+#
+test.target = $cxx.target
diff --git a/tests/test.sh b/tests/test.sh
index debf8f9..6858ea6 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -323,7 +323,7 @@ email: hello-users@example.org
requires: c++11
requires: build2 >= 0.4.0
location: libhello-1.0.0.tar.gz
-sha256sum: 1c1c4fe4eed33d6eb46db62d6273f821580df79bf7e939f5a481a95ef248c784
+sha256sum: d18d1472980399dd1fdbc776cb3eb3f7b2f62447210c8cfbcf1a8dd52a468395
EOF
##