Hi,

On Wed, Mar 3, 2010 at 2:35 AM, Shwetabh <[email protected]> wrote:
>
> In recent ltp releases, I see quite a few test cases breaking since
> their required tools
> are not being copied over to /opt/ltp/testcases/. I believe this
> behaviour started since
> ltp started compiling and copying the files to /opt/ltp. Here is an example:

Please provide more concrete examples and patches wherever possible.
We'll get it fixed as soon as feasibly possible, but it helps if
others contribute back as well. Also, not providing examples is
counterproductive and I won't waste my time worrying about issues that
supposedly exist if I don't have a means to reproduce the problem, or
at least a fundamental understanding of what the problem is.

> ----<<snip>>-----------
> remove test cases which require the block device.
> You can specify it with option -b
> COMMAND:    /opt/ltp/bin/ltp-pan  -e -S   -a 27204     -n 27204  -p  -f
> /tmp/ltp-gcfmm27210/alltests -l
> /opt/ltp/results/LTP_RUN_ON-2010_Mar_02-22h_24m_38s.log  -C
> /opt/ltp/output/LTP_RUN_ON-2010_Mar_02-22h_24m_38s.failed
> LOG File: /opt/ltp/results/LTP_RUN_ON-2010_Mar_02-22h_24m_38s.log
> FAILED COMMAND File:
> /opt/ltp/output/LTP_RUN_ON-2010_Mar_02-22h_24m_38s.failed
> Running tests.......
> <<<test_start>>>
> tag=CPUHOTPLUG stime=1267586681
> cmdline="(cd $LTPROOT/testcases/kernel/hotplug/cpu_hotplug/; ./runtests.sh)"
> contacts=""
> analysis=exit
> <<<test_output>>>
> incrementing stop
> sh: line 0: cd: /opt/ltp/testcases/kernel/hotplug/cpu_hotplug/: No such
> file or directory
> sh: ./runtests.sh: No such file or directory

And the reason why this is failing is that
/opt/ltp/testcases/kernel/hotplug/cpu_hotplug doesn't exist; the test
still works -- it's just the runtest file itself that's broken. The
tests haven't been touched for months, if not almost 2 years...

> <<<execution_status>>>
> initiation_status="ok"
> duration=0 termination_type=exited termination_id=127 corefile=no
> cutime=0 cstime=0
> <<<test_end>>>
> INFO: ltp-pan reported some tests FAIL
> LTP Version: LTP-20100228
>
>        ###############################################################"
>
>             Done executing testcases."
>             LTP Version:  LTP-20100228
>        ###############################################################"
>
> [r...@localhost runtest]# cd /opt/ltp/testcases/
> [r...@localhost testcases]# ls
> bin  data
> [r...@localhost testcases]# pwd
> /opt/ltp/testcases
> [r...@localhost testcases]# ls -l
> total 76
> drwxr-xr-x 7 root root 69632 Mar  2 22:24 bin
> drwxr-xr-x 2 root root  4096 Mar  2 22:19 data
>
> --------------------
>
> Please advice if I am doing something wrong here. Do I manually have to
> copy the tools from tarballs' testcases/kernel directory?
> If so, shouldn't this be done by make install?

Just leave it as-is and execute like before, or feel free to submit
patches to fix this (it's a non-blocking issue so it's not a high
priority on my list to `fix').

Thanks,
-Garrett

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to