LTP(Realtime Test Tree)

From RTwiki
Revision as of 01:18, 19 June 2009 by Leemgs (Talk | contribs)

Jump to: navigation, search

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

Contents

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#> ./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

Personal tools