From cae6d486b4294a0ba0a4694171380737c3818aac Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 20 May 2026 19:42:18 +0200 Subject: Document and test combined `build-dep --arch-only --indep-only` This is a supported configuration to only use bare Build-Depends and Build-Conflicts. --- test/integration/test-apt-get-build-dep | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'test') diff --git a/test/integration/test-apt-get-build-dep b/test/integration/test-apt-get-build-dep index f6158a115..de36661c5 100755 --- a/test/integration/test-apt-get-build-dep +++ b/test/integration/test-apt-get-build-dep @@ -148,3 +148,17 @@ Inst build-essential (1 stable [i386]) Conf build-depends (1 stable [i386]) Conf build-depends-indep (1 stable [i386]) Conf build-essential (1 stable [i386])" aptget build-dep --simulate ./foobar.dsc --indep-only + +testsuccessequal "Note, using file './foobar.dsc' to get the build dependencies +Reading package lists... +Building dependency tree... +The following packages will be REMOVED: + build-conflicts +The following NEW packages will be installed: + build-depends build-essential +0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. +Remv build-conflicts [1] +Inst build-depends (1 stable [i386]) +Inst build-essential (1 stable [i386]) +Conf build-depends (1 stable [i386]) +Conf build-essential (1 stable [i386])" aptget build-dep --simulate ./foobar.dsc --arch-only --indep-only -- cgit v1.2.3-70-g09d2