genrule_sandbox_test: Remove space in `}generate` filter
Running `build/soong/tests/genrule_sandbox_test.py pandora_experimental-python-gen-src`
Find Actions with `${m.pandora_experimental-python-gen-src_.moduleDesc}generate${m.pandora_experimental-python-gen-src_.moduleDescSuffix}`
as description that doesn't contains spaces after `}generate`
Test: build/soong/tests/genrule_sandbox_test.py pandora_experimental-python-gen-src
Change-Id: I0f61793be9c602b91984f81f64ba5b4007a3b935
diff --git a/tests/genrule_sandbox_test.py b/tests/genrule_sandbox_test.py
index 697fc26..2f04b1e 100755
--- a/tests/genrule_sandbox_test.py
+++ b/tests/genrule_sandbox_test.py
@@ -69,7 +69,7 @@
name = mod["Name"]
if name in modules:
for act in mod["Module"]["Actions"]:
- if "}generate " in act["Desc"]:
+ if "}generate" in act["Desc"]:
module_to_outs[name].update(act["Outputs"])
return module_to_outs