LTP(Realtime Test Tree)

From RTwiki
(Difference between revisions)
Jump to: navigation, search
(Official Homepage of LTP Project)
 
(Installation)
 
(15 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
= Tree info of Realtime Test Tree =
 
= Tree info of Realtime Test Tree =
 
Below link is realtime testcase of LTP related tree informations.   
 
Below link is realtime testcase of LTP related tree informations.   
( I can not uploae image file in this media wiki page. )
+
( 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
 
  * http://photolog.blog.naver.com/common/util/imageZoom.jsp?url=http://blogfiles7.naver.net/data43/2009/4/1/22/realtimeltptreeinfo-invain.png
  
 
= Quick Howto =
 
= 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 ==
 
== Installation ==
#> wget http://downloads.sourceforge.net/ltp/ltp-full-20090331.tgz
+
lgs-f11#> wget http://downloads.sourceforge.net/ltp/ltp-full-20090531.tgz
#> tar xvzf ltp-full-20090331.tgz
+
 
#> cd ltp=full-20090331
+
lgs-f11#> tar xvzf ltp-full-20090331.tgz
#> vi ./Makefile (If your architecture is not X86 , edit CROSS_COMPILE and LIB_DIR line).
+
 
#> make
+
lgs-f11#> cd ltp-full-20090531
#> make install
+
 
 +
lgs-f11#> vi ./Makefile (If your architecture is not X86 , edit CROSS_COMPILE and LIB_DIR line).
 +
 
 +
lgs-f11#> ./configure
 +
 
 +
lgs-f11#> make
 +
 
 +
lgs-f11#> yum -y install libcap libcap-devel
 +
 
 +
lgs-f11#> cd ./testcases/realtime
 +
 
 +
lgs-f11#> make
  
 
== Running ==
 
== Running ==
#> ./runalltests.sh -p -q -l result-geunsik-all.log
+
 
  #> ./runltp -i 1024 -m 128 -p -q -l /tmp/resultlog.377 -d /usr/ltp
+
lgs-f11#> cd ./testcases/realtime
#> ./runltplite.sh -i 1024 -m 128 -p -q 1l /tmp/resultlog.383 -d /usr/ltp
+
 
 +
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 -v -o alltest -g alltest.html
 +
 
 +
lgs-f11#> firefox  ./output/alltest.html
  
 
== Report ==
 
== Report ==
#> cat result/result-geunsik-all.log
+
 
 +
lgs-f11#> ls ./output/
 +
 
 +
lgs-f11#> ls ./results/
 +
 
 +
lgs-f11#> ls ./logs

Latest revision as of 12:16, 15 February 2010

Official Homepage of LTP Project is http://ltp.sourceforge.net. We can use RealtimeTest in entier directory of LTP Full source.

Contents

[edit] 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

[edit] 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.

[edit] 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#> ./configure

lgs-f11#> make

lgs-f11#> yum -y install libcap libcap-devel

lgs-f11#> cd ./testcases/realtime

lgs-f11#> make

[edit] 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/

[edit] Running All Tests

lgs-f11#> cd ./ltp-full-20090531

lgs-f11#> time ./runltp -v -o alltest -g alltest.html

lgs-f11#> firefox ./output/alltest.html

[edit] Report

lgs-f11#> ls ./output/

lgs-f11#> ls ./results/

lgs-f11#> ls ./logs

Personal tools