NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
LTP
About[edit]
The LTP test suite is a collection of automated and semi-automated tests for testing various aspects of the Linux operating system. 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.
Visit the link InsideLTP for a brief description of contents of LTP test suite Visit ltp website for more information.
Source Download Location[edit]
Cross compiling[edit]
- Edit the following lines in the Makefile to point to the cross compiler and uncomment the lines.
- CROSS_COMPILER=$(CROSS_COMPILER_TOOL_CHAIN_PATH)-
Change to your tool chain path as per your installation.
- LDFLAGS=-static
- LOADLIBES=-lpthread -lc -lresolv -lnss_dns -lnss_files -lm -lc
- export LOADLIBES LIB_DIR
- Run make.
- Please note that you may not find some of the pre-requisite static libraries to exist as part of your toolchain. You can either cross compile the library for your platform or ignore some specific tests that are dependant on the libraries to start with.
- Dependancy:You may have to cross compile the libraries nss_dns and nss_files when using the code sourcery tool chain.
Test setup[edit]
- EVM booted up with NFS configuration.
- Copy the compiled LTP package to a NFS mounted path.
Execution[edit]
- Execute the script runltp. This shell script is part of the LTP release package you download.