- Jul 27, 2022
-
-
Simon McVittie authored
This wraps g_test_init and automatically calls _srt_tests_global_debug_log_to_stderr(); it can also do any other setup we need in the future. A few test helpers (which are not, themselves, tests) continue to use _srt_tests_global_debug_log_to_stderr() directly. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jul 26, 2022
-
-
Simon McVittie authored
This avoids it corrupting TAP machine-readable stdout in older versions of GLib. Putting _srt_tests_global_debug_log_to_stderr() in its own translation unit avoids dependency issues when linking statically, particularly in the scout environment. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jul 12, 2022
-
-
Simon McVittie authored
Now that we handle leaves that require a specific sub-leaf in ECX, a single pointer-sized key is not enough: on 32-bit x86, the leaf is pointer-sized, leaving no space to encode a sub-leaf correctly. Use a pointer to a struct as the key, with custom equals and hash functions. Fixes: 9b3741ad "cpu-feature: Add support for CPUID subleaf functions" Resolves: #94 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- May 12, 2022
-
-
Simon McVittie authored
We can test this by inserting the ability to take mock data. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-