LTP(Realtime Test Tree)

From RTwiki
(Difference between revisions)
Jump to: navigation, search
(Report)
(Installation)
 
(7 intermediate revisions by 2 users not shown)
Line 9: Line 9:
  
 
= 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 ==
 
lgs-f11#> wget http://downloads.sourceforge.net/ltp/ltp-full-20090531.tgz
 
lgs-f11#> wget http://downloads.sourceforge.net/ltp/ltp-full-20090531.tgz
Line 17: Line 19:
  
 
lgs-f11#> vi ./Makefile (If your architecture is not X86 , edit CROSS_COMPILE and LIB_DIR line).
 
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#> yum -y install libcap libcap-devel
Line 26: Line 32:
 
== Running ==
 
== Running ==
  
 +
lgs-f11#> cd ./testcases/realtime
  
./run.sh
+
lgs-f11#> ./run.sh
  
./run.sh  -t list
+
lgs-f11#> ./run.sh  -t list
  
 
  Available tests are:
 
  Available tests are:
 
 
  ./func/sched_football
 
  ./func/sched_football
 
  ./func/matrix_mult
 
  ./func/matrix_mult
Line 47: Line 53:
 
  ./func/pi-tests
 
  ./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/
  
./run.sh -t func/prio-wake -l 20
+
lgs-f11#> popd
  
pushd func/prio-wake
+
lgs-f11#> ./run.sh -t func
  
./run_auto.sh
+
lgs-f11#> ./run.sh -t perf -l 3
  
ls ./logs/
+
lgs-f11#> ls ./logs/
  
popd
+
=== Running All Tests ===
  
./run.sh -t func
+
lgs-f11#> cd ./ltp-full-20090531
  
./run.sh -t perf -l 3
+
lgs-f11#> time ./runltp -v -o alltest -g alltest.html
  
ls ./logs/
+
lgs-f11#> firefox  ./output/alltest.html
  
 
== Report ==
 
== Report ==
  
lgs-f11#> ls ./output/
+
lgs-f11#> ls ./output/
  
lgs-f11#> ls ./results/
+
lgs-f11#> ls ./results/
  
lgs-f11#> ls ./logs
+
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