Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sanitizer] Fix running sanitizer_set_report_path_test on Android (#9…
…9469) sanitizer_set_report_path_test outputs the following on an Android builder [1]: ERROR: Can't create directory: /data/local/tmp/Output/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_arm/test/sanitizer_common/asan-arm-Android/Posix/Output/sanitizer_set_report_path_test.cpp.tmp Path /data/local/tmp/Output/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_arm/test/sanitizer_common/asan-arm-Android/Posix/Output/sanitizer_set_report_path_test.cpp.tmp.report_path/report.24954 The order of messages is reversed. The test can use strcmp+assert instead of CHECK for `__sanitizer_get_report_path` output. [1] https://lab.llvm.org/buildbot/#/builders/186/builds/703/steps/26/logs/stdio --------- Co-authored-by: Vitaly Buka <[email protected]>
- Loading branch information