Bug 383619 - Get xpcshell tests for mozStorage (windows orange fix). r=rcampbell

This commit is contained in:
sdwilsh@shawnwilsher.com 2007-06-12 09:28:27 -07:00
parent 92bd10e431
commit 37e6ed019e
2 changed files with 7 additions and 1 deletions

View File

@ -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 = \

View File

@ -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()