Re: [PATCH] selftests: futex: delete RUN_TESTS and EMIT_TESTS overrides
From: Anders Roxell
Date: Wed May 09 2018 - 06:16:26 EST
On 2018-05-02 15:18, Shuah Khan (Samsung OSG) wrote:
> Delete RUN_TESTS and EMIT_TESTS overrides and use common defines in
> lib.mk. Common defines work just fine and there is no need to define
> custom overrides.
>
> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@xxxxxxxxxx>
Reviewed-by: Anders Roxell <anders.roxell@xxxxxxxxxx>
> ---
> tools/testing/selftests/futex/Makefile | 12 ------------
> 1 file changed, 12 deletions(-)
>
> diff --git a/tools/testing/selftests/futex/Makefile b/tools/testing/selftests/futex/Makefile
> index 8497a376ef9d..12631f0076a1 100644
> --- a/tools/testing/selftests/futex/Makefile
> +++ b/tools/testing/selftests/futex/Makefile
> @@ -17,14 +17,6 @@ all:
> fi \
> done
>
> -override define RUN_TESTS
> - @export KSFT_TAP_LEVEL=`echo 1`;
> - @echo "TAP version 13";
> - @echo "selftests: futex";
> - @echo "========================================";
> - @cd $(OUTPUT); ./run.sh
> -endef
> -
> override define INSTALL_RULE
> mkdir -p $(INSTALL_PATH)
> install -t $(INSTALL_PATH) $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES)
> @@ -36,10 +28,6 @@ override define INSTALL_RULE
> done;
> endef
>
> -override define EMIT_TESTS
> - echo "./run.sh"
> -endef
> -
> override define CLEAN
> @for DIR in $(SUBDIRS); do \
> BUILD_TARGET=$(OUTPUT)/$$DIR; \
> --
> 2.14.1
>