diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2017-08-02 15:47:33 -0600 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-08-09 10:16:24 -0600 |
commit | 7ba190be873a86b2b90a25daca93ca1ced6c4423 (patch) | |
tree | b6548ea9584f6049ec34e5e176d80700ff0590c9 /tools/testing/selftests/futex/Makefile | |
parent | 8b0949d407431559f7c80a02f5382f5e1c77b8d1 (diff) | |
download | linux-7ba190be873a86b2b90a25daca93ca1ced6c4423.tar.bz2 |
selftests: futex: fix run_tests target
make -C tools/testing/selftests/futex/ run_tests doesn't run the futex
tests.
Running the tests when `dirname $(OUTPUT)` == $(PWD) doesn't work when
the $(OUTPUT) is $(PWD) which is the case when the test is run using
make -C tools/testing/selftests/futex/ run_tests.
Fixes: a8ba798bc8ec ("selftests: enable O and KBUILD_OUTPUT")
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Reviewed-by: Darren Hart (VMware) <dvhart@infradead.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/futex/Makefile')
-rw-r--r-- | tools/testing/selftests/futex/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |