From b9cf9cb6d681614fe3aa282511a99c3ed3329fce Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 26 Feb 2010 14:46:53 -0800 Subject: Break the sqlite JDBC driver out from our JDBC implementation. The JDBC driver is from a different source (http://www.ch-werner.de/javasqlite/overview-summary.html) and is only really needed for testing. Bug 2468870 asks that we don't eagerly register the native methods for these classes. That bug is fixed by this change. Bug 2198667 asks that we stop shipping this JDBC driver as part of the base system. That bug is not addressed by this change: the classes and native code are now in their own, separate, .jar and .so files -- so they'll be easier to remove in future -- but for now those files are still in /system/framework and /system/lib respectively. Bug: 2468870 Bug: 2198667 --- run-core-tests | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'run-core-tests') diff --git a/run-core-tests b/run-core-tests index 9c47f7c..171ee21 100755 --- a/run-core-tests +++ b/run-core-tests @@ -24,14 +24,13 @@ mkdir $tmp chmod 777 $tmp # Build the classpath by putting together the jar file for each module. +classpath="/system/framework/sqlite-jdbc.jar" # Bonus item for jdbc testing. modules="annotation archive concurrent crypto dom icu json \ logging luni-kernel luni math nio nio_char prefs regex security sql \ suncompat support text x-net xml" -classpath="" for module in $modules; do classpath="$classpath:/system/framework/core-tests-$module.jar" done -classpath=${classpath#:} exec dalvikvm \ -Duser.name=root \ -- cgit v1.1