From 2af2c4f092aa7efffe839ec615c06d22cf43cc3b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 16 Mar 2021 20:21:59 +0300 Subject: Add support for interactive builds --- tests/integration/testscript | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/integration/testscript b/tests/integration/testscript index e9b0db1..1408946 100644 --- a/tests/integration/testscript +++ b/tests/integration/testscript @@ -126,6 +126,22 @@ rep_type = git rfp = yes #\ +#\ +pkg = libcmark-gfm-extensions +ver = 0.29.0-a.1+7 +rep_url = https://pkg.cppget.org/1/alpha +rep_type = pkg +rfp = yes +#\ + +#\ +pkg = non-existing +ver = 0.1.0 +rep_url = https://pkg.cppget.org/1/alpha +rep_type = pkg +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. @@ -133,9 +149,13 @@ rfp = yes config = "\"config.install.root='$~/install'\" \ bpkg:--fetch-timeout=60 \ \"config.bin.rpath='$~/install/lib'\" \ +config.cc.coptions=-Wall \ b.test-installed.configure:\"config.cc.loptions=-L'$~/install/lib'\" \ bpkg.test-installed.create:\"config.cc.loptions=-L'$~/install/lib'\"" +#interactive="interactive: bpkg.configure.build" +#interactive="interactive: warning" + +cat <<"EOI" >=task : 1 name: $pkg @@ -146,6 +166,7 @@ bpkg.test-installed.create:\"config.cc.loptions=-L'$~/install/lib'\"" machine: $machine target: $target config: $config + $interactive EOI +if ("$environment" != "") @@ -188,9 +209,9 @@ a = $0 chmod ugo+x $env; sleep $wait; $w --verbose 3 --startup --tftp-host $tftp --environments $~ \ - &?build-module/*** &build/*** \ + &?build-module/*** &?build/*** \ &?build-installed/*** &?build-installed-bpkg/*** \ - &?dist/*** &?redist/*** \ + &?dist/*** &?redist/*** \ &?dist-installed/*** &?redist-installed/*** \ - &task.manifest 2>| + &task.manifest <| 2>| } -- cgit v1.1