From 25124e68a4337680776a8f46188c070ed5791fd9 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 25 Jan 2017 12:47:17 +0300 Subject: Specify test.target for test packages --- .../1/build2.org/common/hello/libhello-1.0.0.tar.gz | Bin 2434 -> 2483 bytes .../common/libhello-1.0.0/tests/build/root.build | 4 ++++ tests/test.sh | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) 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 Binary files a/tests/pkg/1/build2.org/common/hello/libhello-1.0.0.tar.gz and b/tests/pkg/1/build2.org/common/hello/libhello-1.0.0.tar.gz 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 ## -- cgit v1.1