Hi,

While browsing the 2.6.28 kernel sources, i found that there are some
test code for certain components that come with the Kernel Source Code.
I would like to know your opinion, whether these tests can be integrated
to LTP. I see the following benefits:

1) While most of the test engineers will be executing test suite(s),
rather than go and execute some tests organized here and there, so, it
makes sense to have as much tests in the test bucket of those test
suite(s), like LTP,
2) These test programs should probably in better shape as they are
written by the kernel developers themselves, and probably would be
pretty up-to-date,
3) We would probably hope to find issues more with the kernel(s) with
these set of tests.

Németh,

I found the following tests under the drivers directory. Can they be any
way be ported to work in the LTP environment ??

./drivers/rtc/rtc-test.c
./drivers/mmc/card/mmc_test.c
./drivers/usb/misc/usbtest.c
./drivers/md/raid6test/Makefile
./drivers/md/raid6test/test.c
./drivers/dma/dmatest.c
./drivers/net/sfc/selftest.c
./drivers/net/sfc/selftest.h

The other test programs are at:

./arch/m68k/mm/hwtest.c
./arch/m68k/ifpsp060/src/ftest.S
./arch/m68k/ifpsp060/src/itest.S
./arch/m68k/ifpsp060/TEST.DOC
./arch/m68k/ifpsp060/ftest.sa
./arch/m68k/ifpsp060/itest.sa
./arch/arm/lib/testchangebit.S
./arch/arm/lib/testsetbit.S
./arch/arm/lib/testclearbit.S
./arch/m68knommu/include/asm/hwtest.h
./arch/powerpc/lib/feature-fixups-test.S
./arch/x86/mm/pageattr-test.c
./arch/x86/mm/testmmiotrace.c
./arch/x86/mm/memtest.c
./arch/x86/kernel/test_rodata.c
./arch/x86/kernel/test_nx.c
./arch/cris/arch-v10/boot/rescue/testrescue.S
./kernel/trace/trace_selftest_dynamic.c
./kernel/trace/trace_selftest.c
./kernel/test_kprobes.c
./kernel/rtmutex-tester.c
./kernel/backtracetest.c
./scripts/rt-tester/check-all.sh
./scripts/rt-tester/rt-tester.py
./scripts/rt-tester/t4-l2-pi-deboost.tst
./scripts/rt-tester/t2-l1-2rt-sameprio.tst
./scripts/rt-tester/t3-l1-pi-3rt.tst
./scripts/rt-tester/t5-l4-pi-boost-deboost.tst
./scripts/rt-tester/t3-l1-pi-signal.tst
./scripts/rt-tester/t2-l1-pi.tst
./scripts/rt-tester/t3-l1-pi-steal.tst
./scripts/rt-tester/t5-l4-pi-boost-deboost-setsched.tst
./scripts/rt-tester/t3-l1-pi-1rt.tst
./scripts/rt-tester/t3-l2-pi.tst
./scripts/rt-tester/t2-l1-signal.tst
./scripts/rt-tester/t2-l2-2rt-deadlock.tst
./scripts/rt-tester/t3-l1-pi-2rt.tst
./lib/locking-selftest-rlock.h
./lib/locking-selftest-wlock.h
./lib/locking-selftest-spin-hardirq.h
./lib/locking-selftest-wlock-hardirq.h
./lib/locking-selftest-mutex.h
./lib/locking-selftest-rlock-hardirq.h
./lib/locking-selftest-rlock-softirq.h
./lib/locking-selftest-spin-softirq.h
./lib/locking-selftest-wsem.h
./lib/locking-selftest-hardirq.h
./lib/locking-selftest-spin.h
./lib/locking-selftest-wlock-softirq.h
./lib/locking-selftest-softirq.h
./lib/locking-selftest-rsem.h
./lib/locking-selftest.c
./crypto/testmgr.h
./crypto/testmgr.c
./include/asm-m68k/hwtest.h
./Documentation/power/drivers-testing.txt
./Documentation/ABI/testing/sysfs-gpio
./Documentation/ABI/testing/sysfs-bus-usb
./Documentation/ABI/testing/sysfs-block
./Documentation/ABI/testing/sysfs-ibft
./Documentation/ABI/testing/sysfs-dev
./Documentation/ABI/testing/sysfs-ocfs2
./Documentation/ABI/testing/sysfs-class-uwb_rc
./Documentation/ABI/testing/sysfs-bus-usb-devices-usbsevseg
./Documentation/ABI/testing/sysfs-profiling
./Documentation/ABI/testing/sysfs-devices
./Documentation/ABI/testing/sysfs-firmware-sgi_uv
./Documentation/ABI/testing/sysfs-devices-memory
./Documentation/ABI/testing/sysfs-kernel-uids
./Documentation/ABI/testing/sysfs-class-pktcdvd
./Documentation/ABI/testing/sysfs-bus-umc
./Documentation/ABI/testing/sysfs-c2port
./Documentation/ABI/testing/sysfs-class-regulator
./Documentation/ABI/testing/sysfs-class-bdi
./Documentation/ABI/testing/sysfs-power
./Documentation/ABI/testing/sysfs-bus-pci
./Documentation/ABI/testing/sysfs-wusb_cbaf
./Documentation/ABI/testing/sysfs-firmware-memmap
./Documentation/ABI/testing/sysfs-bus-css
./Documentation/ABI/testing/sysfs-class-usb_host
./Documentation/ABI/testing/procfs-diskstats
./Documentation/ABI/testing/sysfs-kernel-mm-hugepages
./Documentation/ABI/testing/debugfs-pktcdvd
./Documentation/ABI/testing/sysfs-kernel-mm
./Documentation/ABI/testing/sysfs-firmware-acpi
./Documentation/ABI/testing/sysfs-class
./Documentation/prctl/disable-tsc-test.c
./Documentation/prctl/disable-tsc-ctxt-sw-stress-test.c
./Documentation/prctl/disable-tsc-on-off-stress-test.c
./Documentation/spi/spidev_test.c
./Documentation/ia64/aliasing-test.c
./Documentation/watchdog/src/watchdog-test.c
./Documentation/connector/cn_test.c

Please note that there may be some other test programs that might exist
inside the kernel code. However, i was just able to find out through
grep for those whose name(s) contain the word test.

Regards--
Subrata



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to