From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7296424300414763008 X-Received: by 2002:a50:d092:0:b0:53e:323a:274f with SMTP id v18-20020a50d092000000b0053e323a274fmr5752677edd.42.1699605123089; Fri, 10 Nov 2023 00:32:03 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:aa7:c9da:0:b0:543:7afc:7031 with SMTP id i26-20020aa7c9da000000b005437afc7031ls79675edt.0.-pod-prod-06-eu; Fri, 10 Nov 2023 00:32:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFNgrhG0nJ5uedKnaq3YklSlLV3IBVoLEeJRIrxIz7SzyY0iLQEu2dm7l0Cc1WabjLqKnA X-Received: by 2002:a50:bb2c:0:b0:543:5c2f:e0e6 with SMTP id y41-20020a50bb2c000000b005435c2fe0e6mr5094454ede.17.1699605120827; Fri, 10 Nov 2023 00:32:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699605120; cv=none; d=google.com; s=arc-20160816; b=IBKArtCmyskULJLfvPUee595YpdS/dHweJnk8FWr6zI2fYByLR2J8927Ht5d72UYzR 9fluYGhYTm1dfFj5uFSQJ/D/tsubnRobQzkSJFU9ixwSHP0fNOfx48ePMJc4hb4Hg506 voRwZUMneKEhr0OyrQWd+SIl0JZ8/MCaozQR4t8pQOdRoLixKQG4X4jg9IORJJ+6jvvf FLkLzvo3LogpI4GUo6uN8h8hWNP9P6Moxg1V8WNQiTFuH2gaEpiuBf1zS6ZLVajkGNf5 MFDgoCmK7lx2F0p7GSmanyuQySrntsMHsyFMzsYfTuSIefuoQaD3ajhPZr1kFPuR/xMj vpdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=69t3D0V2um88BeutZImnMy3ognMDjn+t/Bwy0z0N0Nc=; fh=JZvUnqoG0jWph92hWpw0EINycbLveqkIcdkusZDYok4=; b=JCpQVfANRWfSoQOdQUy/9ntn6BYjmTaZUmrrtEVypOyq+NbdnsXPrz8AcPiyaZHYQ2 eu5NIJH0JStTVFZT1KJ9uxItMZTAjvEsPiK4V/82RZVa+8AYhkkLHIttyamYz1Q4LQ8v LbKNBqZJyZhNTOeIe1y5KqjX+U5yNIueoVN/K0wYP1JYWNIsmZimx51vCa+kUW3HA6h4 AEVRooCyf8a0pvFD/BKbGQ98wdpCZqphQ9RXlYREk6r64713181pb8ZJnYifVhyekY8I kJMKuMk29PA7fnsMeXBGpoLfeSDrUtz+AhLNzndGUrsC6R56M130EUMIZD+lwaFEikd/ C3Tw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id bm7-20020a0564020b0700b0054359279646si1074385edb.3.2023.11.10.00.32.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Nov 2023 00:32:00 -0800 (PST) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 3AA8VwTa020981 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 Nov 2023 09:31:59 +0100 Message-ID: Subject: Re: [PATCH] testsuite: Add source package contents test case From: Uladzimir Bely To: Anton Mikanovich , isar-users@googlegroups.com Date: Fri, 10 Nov 2023 11:32:15 +0300 In-Reply-To: <20231101093230.1984785-1-amikan@ilbers.de> References: <20231101093230.1984785-1-amikan@ilbers.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.1 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: mznEMUDwovth On Wed, 2023-11-01 at 11:32 +0200, Anton Mikanovich wrote: > Add new test case for checking source package contents. > Two aspects are currently checking: > 1) Source package content do not include .git files > 2) Setting empty DPKG_SOURCE_EXTRA_ARGS makes package include new > files >=20 > Also introduce some new APIs for test writters: > 1) create_tmp_layer and cleanup_tmp_layer > Create and remove meta-tmp for temporary source changing. > Now we can put bbappend into it without touching meta and meta-isar. > 2) getVars > API to retrieve one or more bitbake variables from repices. > Setting target value makes it parce multiconfig related variables. > 3) get_tar_content > Obtain filenames from tar.* files. >=20 > Signed-off-by: Anton Mikanovich > --- > =C2=A0testsuite/cibase.py=C2=A0=C2=A0=C2=A0 | 54 ++++++++++++++++++++++++= +++++++ > =C2=A0testsuite/cibuilder.py | 73 > ++++++++++++++++++++++++++++++++++++++++++ > =C2=A0testsuite/citest.py=C2=A0=C2=A0=C2=A0 | 15 +++++++++ > =C2=A03 files changed, 142 insertions(+) >=20 Applied to next.