aboutsummaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/testscript27
1 files changed, 24 insertions, 3 deletions
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>|
}