lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 7 Apr 2020 17:19:04 -0600
From:   shuah <shuah@...nel.org>
To:     tbird20d@...il.com
Cc:     linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
        tim.bird@...y.com, shuah <shuah@...nel.org>
Subject: Re: [PATCH] selftests: add 'show_targets' make target

On 3/13/20 4:23 PM, tbird20d@...il.com wrote:
> From: Tim Bird <tim.bird@...y.com>
> 
> It is useful for CI systems to be able to query the list
> of targets provided by kselftest by default, so that they
> can construct their own loop over the targets if desired.
> 
> Signed-off-by: Tim Bird <tim.bird@...y.com>
> ---
>   tools/testing/selftests/Makefile | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile
> index 63430e2..9955e71 100644
> --- a/tools/testing/selftests/Makefile
> +++ b/tools/testing/selftests/Makefile
> @@ -246,4 +246,7 @@ clean:
>   		$(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean;\
>   	done;
>   
> +show_targets:
> +	@echo $(TARGETS)
> +
>   .PHONY: khdr all run_tests hotplug run_hotplug clean_hotplug run_pstore_crash install clean
> 

Hi Tim,

It is useful addition. Output is hard to read though. It would
be helpful to improve the printing targets.

make -C tools/testing/selftests/ show_targets
make: Entering directory '/lkml/linux_5.7/tools/testing/selftests'
android arm64 bpf breakpoints capabilities cgroup clone3 cpufreq 
cpu-hotplug drivers/dma-buf efivarfs exec filesystems 
filesystems/binderfs filesystems/epoll firmware ftrace futex gpio 
intel_pstate ipc ir kcmp kexec kvm lib livepatch lkdtm membarrier memfd 
memory-hotplug mount mqueue net net/forwarding net/mptcp netfilter nsfs 
pidfd pid_namespace powerpc proc pstore ptrace openat2 rseq rtc seccomp 
sigaltstack size sparc64 splice static_keys sync sysctl timens timers 
tmpfs tpm2 user vm x86 zram

thanks,
-- Shuah

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ