From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 23 Jan 2026 09:35:47 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-ed1-f61.google.com (mail-ed1-f61.google.com [209.85.208.61]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 60N8ZlXa016318 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 23 Jan 2026 09:35:47 +0100 Received: by mail-ed1-f61.google.com with SMTP id 4fb4d7f45d1cf-6581d41ab79sf2222270a12.2 for ; Fri, 23 Jan 2026 00:35:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1769157342; cv=pass; d=google.com; s=arc-20240605; b=dSRXcxa4VPYQve5yEiRZp4iNG7ky39nSI/ZU4AhgYEHNgD0q9SGZ2lTjAUPvGvmfT5 nBeHoEJv9POOyALf2nd7psnNt7noMjQq++oat92yvJ8xH081XyhUa3gFm4SAw+ITaYnO OwSZpE/slmr9ujASm01UFs6z6BiHfB25VwtHIVijwntkYgUBJh0qs8OScn3sICmgCb2a uTOjvtsQMk+0Ku01JJw9fk9bq/SEdoShxAAjPEwWvctQeZqef7przetJsRsVAaIKbZdT mfnhhbcRg2gGGZvct02gKeUaNptCYLFKdqXVK/drc8POcUEl3fdoJuM+4B6pqNgVr9yu wDnQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=NMO2swxC8CsdBParPv43hcVcw+pR+7NtPn2uwgixhTM=; fh=trwc5Ylx0fYSl6qsLbGo5NjZTY52IxIbdBFjDZVTcNE=; b=VNtHE5QaJBhHgIoW1tQU1ARNHywIRKTpVqjqJxQHOK7oc1LA8FBU5oExVbB4KPFYys 86YaI/zI05U/5+IapQaIt7Bpbjl5phTnjlVhP3Y0fX47M2KJvJUP+ex7qhisorJGgfIb XTVQSNWXr0/O/NX5G1OYBRmsohSkBmM94Z8Hy7utKQLzMsm7z02FRclUdRU4cjMq9EKX oPAGqLFnDpdCdYxhzscWwHb3dDasPVE1xZXw/K6ysxY1ApQThnhU9LpMe9KfLtgWxq76 KZK+MlNh3aG7Vq6zQM77uPargN7LLItrljfv2GVv7omftDeLbpqZmRefXGQEIzFW85Ov OZcg==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1769157342; x=1769762142; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=NMO2swxC8CsdBParPv43hcVcw+pR+7NtPn2uwgixhTM=; b=d6gID/B936U9jdi7UT1bYE3Y2Kpp8q2euYUqOW8qCyg2ZCOnqXMFhAvH/X61rkc0ra rwrMT5ZXkoNnnrSJMqssGMEGsFUwr51b/8O/IFkSp94bs7I6EPlKUZVQWnoix7dH/4jH FbG9qdo/m2n1lYVApijukAYkDn8aV/6w2ICIfU8RMut/FG33MhoKMbUZ45nHLPCbNZuE ig8oDhUZz2HofmZxOPvnSr5UXvCBsJE3eM09QMTqw0RuMm7oaDhnqpF7jeJqHbosVNC3 qHAv2aOUgB/WVTVtIoSOa82yoAJKeVAIvNNuRDbSykoJeQvS81KjgztDtIIFanPAi+E1 2hxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769157342; x=1769762142; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=NMO2swxC8CsdBParPv43hcVcw+pR+7NtPn2uwgixhTM=; b=MBV73I9sApgc259ImKz/yQi9/rUq3rkP6DM87BvEBP2HS5+RqzkFS1kUHlcKlT8u6R Px3Ovenp1/Wxpah+AUmmNGeP5fOtL2halZFSNBk1ca3dFUqQmoSkJx3JecD8G1Xk804i h1HeopKFVV/O10hUn16hQ/ul7/K2m0zBgxKC9sv/eRcp5qL8W04YGsVNkJQjDmTQUieW r/Vphy/63ea8jOX8nmFIXdGFHQc+K7fPwtE0o9dh6dqS8Iu8d9HiwPjpoJeSCa1vhK0Q qpDyk9SDepH0gvorxHPcm9zVQc+YP/zSO9U7Mk44C59iyMbjTqY/B78BrUQOyirJfb68 iDaQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWrwwiBRy7XObrYfU8GgPPpveue8XYK0eUl5CemsXQeRirustDLkT5v8nco1X/gUmjTM260@ilbers.de X-Gm-Message-State: AOJu0YyFWOW8GlD4uQiTr6hD0Gs3jL0ujrm+60QrttW1k+Fv5T//e6BD v7KXVCUzlRQsnSsb8lqe1WCnoEMcz1JUkh4roidCvj8L0TTkII1FnxeH X-Received: by 2002:a05:6000:25c2:b0:435:8e68:c96d with SMTP id ffacd0b85a97d-435b158a27amr3451013f8f.1.1769156705814; Fri, 23 Jan 2026 00:25:05 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="AV1CL+Hw8beOcFb1LhodYb5CFL+oeyUEWMISgsppDsxV2p78WQ==" Received: by 2002:a05:6000:40c9:b0:3f8:e016:41ab with SMTP id ffacd0b85a97d-435a62c8ee3ls1062417f8f.0.-pod-prod-03-eu; Fri, 23 Jan 2026 00:25:03 -0800 (PST) X-Received: by 2002:a05:6000:4201:b0:435:9f1b:8d19 with SMTP id ffacd0b85a97d-435b15fb156mr3869338f8f.38.1769156703504; Fri, 23 Jan 2026 00:25:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769156703; cv=none; d=google.com; s=arc-20240605; b=KfNA/e7H+wH05TKiEVLAQ0yOn48WEi/bMjwxu9g3g7qLquANdgiT9ETNsc3MziPEcW Q3cxdp4Kqr/CqCmsO+RhI81fJ7f0k/OfFucMDP9GDK3qMVCckYR7dzQmv3tUkJpdllsp 7wP4VkENT+kxvs/TG98Kk9BDqzGEp63h/Ek8REvt5KWe0t9Ns6WxoCwd7Kr5LQF7W8i3 dIRXbDd/BY5a+7M/lgihzsaGZjn3CNQWynwGnt8g4Tfuh94VtnYdso1nCTDRGByf7+mz zzTbcCnDV66D8P916fKbfuTIivW/grS2NLWcCLeAd3l6IMLLsuXuPRZJCZFhA5Qb6RkV NGuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=OPXgemRFdDewf2dNO6bcdKKCidhRWYrnVt52eVdtmSU=; fh=V42d4Y/lNDOgZ/9/qsphFBeZCU4sz3YugfOOjBc+1H8=; b=Wb+bTt+NhA+0iZJJky/Krdm/QqCNSJ5vdTz491nidZDS+/R2hSgWzGeNiF3+sMdvtr a8usYY4iyrGB7gjkhmQdMTPNoB8l7kMO1GBQPjSXr6kwkQiO7972uBlUJal3StRx9A1+ OWzLNUd5kH9ogshDaeNPNik2t3d+cxhPYGTpA+9/exRIj/4zswqGklhHptj8WTTUCzKR YdN3g/a5VoBxVcyxT7/8ttmo3OAh7LvHSFSdY8ehLQvB0nSbPwPGlT790CGyVvZtQxR2 KDSVAFBcwXcUI0XZxO2paxHLx3BJSFPjHk+b+24d42I1mhvtKH9UGk3StVI+MRdCYexf H0FQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id ffacd0b85a97d-435b1c78615si47342f8f.8.2026.01.23.00.25.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Jan 2026 00:25:03 -0800 (PST) Received-SPF: pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from debian-zwei.m.ilbers.de ([88.130.203.42]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPA id 60N8P1Xj014977; Fri, 23 Jan 2026 09:25:02 +0100 From: Zhihang Wei To: isar-users@googlegroups.com, felix.moessbauer@siemens.com, amikan@ilbers.de Cc: wzh@ilbers.de, cedric.hombourger@siemens.com Subject: [PATCH v3 04/20] testsuite: make compat test standalone test Date: Fri, 23 Jan 2026 09:24:45 +0100 Message-Id: <20260123082501.240751-5-wzh@ilbers.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20260123082501.240751-1-wzh@ilbers.de> References: <20260123082501.240751-1-wzh@ilbers.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS 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-Original-Sender: wzh@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: lN953T6Zv/XU From: "MOESSBAUER, Felix" Currently, enabling compat mode during configuration also changes the set of packages we build. As this is done with appends, some packages are unconditionally added, despite not being part of the original test case. We change this by only enabling compat mode when selecting compat. To actually test the compat feature, we add a simple and fast test that builds the hello-isar-compat package. Signed-off-by: Felix Moessbauer --- testsuite/cibuilder.py | 4 ---- testsuite/citest.py | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/testsuite/cibuilder.py b/testsuite/cibuilder.py index dea57405..d23ba84b 100755 --- a/testsuite/cibuilder.py +++ b/testsuite/cibuilder.py @@ -180,11 +180,7 @@ class CIBuilder(Test): if compat_arch: f.write( 'ISAR_ENABLE_COMPAT_ARCH:amd64 = "1"\n' - 'IMAGE_INSTALL:remove:amd64 = "hello-isar"\n' - 'IMAGE_INSTALL:append:amd64 = " hello-isar-compat"\n' 'ISAR_ENABLE_COMPAT_ARCH:arm64 = "1"\n' - 'IMAGE_INSTALL:remove:arm64 = "hello-isar"\n' - 'IMAGE_INSTALL:append:arm64 = " hello-isar-compat"\n' ) if not cross: f.write('ISAR_CROSS_COMPILE = "0"\n') diff --git a/testsuite/citest.py b/testsuite/citest.py index eec90c6e..5ff4a4ed 100755 --- a/testsuite/citest.py +++ b/testsuite/citest.py @@ -112,6 +112,25 @@ class DevTest(CIBaseTest): self.vm_start('arm', 'bookworm', skip_modulecheck=True) +class CompatTest(CIBaseTest): + """ + Test compilation of recipes for compat architecture. + This also tests a custom sbuild chroot for compat. + :avocado: tags=compat,fast + """ + + def test_compat_recipe(self): + targets = [ + 'mc:qemuamd64-bookworm:hello-isar-compat', + 'mc:qemuarm64-bookworm:hello-isar-compat', + 'mc:qemuamd64-trixie:hello-isar-compat', + 'mc:qemuarm64-trixie:hello-isar-compat', + ] + + self.init() + self.perform_build_test(targets, compat_arch=True) + + class ReproTest(CIBaseTest): """ -- 2.39.5 -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260123082501.240751-5-wzh%40ilbers.de.