[hb-test] Don't convert _ in test names to /

Slash is used for grouping...
This commit is contained in:
Behdad Esfahbod committed 2025-04-05 23:27:26 -06:00
1 parent a46b93208a
commit bee08cf290
1 file changed
+3 -7
+3 -7
View File
@@ -117,17 +117,13 @@ hb_test_run (void)
static inline char *
hb_test_normalize_path (const char *path)
{
char *s, *p;
g_assert (0 == strncmp (path, "test_", 5));
path += 4;
s = g_strdup (path);
for (p = s; *p; p++)
if (*p == '_')
*p = '/';
char *p = g_strdup (path);
p[0] = '/';
return s;
return p;
}