Substitue "/" with "-" in the MODULES-IN phony goal names.
Bug: 24309760
Change-Id: I2372d0be0a811b11f3000646a2b7804e93852a84
diff --git a/testrunner/runtest.py b/testrunner/runtest.py
index dc1632d..4496999 100755
--- a/testrunner/runtest.py
+++ b/testrunner/runtest.py
@@ -289,7 +289,7 @@
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))