зеркало из https://github.com/mozilla/gecko-dev.git
Bug 383619 - Get xpcshell tests for mozStorage (windows orange fix). r=rcampbell
This commit is contained in:
Родитель
92bd10e431
Коммит
37e6ed019e
|
@ -21,6 +21,7 @@
|
|||
#
|
||||
# Contributor(s):
|
||||
# Vladimir Vukicevic <vladimir.vukicevic@oracle.com>
|
||||
# Shawn Wilsher <me@shawnwilsher.com>
|
||||
#
|
||||
# Alternatively, the contents of this file may be used under the terms of
|
||||
# either of the GNU General Public License Version 2 or later (the "GPL"),
|
||||
|
@ -45,6 +46,10 @@ include $(DEPTH)/config/autoconf.mk
|
|||
|
||||
PROGRAM = teststorage1$(BIN_SUFFIX)
|
||||
|
||||
MODULE = test_storage
|
||||
|
||||
XPCSHELL_TESTS = unit
|
||||
|
||||
CPPSRCS = storage1.cpp
|
||||
|
||||
REQUIRES = \
|
||||
|
|
|
@ -53,7 +53,8 @@ function cleanup()
|
|||
{
|
||||
// removing test db
|
||||
var dbFile = getTestDB();
|
||||
if (dbFile.exists()) dbFile.remove(false);
|
||||
if (dbFile.exists())
|
||||
try { dbFile.remove(true); } catch(e) { /* stupid windows box */ }
|
||||
}
|
||||
|
||||
function getService()
|
||||
|
|
Загрузка…
Ссылка в новой задаче