Skip to contentSkip to conversation

duplicated runltp options

LTP Cyril Hrubis 2 participants 3 messages Apr 26, 2016

lore
Share & tools
lore
#0 lore raw

Hi!
Looks like we overided the -T option for runltp in:

commit 5f71cf97d5753c5506cdf8287812f28e2fffe4aa

Author: Xiaoguang Wang <[email protected]>
Date:   Tue Sep 23 15:59:43 2014 +0800

runltp, pan/ltp-pan.c: record test cases(not fully tested) into file

And now the -T is listed twice in the options and in the case.

...
-T TCONFCMDFILE Command file with all test cases that are not fully tested.
...
-T REPETITION Execute the testsuite for REPETITION no. of times
...

And since nobody reported the problem so far, I guess that -T for repetition wasn't widely used. So I would like to fix that by renaming the -T REPETIONT to -I ITERATIONS. Does that sound reasonably?

Signature · 2 lines
Cyril Hrubis
[email protected]
#1 lore raw

----- Original Message -----

Quoted 23 lines

From: "Cyril Hrubis" <[email protected]>
To: [email protected]
Sent: Tuesday, 26 April, 2016 1:07:43 PM
Subject: [LTP] duplicated runltp options

Hi!
Looks like we overided the -T option for runltp in:

commit 5f71cf97d5753c5506cdf8287812f28e2fffe4aa

Author: Xiaoguang Wang <[email protected]>
Date:   Tue Sep 23 15:59:43 2014 +0800

runltp, pan/ltp-pan.c: record test cases(not fully tested) into file

And now the -T is listed twice in the options and in the case.

...

(quoted diff) +0 -2
-T TCONFCMDFILE Command file with all test cases that are not fully tested.
...
-T REPETITION   Execute the testsuite for REPETITION no. of times
...
Quoted 3 lines

And since nobody reported the problem so far, I guess that -T for repetition wasn't widely used. So I would like to fix that by renaming the -T REPETIONT to -I ITERATIONS. Does that sound reasonably?

It does to me, code seems to call it as "iteration" already:
echo "Test Tags will be Prepended with ITERATION NO.s....."

Quoted 8 lines

--
Cyril Hrubis
[email protected]

--
Mailing list info: https://lists.linux.it/listinfo/ltp

#2 lore raw

Hi!

Quoted 6 lines
Quoted 3 lines

And since nobody reported the problem so far, I guess that -T for repetition wasn't widely used. So I would like to fix that by renaming the -T REPETIONT to -I ITERATIONS. Does that sound reasonably?

It does to me, code seems to call it as "iteration" already:
echo "Test Tags will be Prepended with ITERATION NO.s....."

Fix pushed.

Signature · 2 lines
Cyril Hrubis
[email protected]