]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
selftests: futex: fix run_tests target
authorShuah Khan <shuahkh@osg.samsung.com>
Wed, 2 Aug 2017 21:47:33 +0000 (15:47 -0600)
committerShuah Khan <shuahkh@osg.samsung.com>
Wed, 9 Aug 2017 16:16:24 +0000 (10:16 -0600)
commit7ba190be873a86b2b90a25daca93ca1ced6c4423
treeb6548ea9584f6049ec34e5e176d80700ff0590c9
parent8b0949d407431559f7c80a02f5382f5e1c77b8d1
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>
tools/testing/selftests/futex/Makefile