mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 00:47:28 +01:00
Have test/* global variable names start with g_
This commit is contained in:
1 parent
c0bd9df978
commit
b72dd16f9b
11 files changed
+458
-453
No files matched your search
+5
-5
@@ -93,7 +93,7 @@ test_wuffs_bmp_decode_frame_config() {
|
||||
|
||||
wuffs_base__frame_config fc = ((wuffs_base__frame_config){});
|
||||
wuffs_base__io_buffer src = ((wuffs_base__io_buffer){
|
||||
.data = global_src_slice,
|
||||
.data = g_src_slice_u8,
|
||||
});
|
||||
CHECK_STRING(read_file(&src, "test/data/hat.bmp"));
|
||||
CHECK_STATUS("decode_frame_config #0",
|
||||
@@ -134,7 +134,7 @@ test_wuffs_bmp_decode_frame_config() {
|
||||
|
||||
// ---------------- Manifest
|
||||
|
||||
proc tests[] = {
|
||||
proc g_tests[] = {
|
||||
|
||||
test_wuffs_bmp_decode_frame_config,
|
||||
test_wuffs_bmp_decode_interface,
|
||||
@@ -148,7 +148,7 @@ proc tests[] = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
proc benches[] = {
|
||||
proc g_benches[] = {
|
||||
|
||||
// No BMP benches.
|
||||
|
||||
@@ -163,6 +163,6 @@ proc benches[] = {
|
||||
|
||||
int //
|
||||
main(int argc, char** argv) {
|
||||
proc_package_name = "std/bmp";
|
||||
return test_main(argc, argv, tests, benches);
|
||||
g_proc_package_name = "std/bmp";
|
||||
return test_main(argc, argv, g_tests, g_benches);
|
||||
}
|
||||
Reference in new issue
Block a user