From: Michael Tremer Date: Thu, 20 May 2021 16:56:20 +0000 (+0000) Subject: tests: makefile: Set architecture to make creating a package successful X-Git-Tag: 0.9.28~1285^2~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21476110b00eac5784ddb9a92aa203a023f80376;p=pakfire.git tests: makefile: Set architecture to make creating a package successful Signed-off-by: Michael Tremer --- diff --git a/tests/libpakfire/makefile.c b/tests/libpakfire/makefile.c index 730b61aea..5d3216432 100644 --- a/tests/libpakfire/makefile.c +++ b/tests/libpakfire/makefile.c @@ -102,6 +102,9 @@ static int test_packages(const struct test* t) { PAKFIRE_PARSER_FLAGS_EXPAND_COMMANDS); ASSERT(parser); + // Set some architecture + pakfire_parser_set(parser, NULL, "DISTRO_ARCH", "x86_64"); + // Load macros int r = load_macros(parser); if (r)