Merge "Set CTS Version to 4.0_r1" into ics-mr0
diff --git a/tools/tradefed-host/src/com/android/cts/tradefed/build/CtsBuildProvider.java b/tools/tradefed-host/src/com/android/cts/tradefed/build/CtsBuildProvider.java
index 2524281..f53507d 100644
--- a/tools/tradefed-host/src/com/android/cts/tradefed/build/CtsBuildProvider.java
+++ b/tools/tradefed-host/src/com/android/cts/tradefed/build/CtsBuildProvider.java
@@ -15,7 +15,6 @@
  */
 package com.android.cts.tradefed.build;
 
-import com.android.tradefed.build.BuildRetrievalError;
 import com.android.tradefed.build.FolderBuildInfo;
 import com.android.tradefed.build.IBuildInfo;
 import com.android.tradefed.build.IBuildProvider;
@@ -32,12 +31,13 @@
     @Option(name="cts-install-path", description="the path to the cts installation to use")
     private String mCtsRootDirPath = System.getProperty("CTS_ROOT");
 
-    public static final String CTS_BUILD_VERSION = "ICS_tradefed";
+    public static final String CTS_BUILD_VERSION = "4.0_r1";
 
     /**
      * {@inheritDoc}
      */
-    public IBuildInfo getBuild() throws BuildRetrievalError {
+    @Override
+    public IBuildInfo getBuild() {
         if (mCtsRootDirPath == null) {
             throw new IllegalArgumentException("Missing --cts-install-path");
         }
@@ -49,6 +49,7 @@
     /**
      * {@inheritDoc}
      */
+    @Override
     public void buildNotTested(IBuildInfo info) {
         // ignore
     }
@@ -56,6 +57,7 @@
     /**
      * {@inheritDoc}
      */
+    @Override
     public void cleanUp(IBuildInfo info) {
         // ignore
     }
diff --git a/tools/tradefed-host/src/com/android/cts/tradefed/command/CtsConsole.java b/tools/tradefed-host/src/com/android/cts/tradefed/command/CtsConsole.java
index 38effaa..72451f1 100644
--- a/tools/tradefed-host/src/com/android/cts/tradefed/command/CtsConsole.java
+++ b/tools/tradefed-host/src/com/android/cts/tradefed/command/CtsConsole.java
@@ -49,6 +49,12 @@
         super();
     }
 
+    @Override
+    public void run() {
+        printLine(String.format("Android CTS %s", CtsBuildProvider.CTS_BUILD_VERSION));
+        super.run();
+    }
+
     /**
      * Adds the 'list packages' and 'list plans' commands
      */
@@ -116,9 +122,6 @@
                 ADD_PATTERN));
     }
 
-    /**
-     * @return
-     */
     @Override
     protected String getConsolePrompt() {
         return "cts-tf > ";