Hi,
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:
----<<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
<<<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?
--
Regards,
Shwetabh
------------------------------------------------------------------------------
Download Intel® 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