mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-19 07:26:26 +00:00
Bug 906734 - Put TestHarness.h profile directories under runcppunittest's temp directory. r=Waldo
This commit is contained in:
parent
4a03bbb49e
commit
d0e6cfab67
@ -164,8 +164,10 @@ class ScopedXPCOM : public nsIDirectoryServiceProvider2
|
||||
}
|
||||
|
||||
// Create a unique temporary folder to use for this test.
|
||||
// Note that runcppunittests.py will run tests with a temp
|
||||
// directory as the cwd, so just put something under that.
|
||||
nsCOMPtr<nsIFile> profD;
|
||||
nsresult rv = NS_GetSpecialDirectory(NS_OS_TEMP_DIR,
|
||||
nsresult rv = NS_GetSpecialDirectory(NS_OS_CURRENT_PROCESS_DIR,
|
||||
getter_AddRefs(profD));
|
||||
NS_ENSURE_SUCCESS(rv, nullptr);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user