summaryrefslogtreecommitdiff
path: root/test/817-hiddenapi/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/817-hiddenapi/run.py')
-rw-r--r--test/817-hiddenapi/run.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/817-hiddenapi/run.py b/test/817-hiddenapi/run.py
index 6855da1d81..14670eb0c5 100644
--- a/test/817-hiddenapi/run.py
+++ b/test/817-hiddenapi/run.py
@@ -20,3 +20,7 @@ def run(ctx, args):
# On gcstress configurations, an extra "JNI_OnUnload called" line may
# be emitted. If so, remove it.
ctx.run(fr"sed -i '/^JNI_OnUnload called$/d' '{args.stdout_file}'")
+
+ # Delete hiddenapi's denial errors which go to stderr on host.
+ if args.host:
+ ctx.run(fr"sed -i -E '/ E dalvikvm.* hiddenapi: /d' '{args.stderr_file}'")