LTP(Realtime Test Tree)

From RTwiki
(Difference between revisions)
Jump to: navigation, search
(Running All Tests)
(Remove Content)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Official Homepage of LTP Project is http://ltp.sourceforge.net.
+
<div style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1em; background-color:#f9e9e9; align:right;">
We can use RealtimeTest in entier directory of LTP Full source.
+
<b>This wiki is being migrated to the Linux Foundation Real-Time Linux Project hosted wiki. The new page is available at: https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/ltp. This page is now deprecated.</b>
 
+
</div>
= Tree info of Realtime Test Tree =
+
Below link is realtime testcase of LTP related tree informations. 
+
( I can not upload image file in this media wiki page. )
+
 
+
* http://photolog.blog.naver.com/common/util/imageZoom.jsp?url=http://blogfiles7.naver.net/data43/2009/4/1/22/realtimeltptreeinfo-invain.png
+
 
+
= Quick Howto =
+
The Linux™ Test Project is a joint project started by SGI™ and maintained by IBM®, that has a goal to deliver test suites to the open source community that validate the reliability, robustness, and stability of Linux. The LTP testsuite contains a collection of tools for testing the Linux kernel and related features.
+
 
+
== Installation ==
+
lgs-f11#> wget http://downloads.sourceforge.net/ltp/ltp-full-20090531.tgz
+
 
+
lgs-f11#> tar xvzf ltp-full-20090331.tgz
+
 
+
lgs-f11#> cd ltp-full-20090531
+
 
+
lgs-f11#> vi ./Makefile (If your architecture is not X86 , edit CROSS_COMPILE and LIB_DIR line).
+
 
+
lgs-f11#> yum -y install libcap libcap-devel
+
 
+
lgs-f11#> cd ./testcases/realtime
+
 
+
lgs-f11#> make
+
 
+
== Running ==
+
 
+
lgs-f11#> cd ./testcases/realtime
+
 
+
lgs-f11#> ./run.sh
+
 
+
lgs-f11#> ./run.sh  -t list
+
 
+
Available tests are:
+
./func/sched_football
+
./func/matrix_mult
+
./func/prio-preempt
+
./func/async_handler
+
./func/sched_jitter
+
./func/periodic_cpu_load
+
./func/pthread_kill_latency
+
./func/sched_latency
+
./func/pi_perf
+
./func/prio-wake
+
./func/thread_clock
+
./func/gtod_latency
+
./func/pi-tests
+
 
+
lgs-f11#> ./run.sh -t func/prio-wake -l 20
+
 
+
lgs-f11#> pushd func/prio-wake
+
 
+
lgs-f11#> ./run_auto.sh
+
 
+
lgs-f11#> ls ./logs/
+
 
+
lgs-f11#> popd
+
 
+
lgs-f11#> ./run.sh -t func
+
 
+
lgs-f11#> ./run.sh -t perf -l 3
+
 
+
lgs-f11#> ls ./logs/
+
 
+
=== Running All Tests ===
+
 
+
lgs-f11#> cd ./ltp-full-20090531
+
 
+
lgs-f11#> time ./runltp -o alltest -g alltest.html
+
 
+
lgs-f11#> firefox  ./output/alltest.html
+
 
+
== Report ==
+
 
+
lgs-f11#> ls ./output/
+
 
+
lgs-f11#> ls ./results/
+
 
+
lgs-f11#> ls ./logs
+

Latest revision as of 14:43, 17 July 2017

This wiki is being migrated to the Linux Foundation Real-Time Linux Project hosted wiki. The new page is available at: https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/ltp. This page is now deprecated.

Personal tools