mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1077282: Work around the fact that mozharness is not yet aware of the new GreD on OSX (bug 1080338). r=bsmedberg
This commit is contained in:
parent
b4db29c147
commit
79a58b1ac0
@ -419,7 +419,25 @@ int main(int argc, char** argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
manifest->AppendNative(NS_LITERAL_CSTRING("TestStartupCacheTelemetry.manifest"));
|
||||
#ifdef XP_MACOSX
|
||||
nsCOMPtr<nsIFile> tempManifest;
|
||||
manifest->Clone(getter_AddRefs(tempManifest));
|
||||
manifest->AppendNative(
|
||||
NS_LITERAL_CSTRING("TestStartupCacheTelemetry.manifest"));
|
||||
bool exists;
|
||||
manifest->Exists(&exists);
|
||||
if (!exists) {
|
||||
// Workaround for bug 1080338 in mozharness.
|
||||
manifest = tempManifest.forget();
|
||||
manifest->SetNativeLeafName(NS_LITERAL_CSTRING("MacOS"));
|
||||
manifest->AppendNative(
|
||||
NS_LITERAL_CSTRING("TestStartupCacheTelemetry.manifest"));
|
||||
}
|
||||
#else
|
||||
manifest->AppendNative(
|
||||
NS_LITERAL_CSTRING("TestStartupCacheTelemetry.manifest"));
|
||||
#endif
|
||||
|
||||
XRE_AddManifestLocation(NS_COMPONENT_LOCATION, manifest);
|
||||
|
||||
nsCOMPtr<nsIObserver> telemetryThing =
|
||||
|
Loading…
Reference in New Issue
Block a user