aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/ktest/examples
Commit message (Collapse)AuthorAge
* ktest: Add make_warnings_file and process full warningsSteven Rostedt (Red Hat)2013-01-31
| | | | | | | | | | | | | | | | | | | | | | | | Although the patchcheck test checks for warnings in the files that were changed, this check does not catch warnings that were caused by header file changes and the warnings appear in C files not touched by the commit. Add a new option called WARNINGS_FILE. If this option is set, then the file it points to is read before bulid, and the file should contain a list of known warnings. If a warning appears in the build, this file is checked, and if the warning does not exist in this file, then it fails the build showing the new warning. If the WARNINGS_FILE points to a file that does not exist, this will cause any warning in the build to fail. A new test is also added called "make_warnings_file". This test will create do a build and record any warnings it finds into the WARNINGS_FILE. This test is something that can be run before other tests to build a warnings file of "known warnings", ie, warnings that were there before your changes. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* tools/testing: fix comment / output typosMasanari Iida2012-09-01
| | | | | | | Correct spelling typo in tools/testing Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* ktest: Add README to explain what is in the examples directorySteven Rostedt2012-05-22
| | | | | | | Add a README that explains what the different example configs in the ktest example directory are about. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* ktest: Add the snowball.conf example configSteven Rostedt2012-05-22
| | | | | | | | | | I used the snowball.conf in a live demo that demonstrated how to use ktest.pl with a snowball ARM board. I've been asked to included that config in the ktest repository. Here it is. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* ktest: Add an example config that does cross compiling of several archsSteven Rostedt2012-05-22
| | | | | | | | | | | | Add the config that I use to test several archs. I downloaded several cross compilers from: http://kernel.org/pub/tools/crosstool/files/bin/x86_64/ and this config is an example to crosscompile several archs to make sure that your changes do not break archs that you are not working on. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* ktest: Add kvm.conf example configSteven Rostedt2012-05-22
| | | | | | | Add an example config that explains how to use ktest with a virtual guest as the target. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* ktest: Add useful example configsSteven Rostedt2012-05-22
I've been asked several times to provide more useful example configs for ktest.pl, as the sample.conf is too complex (because it explains all configs). This adds configs broken up by use case, and these configs are based on actual configs that I use on a daily basis. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>