Index: scripts/run-tests.sh
===================================================================
RCS file: /cvs/drupal/drupal/scripts/run-tests.sh,v
retrieving revision 1.42
diff -u -p -r1.42 run-tests.sh
--- scripts/run-tests.sh	28 Sep 2010 02:30:32 -0000	1.42
+++ scripts/run-tests.sh	12 Oct 2010 17:42:40 -0000
@@ -55,14 +55,14 @@ foreach ($groups as $group => $tests) {
 }
 $test_list = array();
 
-if ($args['list']) {
+if ($args['list'] || $args['list-description']) {
   // Display all available tests.
   echo "\nAvailable test groups & classes\n";
   echo   "-------------------------------\n\n";
   foreach ($groups as $group => $tests) {
     echo $group . "\n";
     foreach ($tests as $class => $info) {
-      echo " - " . $info['name'] . ' (' . $class . ')' . "\n";
+      echo " - " . $info['name'] . ' (' . $class . ')' . ($args['list-description'] ? ' - ' . $info['description'] : '') . "\n";
     }
   }
   exit;
@@ -112,6 +112,11 @@ All arguments are long options.
 
   --list      Display all available test groups.
 
+  --list-description
+
+              Display all available test groups with the description for each
+              test case on the line below.
+
   --clean     Cleans up database tables or directories from previous, failed,
               tests and then exits (no tests are run).
 
@@ -172,6 +177,7 @@ function simpletest_script_parse_args() 
     'script' => '',
     'help' => FALSE,
     'list' => FALSE,
+    'list-description' => FALSE,
     'clean' => FALSE,
     'url' => '',
     'php' => '',
Index: modules/simpletest/simpletest.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/simpletest/simpletest.test,v
retrieving revision 1.46
diff -u -p -r1.46 simpletest.test
--- modules/simpletest/simpletest.test	28 Sep 2010 02:30:32 -0000	1.46
+++ modules/simpletest/simpletest.test	12 Oct 2010 17:42:40 -0000
@@ -16,10 +16,7 @@ class SimpleTestFunctionalTest extends D
   public static function getInfo() {
     return array(
       'name' => 'SimpleTest functionality',
-      'description' => 'Test SimpleTest\'s web interface: check that the intended tests were
-                          run and ensure that test reports display the intended results. Also
-                          test SimpleTest\'s internal browser and API\'s both explicitly and
-                          implicitly.',
+      'description' => 'Test SimpleTest\'s web interface: check that the intended tests were run and ensure that test reports display the intended results. Also test SimpleTest\'s internal browser and API\'s both explicitly and implicitly.',
       'group' => 'SimpleTest'
     );
   }
