Substitue "/" with "-" in the MODULES-IN phony goal names.

Bug: 24309760
Change-Id: I2372d0be0a811b11f3000646a2b7804e93852a84
This commit is contained in:
Ying Wang
2015-09-24 16:35:36 -07:00
parent 944edb562b
commit 21d83c6817

View File

@@ -289,7 +289,7 @@ class TestRunner(object):
d = d[2:]
if d.endswith("/"):
d = d[:-1]
mmma_goals.append("MODULES-IN/" + d)
mmma_goals.append("MODULES-IN-" + d.replace("/","-"))
alt_cmd = 'make -j%s -C "%s" -f build/core/main.mk %s %s' % (
self._options.make_jobs, self._root_path, extra_args_string, " ".join(mmma_goals))