From adc8527ff2a32f71e7b93938aa22ec5fde38114a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 23 Oct 2019 22:55:57 +0300 Subject: Add support for tests, examples, and benchmarks package manifest values --- tests/integration/testscript | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/integration/testscript b/tests/integration/testscript index 94c57ac..7692436 100644 --- a/tests/integration/testscript +++ b/tests/integration/testscript @@ -64,6 +64,14 @@ rep_type = pkg rfp = yes #\ +#\ +pkg = hello +ver = 0.1.0-a.0.20191025174646.0150b7eb45af +rep_url = "https://github.com/karen-arutyunov/hello.git#master" +rep_type = git +rfp = yes +#\ + # Note that we also need to make sure that the installed package libraries are # properly imported when configuring and running tests, and that the installed # executables are runnable. @@ -72,7 +80,9 @@ config = "\"config.install.root='$~/install'\" \ bpkg:--fetch-timeout=60 \ b.test-installed.configure:\"config.cc.loptions=-L'$~/install/lib'\" \ b.test-installed.configure:\"config.bin.rpath='$~/install/lib'\" \ -b.test-installed:--progress" +b.test-installed:--progress \ +bpkg.test-installed.create:\"config.cc.loptions=-L'$~/install/lib'\" \ +bpkg.test-installed.create:\"config.bin.rpath='$~/install/lib'\"" +cat <<"EOI" >=task : 1 @@ -120,5 +130,6 @@ a = $0 chmod ugo+x $target; sleep $wait; $w --verbose 3 --startup --tftp-host $tftp --environments $~ \ - &build/*** &?build-installed/*** &task.manifest 2>| + &build/*** &?build-installed/*** &?build-tests-installed/*** \ + &task.manifest 2>| } -- cgit v1.1