[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170802223142.20282-1-shuahkh@osg.samsung.com>
Date: Wed, 2 Aug 2017 16:31:42 -0600
From: Shuah Khan <shuahkh@....samsung.com>
To: dvhart@...radead.org, shuah@...nel.org
Cc: Shuah Khan <shuahkh@....samsung.com>, tglx@...utronix.de,
mingo@...hat.com, peterz@...radead.org,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
Subject: [PATCH] selftests: futex: fix run_tests target
make -C tools/testing/selftests/futex/ run_tests doesn't run the tests.
Running run_tests target only when $(OUTPUT) is the $(PWD) is incorrect.
When $(OUTPUT) is empty, run_tests will not run. Fix it.
Fixes: a8ba798bc8ec ("selftests: enable O and KBUILD_OUTPUT")
Signed-off-by: Shuah Khan <shuahkh@....samsung.com>
---
tools/testing/selftests/futex/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/futex/Makefile b/tools/testing/selftests/futex/Makefile
index e2fbb890aef9..7c647f619d63 100644
--- a/tools/testing/selftests/futex/Makefile
+++ b/tools/testing/selftests/futex/Makefile
@@ -14,7 +14,7 @@ all:
done
override define RUN_TESTS
- @if [ `dirname $(OUTPUT)` = $(PWD) ]; then ./run.sh; fi
+ $(OUTPUT)/run.sh
endef
override define INSTALL_RULE
--
2.11.0
Powered by blists - more mailing lists