All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/2] Add support for a test tags
@ 2019-10-14 11:25 Cyril Hrubis
  2019-10-14 11:25 ` [LTP] [PATCH 1/2] lib: Add support for " Cyril Hrubis
  2019-10-14 11:25 ` [LTP] [PATCH 2/2] testcases/kernel: Add linux git and CVE tags Cyril Hrubis
  0 siblings, 2 replies; 16+ messages in thread
From: Cyril Hrubis @ 2019-10-14 11:25 UTC (permalink / raw)
  To: ltp

This is a newest version of the test tags, first patch adds a support
for test tags to a test library, the second one annotates tests with
tags. Not everything is annotated at the moment but fair amount of tests
is included.

These patches are also a stepping stone for the test metadata project
that will allow us to do much more than this. You can have a look at:

https://github.com/metan-ucw/ltp/tree/master/docparse

Also if you run a make in the docparse directory it will generate test
metadata along with a single html page with nice test metadata
description.

While the whole project is work-in-progress, the test tags are finished
and may add a value even without the rest of the changes, see the first
commit for details.

Cyril Hrubis (2):
  lib: Add support for test tags
  testcases/kernel: Add tags

 include/tst_test.h                            | 10 +++
 lib/tst_test.c                                | 77 +++++++++++++++++--
 testcases/cve/cve-2014-0196.c                 |  5 ++
 testcases/cve/cve-2015-3290.c                 |  5 ++
 testcases/cve/cve-2016-10044.c                |  5 ++
 testcases/cve/cve-2016-7042.c                 |  5 ++
 testcases/cve/cve-2016-7117.c                 |  5 ++
 testcases/cve/cve-2017-16939.c                |  5 ++
 testcases/cve/cve-2017-17052.c                |  5 ++
 testcases/cve/cve-2017-17053.c                |  5 ++
 testcases/cve/cve-2017-2618.c                 |  5 ++
 testcases/cve/cve-2017-2671.c                 |  5 ++
 testcases/cve/meltdown.c                      |  6 +-
 testcases/cve/stack_clash.c                   |  4 +
 testcases/kernel/crypto/af_alg01.c            |  5 ++
 testcases/kernel/crypto/af_alg02.c            |  5 ++
 testcases/kernel/crypto/af_alg03.c            |  4 +
 testcases/kernel/crypto/af_alg04.c            |  4 +
 testcases/kernel/crypto/af_alg05.c            |  8 +-
 testcases/kernel/crypto/af_alg06.c            |  4 +
 testcases/kernel/crypto/crypto_user01.c       |  6 ++
 testcases/kernel/crypto/crypto_user02.c       |  4 +
 testcases/kernel/crypto/pcrypt_aead01.c       |  5 ++
 testcases/kernel/sound/snd_timer01.c          |  6 ++
 testcases/kernel/syscalls/accept/accept02.c   |  5 ++
 testcases/kernel/syscalls/acct/acct02.c       |  4 +
 testcases/kernel/syscalls/add_key/add_key02.c |  5 ++
 testcases/kernel/syscalls/bpf/bpf_prog02.c    |  4 +
 .../syscalls/futex/futex_cmp_requeue02.c      |  5 ++
 testcases/kernel/syscalls/keyctl/keyctl02.c   |  4 +
 testcases/kernel/syscalls/keyctl/keyctl04.c   |  5 ++
 testcases/kernel/syscalls/keyctl/keyctl05.c   |  4 +
 .../kernel/syscalls/move_pages/move_pages12.c |  6 ++
 .../kernel/syscalls/realpath/realpath01.c     |  4 +
 .../syscalls/request_key/request_key05.c      |  4 +
 testcases/kernel/syscalls/sbrk/sbrk03.c       |  4 +
 testcases/kernel/syscalls/sendto/sendto02.c   |  4 +
 .../kernel/syscalls/setrlimit/setrlimit06.c   |  4 +
 38 files changed, 251 insertions(+), 9 deletions(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 16+ messages in thread
* [LTP] [PATCH 0/2] Add support for a test tags
@ 2019-10-14 11:23 Cyril Hrubis
  2019-10-14 11:23 ` [LTP] [PATCH 2/2] testcases/kernel: Add linux git and CVE tags Cyril Hrubis
  0 siblings, 1 reply; 16+ messages in thread
From: Cyril Hrubis @ 2019-10-14 11:23 UTC (permalink / raw)
  To: ltp

From: Cyril Hrubis <chrubis@suse.cz>

This is a newest version of the test tags, first patch adds a support
for test tags to a test library, the second one annotates tests with
tags. Not everything is annotated at the moment but fair amount of tests
is included.

These patches are also a stepping stone for the test metadata project
that will allow us to do much more than this. You can have a look at:

https://github.com/metan-ucw/ltp/tree/master/docparse

Also if you run a make in the docparse directory it will generate test
metadata along with a single html page with nice test metadata
description.

While the whole project is work-in-progress, the test tags are finished
and may add a value even without the rest of the changes, see the first
commit for details.

Cyril Hrubis (2):
  lib: Add support for test tags
  testcases/kernel: Add tags

 include/tst_test.h                            | 10 +++
 lib/tst_test.c                                | 77 +++++++++++++++++--
 testcases/cve/cve-2014-0196.c                 |  5 ++
 testcases/cve/cve-2015-3290.c                 |  5 ++
 testcases/cve/cve-2016-10044.c                |  5 ++
 testcases/cve/cve-2016-7042.c                 |  5 ++
 testcases/cve/cve-2016-7117.c                 |  5 ++
 testcases/cve/cve-2017-16939.c                |  5 ++
 testcases/cve/cve-2017-17052.c                |  5 ++
 testcases/cve/cve-2017-17053.c                |  5 ++
 testcases/cve/cve-2017-2618.c                 |  5 ++
 testcases/cve/cve-2017-2671.c                 |  5 ++
 testcases/cve/meltdown.c                      |  6 +-
 testcases/cve/stack_clash.c                   |  4 +
 testcases/kernel/crypto/af_alg01.c            |  5 ++
 testcases/kernel/crypto/af_alg02.c            |  5 ++
 testcases/kernel/crypto/af_alg03.c            |  4 +
 testcases/kernel/crypto/af_alg04.c            |  4 +
 testcases/kernel/crypto/af_alg05.c            |  8 +-
 testcases/kernel/crypto/af_alg06.c            |  4 +
 testcases/kernel/crypto/crypto_user01.c       |  6 ++
 testcases/kernel/crypto/crypto_user02.c       |  4 +
 testcases/kernel/crypto/pcrypt_aead01.c       |  5 ++
 testcases/kernel/sound/snd_timer01.c          |  6 ++
 testcases/kernel/syscalls/accept/accept02.c   |  5 ++
 testcases/kernel/syscalls/acct/acct02.c       |  4 +
 testcases/kernel/syscalls/add_key/add_key02.c |  5 ++
 testcases/kernel/syscalls/bpf/bpf_prog02.c    |  4 +
 .../syscalls/futex/futex_cmp_requeue02.c      |  5 ++
 testcases/kernel/syscalls/keyctl/keyctl02.c   |  4 +
 testcases/kernel/syscalls/keyctl/keyctl04.c   |  5 ++
 testcases/kernel/syscalls/keyctl/keyctl05.c   |  4 +
 .../kernel/syscalls/move_pages/move_pages12.c |  6 ++
 .../kernel/syscalls/realpath/realpath01.c     |  4 +
 .../syscalls/request_key/request_key05.c      |  4 +
 testcases/kernel/syscalls/sbrk/sbrk03.c       |  4 +
 testcases/kernel/syscalls/sendto/sendto02.c   |  4 +
 .../kernel/syscalls/setrlimit/setrlimit06.c   |  4 +
 38 files changed, 251 insertions(+), 9 deletions(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-10-17  8:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-14 11:25 [LTP] [PATCH 0/2] Add support for a test tags Cyril Hrubis
2019-10-14 11:25 ` [LTP] [PATCH 1/2] lib: Add support for " Cyril Hrubis
2019-10-15  5:12   ` Li Wang
2019-10-15  7:42     ` Richard Palethorpe
2019-10-15  9:57       ` Cyril Hrubis
2019-10-15  9:54     ` Cyril Hrubis
2019-10-16 13:30   ` Petr Vorel
2019-10-16 14:46     ` Cyril Hrubis
2019-10-16 19:43       ` Petr Vorel
2019-10-14 11:25 ` [LTP] [PATCH 2/2] testcases/kernel: Add linux git and CVE tags Cyril Hrubis
2019-10-15  4:54   ` Li Wang
2019-10-15  9:52     ` Cyril Hrubis
2019-10-16 13:21       ` Petr Vorel
2019-10-17  3:22         ` Li Wang
2019-10-17  8:38         ` Jan Stancek
  -- strict thread matches above, loose matches on Subject: below --
2019-10-14 11:23 [LTP] [PATCH 0/2] Add support for a test tags Cyril Hrubis
2019-10-14 11:23 ` [LTP] [PATCH 2/2] testcases/kernel: Add linux git and CVE tags Cyril Hrubis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.