Commit Graph

7 Commits

Author SHA1 Message Date
Erik Eckstein
1224cfa61b update and unify the "please file a bug report" message
The new message is:
"Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace."

1. In crash logs we used to print a message which points to the llvm bug tracking page. Now it points to the swift.org bug tracking guidelines.
2. Use the same message in all compiler diagnostics which ask the user to file a bug report.

rdar://problem/70488534
2020-10-23 11:57:22 +02:00
Pavel Yaskevich
25b7949ad7 [Localization] Tests: Track and remove temporary files on fixture tear down
Let's replace use `llvm::sys::fs::RemoveFileOnSignal` with manual
tracking of created temporary files. Signals are unavailable on
Windows so all of the temporary files are going to be left in place
otherwise.
2020-09-11 12:06:02 -07:00
Pavel Yaskevich
dbe79956f4 [Localization] Add localization serialization tests
1. YAML <-> DB format + verification
2. Empty DB to write/read and fallback verification
3. Random holes in the DB file test write/read and fallback
2020-09-08 01:01:54 -07:00
Pavel Yaskevich
0baf84431e [Localization] Expose a way to create temporary files through LocalizationTest 2020-09-08 01:00:51 -07:00
Pavel Yaskevich
4f464ff0d4 [Localization] Extract testing fixture and diagnostic definitions into a header
Doing so make it easy to share common bits of localization testing
infrastructure.
2020-09-07 19:09:59 -07:00
Pavel Yaskevich
fab497a02e [Localization] Use testing fixture in DefToYAMLConverter
Makes it easy to setup convertion from def-to-yaml and remove
a temporary file.
2020-09-03 19:58:55 -07:00
Pavel Yaskevich
dbae8342e8 [Localization] Establish a dedicated directory for localization tests 2020-09-03 16:33:23 -07:00