Re: [PATCH 2/2] kgdb: Add kgdb internal test suite

From: Jason Wessel
Date: Mon Mar 10 2008 - 09:56:57 EST


Ingo Molnar wrote:
> * Jason Wessel <jason.wessel@xxxxxxxxxxxxx> wrote:
>
>> This patch adds regression tests for testing the kgdb core and arch
>> specific implementation.
>
> nice!
>
>> When using the "kgdbts=" you only choose one of the following core
>> test types:
>> A = Run all the core tests silently
>> V1 = Run all the core tests with minimal output
>> V2 = Run all the core tests in debug mode
>
> please also add a Kconfig way to activate them and let them be executed
> automatically upon bootup. If any test fails it should generate a
> WARN_ON() type of message (for automated testers to find).
>
> Ingo


Easy enough. I folded the attached patch into the original kgdbts
patch in the for_ingo branch.

Jason.

-----CLIP HERE-----