aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-10-23 22:55:57 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-10-31 19:18:00 +0300
commitadc8527ff2a32f71e7b93938aa22ec5fde38114a (patch)
treec97a76fee35efd1dc161c95833c2d3736b084c2e /tests
parenta36be905760c402fbe5070f6bcb7041e7c73ce29 (diff)
Add support for tests, examples, and benchmarks package manifest values
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/testscript15
1 files changed, 13 insertions, 2 deletions
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>|
}