Commit 7ba190be authored by Shuah Khan's avatar Shuah Khan

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: a8ba798b ("selftests: enable O and KBUILD_OUTPUT")
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
Reviewed-by: default avatarDarren Hart (VMware) <dvhart@infradead.org>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 8b0949d4
...@@ -14,7 +14,7 @@ all: ...@@ -14,7 +14,7 @@ all:
done done
override define RUN_TESTS override define RUN_TESTS
@if [ `dirname $(OUTPUT)` = $(PWD) ]; then ./run.sh; fi $(OUTPUT)/run.sh
endef endef
override define INSTALL_RULE override define INSTALL_RULE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment