Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1kqZGX-0006Uq-HN for mharc-grub-devel@gnu.org; Sat, 19 Dec 2020 05:15:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqZGU-0006TR-R6 for grub-devel@gnu.org; Sat, 19 Dec 2020 05:15:06 -0500 Received: from mail-io1-xd2a.google.com ([2607:f8b0:4864:20::d2a]:47059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqZGT-0001xU-2Z for grub-devel@gnu.org; Sat, 19 Dec 2020 05:15:06 -0500 Received: by mail-io1-xd2a.google.com with SMTP id 81so4410641ioc.13 for ; Sat, 19 Dec 2020 02:15:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4I/6jF8PZDqdFVbhcgBe/dpE/TGDlX3BEjE4fADyi9w=; b=nsmwcKmwVxyNxW0gjZRi4WP3M+Q5krgcAMQpnE6XYX4JzAcyYiiH2g7ShErwAbCtLu J4FDgAhYDNh6vvn0fKX6mq6yzuhBfhsAlqnohHHI/dmAjoWw16dMK5CfEFR9Skcyb++p D/zQ+svVxtIABHP8x7QiEhb4qTIvjR/V36CH3Z5Xrphs2fnLzudedikzhqB08LK+KhJ8 jp3aWgtQ9r6+aACHDPQ682VA9FYp6J3OjfUrow98hWxKElumZK7mfFFMCokVRKlpVmzj 4QOFXTQTwrT9+qw23H4ufcng5G+g5oL5dAcZiNWFkc9D2nU/jGjT1sgFE3MOnN1yNAab u2JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4I/6jF8PZDqdFVbhcgBe/dpE/TGDlX3BEjE4fADyi9w=; b=Ssr42WZUFVChbD81nBxp3WrBfVfUNwDH8vID0SKYE8J0PI8z4+dduv4zuHQ5nJrkoy zOeivQYi11AFlCFBiRv7RFjTajkj9cMXh52PYxbhIjn+CQdlvd0gpHueKqxSM1Pstv1C 3hvdLZIQ55uXAPA23nlK4zGogZ8bPNmIene2O+mPxjIRHrzviH2VcZnfcIwESQHqP5th TvCPN35nGW2WxziPtmPz3wTuxVdRG5HMzy6mrlSdynSienYJVQqhYWZd/YIuFw3tx6OF 4JVPsllV7Q5Thmr/VWikHdD3n5Ajv1jzGRMySBK3enhnRhmj4P9hpKL2PWQklgMF3wMT NcYw== X-Gm-Message-State: AOAM5308c4ZENsE38XJ3SIKeLo1p+bDHQUuijbuW7oNdHF/693tXqVgZ k0CK2r9Gs0UHVXxveI93w9rOAAmR2yPBhg== X-Google-Smtp-Source: ABdhPJzW5jdQ2epBPTH+mDRx5PXEiOw978Ikc9vMgffrgp9pzD4Gl9NAYIT++OaX/kLZgDp8ylOLeQ== X-Received: by 2002:a5e:a916:: with SMTP id c22mr7613011iod.144.1608372903922; Sat, 19 Dec 2020 02:15:03 -0800 (PST) Received: from localhost.localdomain ([136.49.211.192]) by smtp.gmail.com with ESMTPSA id o195sm8821542ila.38.2020.12.19.02.15.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Dec 2020 02:15:03 -0800 (PST) From: Glenn Washburn To: grub-devel@gnu.org Cc: Daniel Kiper , Glenn Washburn Subject: [PATCH 1/5] tests: Exit with skipped exit code when test not performed Date: Sat, 19 Dec 2020 04:14:36 -0600 Message-Id: X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::d2a; envelope-from=development@efficientek.com; helo=mail-io1-xd2a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2020 10:15:07 -0000 These tests were not performed and therefore did not pass, nor fail. This fixes odd behavior where the pseries_test will pass on i386-pc. Signed-off-by: Glenn Washburn --- tests/core_compress_test.in | 2 +- tests/pseries_test.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/core_compress_test.in b/tests/core_compress_test.in index 9d216ebcf..2fd0a571c 100644 --- a/tests/core_compress_test.in +++ b/tests/core_compress_test.in @@ -22,7 +22,7 @@ grubshell=@builddir@/grub-shell case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in # FIXME: Only mips currently supports configurable core compression *-emu | i386-* | x86_64-* | sparc64-* | ia64-*) - exit 0 + exit 77 ;; esac diff --git a/tests/pseries_test.in b/tests/pseries_test.in index 655eb4f3a..9b4090cf5 100644 --- a/tests/pseries_test.in +++ b/tests/pseries_test.in @@ -20,7 +20,7 @@ grubshell=@builddir@/grub-shell . "@builddir@/grub-core/modinfo.sh" if [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" != powerpc-ieee1275 ]; then - exit 0 + exit 77 fi if [ "$(echo hello | "${grubshell}" --pseries --timeout=180 --boot=cd)" != "Hello World" ]; then -- 2.27.0