[Fuego] [PATCH 07/18] LTP: reduce the time required for two more tests

Bird, Timothy Tim.Bird at sony.com
Wed Jan 31 05:00:01 UTC 2018


> -----Original Message-----
> From: Daniel Sangorrin
> 
> Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
> ---
>  engine/tests/Functional.LTP/fuego_test.sh | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/engine/tests/Functional.LTP/fuego_test.sh
> b/engine/tests/Functional.LTP/fuego_test.sh
> index 8278e98..ae85bac 100755
> --- a/engine/tests/Functional.LTP/fuego_test.sh
> +++ b/engine/tests/Functional.LTP/fuego_test.sh
> @@ -190,6 +190,8 @@ function test_run {
> 
>          # we patch them here because of the different phases
>          cmd "sed -i 's/^fork13 fork13 -i 1000000/fork13 fork13 -i 100000/'
> $LTP_DESTDIR/runtest/syscalls"
> +        cmd "sed -i 's/^dio30 diotest6 -b 65536 -n 100 -i 100 -o 1024000/dio30
> diotest6 -b 65536 -n 5 -i 100 -o 1024000/' $LTP_DESTDIR/runtest/dio"
> +        cmd "sed -i 's/^msgctl11 msgctl11/msgctl11 msgctl11 -n 5/'
> $LTP_DESTDIR/runtest/syscalls"

Can we make this dependent on some spec ARG, like
FUNCTIONAL_LTP_SHORT_RUN or something?
(other name suggestions are welcome.)

I think in general, quite a few tests would benefit from
having a spec that allowed for a shorter version of the test
to run.

> 
>          TESTS=""
>          PTSTESTS=""
> --
> 2.7.4
> 
> 
> _______________________________________________
> Fuego mailing list
> Fuego at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/fuego


More information about the Fuego mailing list