From: Muhammad Usama Anjum <usama.anjum@collabora.com>
To: Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>, Shuah Khan <shuah@kernel.org>,
Muhammad Usama Anjum <usama.anjum@collabora.com>
Cc: kernel@collabora.com, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kselftest@vger.kernel.org
Subject: [PATCH 2/2] selftests: arm64: tags: remove the result script
Date: Sun, 2 Jun 2024 18:25:00 +0500 [thread overview]
Message-ID: <20240602132502.4186771-2-usama.anjum@collabora.com> (raw)
In-Reply-To: <20240602132502.4186771-1-usama.anjum@collabora.com>
The run_tags_test.sh script is used to run tags_test and print out if
the test succeeded or failed. As tags_test has been TAP conformed, this
script is unneeded and hence can be removed.
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
---
make run_tests TARGETS="arm64/tags"
Before:
➜ selftests make run_tests TARGETS="arm64/tags"
TAP version 13
1..2
# timeout set to 45
# selftests: arm64/tags: tags_test
# TAP version 13
# 1..1
# ok 1 Syscall successful
# # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0
ok 1 selftests: arm64/tags: tags_test
# timeout set to 45
# selftests: arm64/tags: run_tags_test.sh
# --------------------
# running tags test
# --------------------
# TAP version 13
# 1..1
# ok 1 Syscall successful
# # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0
# [PASS]
ok 2 selftests: arm64/tags: run_tags_test.sh
After:
➜ selftests make run_tests TARGETS="arm64/tags"
TAP version 13
1..1
# timeout set to 45
# selftests: arm64/tags: tags_test
# TAP version 13
# 1..1
# ok 1 Syscall successful
# # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0
ok 1 selftests: arm64/tags: tags_test
make[1]: Leaving directory '/home/ubuntu/repos/kernel/linux_mainline/tools/testing/selftests/arm64/tags'
---
tools/testing/selftests/arm64/tags/Makefile | 1 -
tools/testing/selftests/arm64/tags/run_tags_test.sh | 12 ------------
2 files changed, 13 deletions(-)
delete mode 100755 tools/testing/selftests/arm64/tags/run_tags_test.sh
diff --git a/tools/testing/selftests/arm64/tags/Makefile b/tools/testing/selftests/arm64/tags/Makefile
index 6d29cfde43a21..0a77f35295fb6 100644
--- a/tools/testing/selftests/arm64/tags/Makefile
+++ b/tools/testing/selftests/arm64/tags/Makefile
@@ -2,6 +2,5 @@
CFLAGS += $(KHDR_INCLUDES)
TEST_GEN_PROGS := tags_test
-TEST_PROGS := run_tags_test.sh
include ../../lib.mk
diff --git a/tools/testing/selftests/arm64/tags/run_tags_test.sh b/tools/testing/selftests/arm64/tags/run_tags_test.sh
deleted file mode 100755
index 745f113799303..0000000000000
--- a/tools/testing/selftests/arm64/tags/run_tags_test.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-# SPDX-License-Identifier: GPL-2.0
-
-echo "--------------------"
-echo "running tags test"
-echo "--------------------"
-./tags_test
-if [ $? -ne 0 ]; then
- echo "[FAIL]"
-else
- echo "[PASS]"
-fi
--
2.39.2
next prev parent reply other threads:[~2024-06-02 13:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-02 13:24 [PATCH 1/2] selftests: arm64: tags_test: conform test to TAP output Muhammad Usama Anjum
2024-06-02 13:25 ` Muhammad Usama Anjum [this message]
2024-07-01 8:40 ` Muhammad Usama Anjum
2024-07-10 9:35 ` Muhammad Usama Anjum
2024-07-10 11:31 ` Catalin Marinas
2024-07-10 13:10 ` Mark Brown
2024-07-11 6:13 ` Muhammad Usama Anjum
2024-07-11 18:48 ` Catalin Marinas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240602132502.4186771-2-usama.anjum@collabora.com \
--to=usama.anjum@collabora.com \
--cc=catalin.marinas@arm.com \
--cc=kernel@collabora.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=shuah@kernel.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®