Hide metadata

dc.contributor.authorLillegård, Arild
dc.date.accessioned2020-11-30T14:18:30Z
dc.date.available2020-11-30T14:18:30Z
dc.date.issued2019
dc.identifier.citationLillegård, Arild. Adapting Linux Kernel Test Files to the Kernel Test Framework. Master thesis, University of Oslo, 2019
dc.identifier.urihttp://hdl.handle.net/10852/81239
dc.description.abstractFrequent testing of the Linux kernel is important to keep quality high. There are several tools and frameworks available for testing in user space. However, the support for unit testing in kernel space is lacking. Test files found in the kernel source tree invent incompatible features for error reporting, assertions and test output instead of using a common framework. The Kernel Test Framework (KTF) attempts to tackle this problem. In this thesis the framework was explored and evaluated. Four test files from the kernel source tree were examined and converted to the framework. The conversion process was approached in two ways: two test files were converted by a Python script developed for this purpose, and two other test files were manually edited. Comparisons with other frameworks were also made and discussed. The results showed that the framework can be used for all the four test files. Three test files worked well with the framework, but the fourth received less benefit from the framework due to its structure. Results also showed that a fully scripted conversion is possible using the Python script, but not for every test file. Weaknesses in the framework were identified and reported.eng
dc.language.isoeng
dc.subjectKernel Test Framework
dc.subjectTest files
dc.subjectLinux kernel
dc.subjectKTF
dc.subjectconversion
dc.titleAdapting Linux Kernel Test Files to the Kernel Test Frameworkeng
dc.typeMaster thesis
dc.date.updated2020-11-30T14:18:30Z
dc.creator.authorLillegård, Arild
dc.identifier.urnURN:NBN:no-84315
dc.type.documentMasteroppgave
dc.identifier.fulltextFulltext https://www.duo.uio.no/bitstream/handle/10852/81239/1/thesis_arild_lillegaard.pdf


Files in this item

Appears in the following Collection

Hide metadata