47 bytes, text/x-phabricator-request
|Details | Review|
In a local ASan build, if I run WPT via mach like this: ./mach wpt infrastructure/assumptions/allowed-to-play.html ...then I get a warning message about it not finding lsan_suppressions.txt: 0:04.97 INFO WARNING | runtests.py | LSan suppressions file does not exist! /media/ssd/mc/testing/profiles/lsan_suppressions.txt Then LSan ends up reporting a lot of leaks, because of the unsuppressed leaks.
James, any ideas? For now, I can work around this by copying build/sanitizers/lsan_suppressions.txt to testing/profiles/
Previously we assumed that the path for the lsan_suppressions.txt file was the same as the prefs path, which is correct in CI but wrong for local builds. This adds a --lsan-dir command line argument and sets it in mach to the correct value for local builds and uses the prefs directory as a default for backwards compatibility
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/f65f0c93a581 Allow LSAN suppressions path to be set from wptrunner command line, r=mccr8
Assignee: nobody → james
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/15044 for changes under testing/web-platform/tests
You need to log in before you can comment on or make changes to this bug.