[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[patch] add copying of bdb and sqlite dlls to win-tests.py

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-03-23 20:09:01 CET

Hi,

I'm not really sure why some libs are copied here and some are not.
In the interests of making my life easier, this patch adds sqlite and
bdb to the libraries
that are copied before the tests are run.

--
Joe
[[[
* win-tests.py
(locate_libs) added sqlite and berkeley dlls to the dlls that are copied to a
known location before starting tests.
]]]
Index: win-tests.py
===================================================================
--- win-tests.py        (revision 24047)
+++ win-tests.py        (working copy)
@@ -216,6 +216,19 @@
     libintl_dll_path = os.path.join(libintl_path, 'bin', 'intl3_svn.dll')
     copy_changed_file(libintl_dll_path, abs_objdir)
+  bdb_path = get(cp, 'options', '--with-berkeley-db', None)
+  if bdb_path is not None:
+    if objdir == 'Debug':
+      bdb_dll_path = os.path.join(bdb_path, 'bin', 'libdb44d.dll')
+    else:
+      bdb_dll_path = os.path.join(bdb_path, 'bin', 'libdb44.dll')
+    copy_changed_file(bdb_dll_path, abs_objdir)
+
+  sqlite_path = cp.get('options', '--with-sqlite', None)
+  if sqlite_path is not None:
+    sqlite_dll_path = os.path.join(sqlite_path, 'sqlite3.dll')
+    copy_changed_file(sqlite_dll_path, abs_objdir)
+
   # Copy the Subversion library DLLs
   if not cp.has_option('options', '--disable-shared'):
     for svn_dll in svn_dlls:
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 23 20:09:17 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.