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