aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing
Commit message (Collapse)AuthorAge
* ktest: Add POST_INSTALL to allow initrds to be createdSteven Rostedt2010-11-18
| | | | | | | | | | | Add a POST_INSTALL option that runs after the build and install but before rebooting to the test kernel. This alls the user to run a script that will install an initrd (or anything else that may be special) before booting. An environment variable KERNEL_VERSION is set. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* ktest: Added sample.conf, new %default option formatSteven Rostedt2010-11-18
| | | | | | | | | Added sample.conf as a nice document to show new users. Use a %default hash to separate out the options that are default and allow us to complain about options being set twice. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* ktest: Add open and close console and start stop monitorSteven Rostedt2010-11-18
| | | | | | | | | | It is much better to keep the monitor running throughout a test than to constantly start and stop it. Some console readers will show everything that has happened before when opening the console, and by opening it several times, causes the old content to be read multiple times in a single test. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* ktest: Added continuing on success, clear log and timeoutSteven Rostedt2010-11-18
| | | | | | | | | | Add option to continue after a test fails. Add option to reset the log at start of running ktest. Update default timeout to 2 minutes. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* ktest: Add reverse bisect, better logging, copyrightSteven Rostedt2010-11-18
| | | | | | | | | | Added the ability to do a reverse bisect. Better logging of running commands. Added the copyright statement. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* ktest: Added patchcheckSteven Rostedt2010-11-18
| | | | | | | Added patchcheck functionality. It will checkout a given SHA1 and test that commit and all commits to another given SHA1. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* ktest: Added reboot on successSteven Rostedt2010-11-18
| | | | Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* ktest: Added better console, add test buildSteven Rostedt2010-11-18
| | | | | | | | Better reading of the console. Added running a script to do testing after build succeeds. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* ktest: Bisecting, install modules, add loggingSteven Rostedt2010-11-18
| | | | | | | Added bisecting, modules, logging of the output. Banners that show success. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* ktest: New features reboot on error, make optionsSteven Rostedt2010-11-18
| | | | | | | | | | REBOOT_ON_ERROR to reboot the box on error BUILD_OPTIONS to add options to the make build (like -j40) Added "useconfig:<config>". Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* ktest: New features: noclean, dodie, poweroff on error and successSteven Rostedt2010-11-18
| | | | | | | | | | | | Added dodie function to have a bit more control over die calls. BUILD_NOCLEAN to not run make mrproper or remove .config. POWEROFF_ON_{SUCCESS,ERROR} to turn off the power after tests. Skip backtrace calls that were done by the backtrace tests. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* Initial start of ktest.plSteven Rostedt2010-11-18
Originally named autotest.pl, but renamed to ktest.pl now because the autotest name is used by other projects. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>