LoggingFilterInterpreterTest: use std::tmpnam

This stops a testlog.dump file from being created in the current
directory when the test gets run, and makes the test pass when run on
Android without an AndroidTest.xml file present (i.e. when developing
off the upstream main branch without the Android-specific patch that
adds it).

BUG=b:245989146
TEST=run unit tests on Android

Change-Id: I18f98ea60b259b8e62d522f640419c6d29a71c7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/gestures/+/4915780
Commit-Queue: Torsha Banerjee <torsha@google.com>
Auto-Submit: Harry Cutts <hcutts@chromium.org>
Commit-Queue: Henry Barnor <hbarnor@chromium.org>
Code-Coverage: Henry Barnor <hbarnor@chromium.org>
Reviewed-by: Torsha Banerjee <torsha@google.com>
Reviewed-by: Henry Barnor <hbarnor@chromium.org>
Tested-by: Harry Cutts <hcutts@chromium.org>
1 file changed