[autotest] suite_enumerator.py should emit paths
We were emitting only tests names before, but now
the tool will emit full paths.
BUG=chromium-os:27037
TEST=./site_utils/suite_enumerator.py -a . bvt 2>/dev/null
STATUS=Fixed
Change-Id: I0281717a32608a63465e963a713f36c42cc82004
Reviewed-on: https://gerrit.chromium.org/gerrit/17026
Commit-Ready: Chris Masone <cmasone@chromium.org>
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
diff --git a/server/cros/dynamic_suite.py b/server/cros/dynamic_suite.py
index 6211cbe..d52af44 100644
--- a/server/cros/dynamic_suite.py
+++ b/server/cros/dynamic_suite.py
@@ -531,6 +531,7 @@
continue
found_test.text = text
+ found_test.path = file
tests[file] = found_test
except control_data.ControlVariableException, e:
logging.warn("Skipping %s\n%s", file, e)