summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-04-16 01:07:07 -0700
committerGitHub <noreply@github.com>2024-04-16 01:07:07 -0700
commit75993de411117e79c57a09d1276bd1b2773c94df (patch)
treec017132e4e4cabbf3cd990cd503d117f3a003fa9 /src/passes/Print.cpp
parent25298be007d8816e40f7f73845ed514eee590b25 (diff)
downloadbinaryen-75993de411117e79c57a09d1276bd1b2773c94df.tar.gz
binaryen-75993de411117e79c57a09d1276bd1b2773c94df.tar.bz2
binaryen-75993de411117e79c57a09d1276bd1b2773c94df.zip
[NFC] Fix tests that were polluting the test directory (#6498)
A few tests were creating files with the `%s` prefix, which expands to the test filename itself, so the test files were being created in the test directory and were never cleaned up. Another test was creating files called `%a.wast` and `%b.wast`, but `%a` and `%b` do not expand to anything, so this also polluted the test directory and caused problems with running other tests and fuzzing. Use the proper `%t` prefix to create all these files in a temporary location instead. Fixes #6429.
Diffstat (limited to 'src/passes/Print.cpp')
0 files changed, 0 insertions, 0 deletions