diff --git a/commands/core/test.drush.inc b/commands/core/test.drush.inc
index bf286df..9b8b0a6 100644
--- a/commands/core/test.drush.inc
+++ b/commands/core/test.drush.inc
@@ -109,7 +109,7 @@ function drush_test_run($specs = NULL) {
     if (!drush_get_option('dirty')) {
       simpletest_clean_environment();
     }
-    return;
+    return drush_get_error();
   }
 
   // See if we got a list of specs.
