This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7e73ffda963a579bb7199301985a267586d0f7ff commit 7e73ffda963a579bb7199301985a267586d0f7ff Author: Guillem Jover <[email protected]> AuthorDate: Mon Jul 1 05:00:31 2024 +0200 test: Set CC to gcc in make fragments functional tests We are setting the CC environment variable for the TAP driver, from the value detected at configure time, which means we might not have the expected mock binary to control the output. Just set the CC variable to a known value for the make fragments functional tests. --- scripts/t/mk.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/t/mk.t b/scripts/t/mk.t index a31eef72e..f0db4d061 100644 --- a/scripts/t/mk.t +++ b/scripts/t/mk.t @@ -41,8 +41,8 @@ delete $ENV{MAKEFLAGS}; delete $ENV{$_} foreach grep { m/^DEB_/ } keys %ENV; # Set architecture variables to not require dpkg nor gcc. +$ENV{CC} = 'gcc'; $ENV{PATH} = "$srcdir/t/mock-bin:$ENV{PATH}"; - $ENV{DEB_BUILD_PATH} = rel2abs($datadir); sub test_makefile { -- Dpkg.Org's dpkg

