From 95aa319c1548fc81dfd018adc5ae8ec8db2e2f9c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 28 Aug 2023 15:57:14 +0300 Subject: Add support for bbot.sys-install:config.install.root variable --- tests/integration/testscript | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/integration/testscript b/tests/integration/testscript index a608bef..060029e 100644 --- a/tests/integration/testscript +++ b/tests/integration/testscript @@ -64,7 +64,7 @@ b.test-installed.configure:\"config.cc.loptions=-L'$~/install/lib'\" \ bpkg.test-separate-installed.create:\"config.cc.loptions=-L'$~/install/lib'\"" pkg = libhello -ver = 1.0.0+10 +ver = 1.0.0+11 #rep_url = "https://git.build2.org/hello/libhello.git#1.0" #rep_type = git rep_url = https://stage.build2.org/1 @@ -96,6 +96,27 @@ config = "$config bpkg.create:config.install.root=\"'$~/usr/local'\"" +export LD_LIBRARY_PATH="$~/usr/local/lib:$getenv('LD_LIBRARY_PATH')" #\ #\ +sys_install_dir = [dir_path] $~/sys-install/ +package_config = "package-config: +\\ ++bpkg.bindist.archive:--archive-build-meta= +bpkg.bindist.archive:config.install.relocatable=true + ++bbot.bindist.upload: + +bbot.sys-install.tar.extract:--directory=$sys_install_dir +bbot.sys-install.tar.extract:--strip-components=3 + +b.test-installed.configure:config.cc.loptions='-L$sys_install_dir/lib' +bpkg.test-separate-installed.create:config.cc.loptions='-L$sys_install_dir/lib' + +bpkg.create:config.bin.rpath=[null] +\\" +config = "$config bpkg.create:config.install.root=\"'$~/usr/local'\" \ +bbot.sys-install:config.install.root=\"'$sys_install_dir'\"" ++export LD_LIBRARY_PATH="$sys_install_dir/lib:$getenv('LD_LIBRARY_PATH')" +#\ +#\ package_config = 'package-config: \ +bpkg.bindist.fedora: @@ -202,7 +223,7 @@ bpkg.module.create:config.bin.rpath=[null] # #\ pkg = libbuild2-autoconf -ver = 0.2.0-a.0.20230323135046.19cd67c1fa85 +ver = 0.2.0 rep_url = "https://github.com/build2/libbuild2-autoconf.git#master" rep_type = git rfp = yes @@ -235,7 +256,7 @@ config.bpkg.tests.remote=true #\ pkg = cli -ver = 1.2.0-b.9.20230320105544.115e8dc4c504 +ver = 1.2.0-b.10.20230822134113.24d21424af96 rep_url = "https://git.codesynthesis.com/cli/cli.git#master" rep_type = git #rep_url = https://stage.build2.org/1 @@ -455,5 +476,6 @@ a = $0 &?dist-install/*** &?redist-install/*** \ &?dist-installed/*** &?redist-installed/*** \ &?../usr/*** &?upload/*** &?upload.tar \ + &?../sys-install/*** \ &task.manifest <| 2>| } -- cgit v1.1