This is actually a rename from test_src_dir, as it's more
clear for the purpose. This is the place where we can
configure additional directories where we can look for
test modules

Signed-off-by: Lucas Meneghel Rodrigues <l...@redhat.com>
---
 client/cmdparser.py   |    2 +-
 client/shared/test.py |    2 +-
 global_config.ini     |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/client/cmdparser.py b/client/cmdparser.py
index 870d119..165551f 100644
--- a/client/cmdparser.py
+++ b/client/cmdparser.py
@@ -12,7 +12,7 @@ GLOBAL_CONFIG = global_config.global_config
 
 LOCALDIRTEST = "tests"
 GLOBALDIRTEST = GLOBAL_CONFIG.get_config_value('COMMON',
-                                               'test_src_dir',
+                                               'test_dir',
                                                 default="")
 
 DEBUG = False
diff --git a/client/shared/test.py b/client/shared/test.py
index d6665a8..0770e70 100644
--- a/client/shared/test.py
+++ b/client/shared/test.py
@@ -881,7 +881,7 @@ def runtest(job, url, tag, args, dargs,
 
         testdir_list = [job.testdir, getattr(job, 'site_testdir', None)]
         bindir_config = GLOBAL_CONFIG.get_config_value('COMMON',
-                                                        'test_src_dir',
+                                                        'test_dir',
                                                         default="")
         if bindir_config:
             testdir_list.append(bindir_config)
diff --git a/global_config.ini b/global_config.ini
index 264afea..33f2b28 100644
--- a/global_config.ini
+++ b/global_config.ini
@@ -47,10 +47,10 @@ sql_debug_mode: False
 [COMMON]
 # The path for the toplevel autotest directory
 autotest_top_path: /usr/local/autotest
+# The path to look for test modules
+test_dir:
 # The path for tests output directory
 test_output_dir:
-# The path for tests bin/src directory
-test_src_dir:
 
 [AUTOSERV]
 # Autotest potential install paths
-- 
1.7.10.2

_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to