Skip to content

Commit dde12f7

Browse files
refactor: remove gtest remnants
1 parent ca114d9 commit dde12f7

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

include/glib-compat.h

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -112,23 +112,6 @@ static inline gpointer g_memdup2_qemu(gconstpointer mem, gsize byte_size)
112112
}
113113
#define g_memdup2(m, s) g_memdup2_qemu(m, s)
114114

115-
static inline bool
116-
qemu_g_test_slow(void)
117-
{
118-
static int cached = -1;
119-
if (cached == -1) {
120-
cached = g_test_slow() || getenv("G_TEST_SLOW") != NULL;
121-
}
122-
return cached;
123-
}
124-
125-
#undef g_test_slow
126-
#undef g_test_thorough
127-
#undef g_test_quick
128-
#define g_test_slow() qemu_g_test_slow()
129-
#define g_test_thorough() qemu_g_test_slow()
130-
#define g_test_quick() (!qemu_g_test_slow())
131-
132115
#pragma GCC diagnostic pop
133116

134117
#ifndef G_NORETURN

0 commit comments

Comments
 (0)