1. 27 Feb, 2012 1 commit
    • Steven Rostedt's avatar
      ktest: Fix make_min_config test when build fails · bf1c95ab
      Steven Rostedt authored
      The make_min_config does not take into account when the build fails,
      resulting in a invalid MIN_CONFIG .config file. When the build fails,
      it is ignored and the boot test is executed, using the previous built
      kernel. The configs that should be tested are not tested and they may
      be added or removed depending on the result of the last kernel that
      succeeded to be built.
      
      If the build fails, mark the current config as a failure and the
      configs that were disabled may still be needed.
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      bf1c95ab
  2. 05 Jan, 2012 2 commits
    • Steven Rostedt's avatar
      ktest: Add INGORE_ERRORS to ignore warnings in boot up · be405f95
      Steven Rostedt authored
      When testing a kernel that has warnings, ktest.pl will fail the test
      when it sees the warning. If you need to test the the kernel and want
      to ignore the errors that are produced, the option IGNORE_ERRORS has
      been added. When IGNORE_ERRORS is set to something other than 0, it will
      ignore call traces due to WARN_ON().
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      be405f95
    • Steven Rostedt's avatar
      ktest: Still do reboot even for REBOOT_TYPE = script · 96f6a0df
      Steven Rostedt authored
      The REBOOT_TYPE may be either grub or script, if it is script
      it is expected that a REBOOT_SCRIPT is defined.
      
      With the SWITCH_TO_TEST which is the complement of SWITCH_TO_GOOD,
      which does basically the same thing as REBOOT_SCRIPT and but for
      both grub and script, the REBOOT_SCRIPT does not need to be mandatory
      anymore.
      
      Do not require the REBOOT_SCRIPT and always run the reboot code
      for both grub and script.
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      96f6a0df
  3. 23 Dec, 2011 13 commits
  4. 23 Nov, 2011 1 commit
    • Steven Rostedt's avatar
      ktest: When creating new config, allow the use of ${THIS_DIR} · 0e7a22de
      Steven Rostedt authored
      Typing in a full path when you know that the path exists within
      the directory your are running is tedious and unnecessary.
      
      Allow the user to use ${PWD} if they want a dynamic path name
      which will be the path that ktest.pl is executed from
      or use ${THIS_DIR} which is a variable assigned `pwd` and
      the the variable will exist within the config, allowing the user
      to change it and affect all other paths using this variable as well
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      0e7a22de
  5. 22 Nov, 2011 1 commit
    • Steven Rostedt's avatar
      ktest: Add default for ssh-user, build-target and target-image · 600bbf0a
      Steven Rostedt authored
      When a user runs ktest without an argument, or the argument given
      is not a config file that exists, ktest will ask the user a few
      questions to create a simple ktest config file.
      
      A few of the questions should have a default value set, that if anything
      it will make it easier for the user to know what is suppose to
      be in that value.
      
      These new values are:
      
        SSH_USER, BUILD_TARGET and TARGET_IMAGE
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      600bbf0a
  6. 18 Nov, 2011 3 commits
  7. 15 Nov, 2011 7 commits
  8. 14 Nov, 2011 7 commits
  9. 13 Nov, 2011 1 commit
  10. 12 Nov, 2011 4 commits