Autotest packaging changes.

1. Autotest is now installed in /usr/loca/autotest
2. We only install the client
3. system tests are updated to reflect the change.
4. added an example test case
5. added a couple fixes to the dev server
6. Moved the debian packaging for the system tests one level up in the hierarchy so we can have systems/ instead of systemtests/site_tests/

Review URL: http://chromereview.prom.corp.google.com/1187040

git-svn-id: svn://chrome-svn/chromeos/trunk@236 06c00378-0e64-4dae-be16-12b19f9950a1
diff --git a/buildutil.py b/buildutil.py
index 1d83b36..fd32558 100644
--- a/buildutil.py
+++ b/buildutil.py
@@ -23,7 +23,7 @@
       TODO(rtc): This code should probably live somewhere else.
     """
     if err != 0:
-      raise Exception("%s failed to execute % cmd")
+      raise Exception("%s failed to execute" % cmd)
     
 
 class BuildUtil(BuildObject):
@@ -105,9 +105,14 @@
         web.debug("unable to find a package info for %s" % pkg_path)
         continue
 
-      build_time = self.GetLastBuildTime(pkg_name)
       build_path = self.GetPackageBuildPath(pkg_name)
-      build_file = self.GetPackageBuildFile(build_path)
+
+      build_time = None
+      build_file = None
+      if build_path != "":
+        build_time = self.GetLastBuildTime(pkg_name)
+        build_file = self.GetPackageBuildFile(build_path)
+
       pkgs[pkg_name] = {
         "name": pkg_name,
         "build_time": build_time,