Make a generic mention of the packages needed to run
the unittest appropriately, rather than mentioning
specifics. Also, point out the install dependencies
script, that will install the right packages for
Ubuntu and Fedora at this point.

Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
---
 tko/Makefile                   | 10 +++++++---
 tko/job_serializer_unittest.py |  6 +++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/tko/Makefile b/tko/Makefile
index 3cb1fb5..8304874 100644
--- a/tko/Makefile
+++ b/tko/Makefile
@@ -1,6 +1,10 @@
-# You can install the google protocol
-# buffer compiler on Fedora by doing a:
-# sudo yum install protobuf-compiler
+# You need to install the protocol
+# buffer compiler and the protocol
+# buffer python libraries. The script
+# installation_support/autotest-install-packages-deps
+# helps to install this and other
+# packages on your box for both
+# Fedora and Ubuntu.
 #
 all:
        protoc tko.proto --python_out=.
diff --git a/tko/job_serializer_unittest.py b/tko/job_serializer_unittest.py
index 20e38cd..c3f5566 100755
--- a/tko/job_serializer_unittest.py
+++ b/tko/job_serializer_unittest.py
@@ -17,9 +17,9 @@ import tempfile
 import time
 import sys
 
-# In case the protocol buffer parser is missing, build it.
-# In Fedora, you can install the compiler using:
-# sudo yum install protobuf-compiler
+# Check the Makefile on this directory
+# for information on how to install the
+# dependencies for this unittest.
 import commands
 cwd = os.getcwd()
 module_dir = os.path.dirname(sys.modules[__name__].__file__)
-- 
1.8.1.4

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to