remove test_dir from the platform import path
All python files under test_dir are considered tests.
diff --git a/oft b/oft
index 57646a1..20fb17e 100755
--- a/oft
+++ b/oft
@@ -507,7 +507,7 @@
logging.info("Importing platform: " + platform_name)
platform_mod = None
try:
- platform_mod = imp.load_module(platform_name, *imp.find_module(platform_name, [config["platform_dir"], config["test_dir"]]))
+ platform_mod = imp.load_module(platform_name, *imp.find_module(platform_name, [config["platform_dir"]]))
except:
logging.warn("Failed to import " + platform_name + " platform module")
raise