This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
realtime:documentation:howto:tools:ltp [2017/02/09 00:48] vedangpatel [Running testcases] |
realtime:documentation:howto:tools:ltp [2017/02/10 01:28] (current) vedangpatel [Installation] Change the code block from c to sh and change each command to start with '$>' instead of '#>' |
||
---|---|---|---|
Line 10: | Line 10: | ||
===== Installation ===== | ===== Installation ===== | ||
Following are the steps to quickly download ltp and build all the realtime related testcases: | Following are the steps to quickly download ltp and build all the realtime related testcases: | ||
- | <code c> | + | <code sh> |
- | #> git clone https://github.com/linux-test-project/ltp.git | + | $> git clone https://github.com/linux-test-project/ltp.git |
- | #> cd ltp | + | $> cd ltp |
- | #> make autotools | + | $> make autotools |
- | #> ./configure | + | $> ./configure |
- | #> cd testcases/realtime | + | $> cd testcases/realtime |
- | #> ./configure | + | $> ./configure |
- | #> make | + | $> make |
</code> | </code> | ||
Line 53: | Line 53: | ||
stress the I/O capabilities of systems and while they should not cause problems | stress the I/O capabilities of systems and while they should not cause problems | ||
on properly functioning systems, they are intended to find (or cause) problems. | on properly functioning systems, they are intended to find (or cause) problems. | ||
- | (Reference: https://github.com/linux-test-project/ltp/blob/master/README) | + | (Reference: [[https://github.com/linux-test-project/ltp/blob/master/README]]) |
</WRAP> | </WRAP> | ||
- | ./run.sh -t all -l 1 (At the time of writing, the switch for loops, -l, is advertised as optional in usage. But, it really isnt.) | + | <code sh> |
+ | # please make sure to include the '-l' argument even though it is specified as optional | ||
+ | # because there is a bug in ltp which throughs out a syntax error if the argument is not specified. | ||
+ | $> ./run.sh -t all -l 1 | ||
+ | </code> | ||
The user can also run functional, stress and performance test by providing ''func'', ''stress'' and ''perf'' as argument to -t switch respectively. | The user can also run functional, stress and performance test by providing ''func'', ''stress'' and ''perf'' as argument to -t switch respectively. |