mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 16:31:14 +01:00
[hb-test] Don't convert _ in test names to /
Slash is used for grouping...
This commit is contained in:
1 parent
a46b93208a
commit
bee08cf290
1 file changed
+3
-7
+3
-7
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user