[Webkit-unassigned] [Bug 84446] [GTK] Build and run TestWebKitAPI WebKit2 unit tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 24 10:59:25 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=84446





--- Comment #11 from Martin Robinson <mrobinson at webkit.org>  2012-04-24 10:59:20 PST ---
(From update of attachment 138595)
View in context: https://bugs.webkit.org/attachment.cgi?id=138595&action=review

> Tools/TestWebKitAPI/gtk/PlatformUtilitiesGtk.cpp:66
> +static char* getEnvironmentVariableAsUTF8String(const char* variableName)
> +{
> +    const char* value = g_getenv(variableName);
> +    if (!value) {
> +        g_printerr("%s environment variable not found\n", variableName);
> +        exit(1);
> +    }
> +    gsize bytesWritten;
> +    return g_filename_to_utf8(value, -1, 0, &bytesWritten, 0);
> +}

I guess you didn't want to split this?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list