All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [RFC] Unique test case ids in runtest files ?
@ 2018-09-13 14:44 Stanislav Kholmanskikh
  2018-09-13 14:44 ` [LTP] [RFC PATCH 1/5] Remove the pipes runtest file Stanislav Kholmanskikh
                   ` (5 more replies)
  0 siblings, 6 replies; 20+ messages in thread
From: Stanislav Kholmanskikh @ 2018-09-13 14:44 UTC (permalink / raw)
  To: ltp

Hi!

Here is a list of test cases which are referenced in
scenario_groups/default multiple times:

cve-2012-0957
cve-2016-4997
cve-2017-5669
cve-2017-6951
keyctl01
move_pages01
move_pages02
move_pages03
move_pages04
move_pages05
move_pages06
move_pages07
move_pages08
move_pages09
move_pages10
move_pages11
move_pages12
pipeio_1
#pipeio_2
pipeio_3
pipeio_4
pipeio_5
pipeio_6
#pipeio_7
pipeio_8
sched_getattr01
sched_getattr02
sched_setattr01
sysctl01
unshare01

I.e. if we run LTP with the default scenario then
 1) most of the test cases above are executed twice.
 2) keyctl01, sysctl01, unshare01 are executed twice.
    Each time they actually point to a different binary/command.

This causes some ambiguity in parsing LTP output logs/results,
especially in group 2.

The proposed solution to this problem is
 a) let tests of group 1 be defined only in one runtest file (referenced
    by the default scenario file)
 b) rename tests of group2

The issue is not new, and it actually hit me only after keyctl01, sysctl01,
unshare01 were introduced in runtest/commands.

It's no doubt, that other names are required for that keyctl01, sysctl01,
unshare01 (be it b) or another patch). However, changes in a)
are more questionable.

I'd like to hear your opinion about this approach.

Thanks a lot.
 

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

end of thread, other threads:[~2018-10-08 10:16 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-13 14:44 [LTP] [RFC] Unique test case ids in runtest files ? Stanislav Kholmanskikh
2018-09-13 14:44 ` [LTP] [RFC PATCH 1/5] Remove the pipes runtest file Stanislav Kholmanskikh
2018-10-02 13:12   ` Cyril Hrubis
2018-09-13 14:44 ` [LTP] [RFC PATCH 2/5] runtest/syscalls: rename CVE test cases Stanislav Kholmanskikh
2018-10-02 12:53   ` Cyril Hrubis
2018-10-02 16:19     ` Stanislav Kholmanskikh
2018-10-08  9:52     ` Stanislav Kholmanskikh
2018-10-08 10:16       ` Cyril Hrubis
2018-09-13 14:44 ` [LTP] [RFC PATCH 3/5] runtest/sched: removed sched_{set, get}attr " Stanislav Kholmanskikh
2018-10-02 12:55   ` Cyril Hrubis
2018-09-13 14:44 ` [LTP] [RFC PATCH 4/5] runtest/commands: adjust names for keyctl01, sysctl01, unshare01 Stanislav Kholmanskikh
2018-10-02 13:03   ` Cyril Hrubis
2018-10-02 16:21     ` Stanislav Kholmanskikh
2018-10-03  7:42       ` Cyril Hrubis
2018-10-08  9:01         ` Stanislav Kholmanskikh
2018-10-08  9:02           ` Cyril Hrubis
2018-09-13 14:44 ` [LTP] [RFC PATCH 5/5] runtest/numa: remove move_pages* test cases Stanislav Kholmanskikh
2018-10-02 13:09   ` Cyril Hrubis
2018-10-02 16:25     ` Stanislav Kholmanskikh
2018-10-02 12:51 ` [LTP] [RFC] Unique test case ids in runtest files ? 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.