Currently, if a probe fails, it will print the line number of the [test]
block the probe is in, not the line number of the probe itself. This
makes it somewhat difficult to debug.
This commit makes it print the line number that a test fails at.
This code was actually written by @hverbeet for my first attempt at fixing this, !499.
CC @zfigura
--
v3: tests: Print the failing line numbers when a test fails.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/516
Many of these patches are small, but the series can be split in two if necessary.
--
v6: vkd3d-shader/spirv: Handle ITOI and UTOU in spirv_compiler_map_alu_instruction().
vkd3d-shader/spirv: Support UINT64 source in spirv_compiler_emit_bool_cast().
vkd3d-shader/spirv: Support 64-bit sources in spirv_compiler_emit_int_div().
vkd3d-shader/spirv: Introduce a UINT64 component type.
vkd3d-shader/spirv: Introduce a data_type_is_64_bit() helper function.
vkd3d-shader/spirv: Use data_type_is_integer() in spirv_compiler_emit_neg().
vkd3d: Pass int64 capability info to vkd3d-shader.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/490
This MR stems out from testing if an app may be detecting
Wine presence by checking wine_get_version() entry point
presence in ntdll.
I had wished that simply commenting out the entry point in
ntdll.spec would be sufficient.
It isn't as 2 buitin DLLs directly link to wine_get_version().
This MR let them dynamically load the entry point's address.
For the record, there are three other DLLs/programs which
make use of wine_get_version(), but using dynamic loading.
I can live without this MR being merged upstream, but looked
a good idea:
- to be consistent throughout the code
- allow the simple comment in ntdll.spec to be possible.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4772
When len is 256, (ARRAY_SIZE(title) - len) is 0. When LoadStringW() is called with the last parameter
being zero, a WCHAR string pointer is stored at 'title + 256', writing title out of bounds.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4767