summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-10-11 22:21:32 -0700
committerElliott Hughes <enh@google.com>2010-10-11 22:21:32 -0700
commit59498a6d868652afe491e95862bc19e186ad83a9 (patch)
treef075d621c030bf822f5254742314a9f13c072933
parent0df59ae1c7d720dc6263760a0802aded41793f90 (diff)
downloadlibcore-59498a6d868652afe491e95862bc19e186ad83a9.zip
libcore-59498a6d868652afe491e95862bc19e186ad83a9.tar.gz
libcore-59498a6d868652afe491e95862bc19e186ad83a9.tar.bz2
Remove dead scripts.
Bug: 3087671 Change-Id: I95eb77ea66e289c9ea1c6106b4eb4654ca15215d
-rw-r--r--JavaLibrary.mk19
-rwxr-xr-xrun-core-tests45
-rwxr-xr-xrun-core-tests-on-ri23
3 files changed, 0 insertions, 87 deletions
diff --git a/JavaLibrary.mk b/JavaLibrary.mk
index e17206c..68f93d2 100644
--- a/JavaLibrary.mk
+++ b/JavaLibrary.mk
@@ -249,25 +249,6 @@ $(HOST_CORE_JAR): $(LOCAL_BUILT_MODULE)
$(LOCAL_INSTALLED_MODULE): $(HOST_CORE_JAR)
-$(LOCAL_INSTALLED_MODULE): run-core-tests
-
-# Definitions to copy the core-tests runner script.
-
-include $(CLEAR_VARS)
-LOCAL_SRC_FILES := run-core-tests
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_MODULE_TAGS := tests
-LOCAL_MODULE := run-core-tests
-include $(BUILD_PREBUILT)
-
-include $(CLEAR_VARS)
-LOCAL_SRC_FILES := run-core-tests-on-ri
-LOCAL_IS_HOST_MODULE := true
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_MODULE_TAGS := tests
-LOCAL_MODULE := run-core-tests-on-ri
-include $(BUILD_PREBUILT)
-
#
# Build for the host.
diff --git a/run-core-tests b/run-core-tests
deleted file mode 100755
index 9a4ff38..0000000
--- a/run-core-tests
+++ /dev/null
@@ -1,45 +0,0 @@
-# -*- mode: bash -*-
-#
-# Copyright (C) 2007 The Android Open Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# To run these tests:
-# mmm -j14 dalvik snod
-# adb reboot bootloader && fastboot flashall
-# adb shell run-core-tests
-
-tmp=/data/core-tests.tmp
-mkdir $tmp
-chmod 777 $tmp
-
-# Build the classpath by putting together the jar file for each module.
-classpath="/system/framework/core-junitrunner.jar:/system/framework/core-tests.jar"
-classpath="$classpath:/system/framework/sqlite-jdbc.jar" # Bonus item for jdbc testing.
-modules="dom json support xml"
-for module in $modules; do
- classpath="$classpath:/system/framework/core-tests-$module.jar"
-done
-
-exec dalvikvm \
- -Duser.name=root \
- -Duser.language=en \
- -Duser.region=US \
- -Duser.dir=$tmp \
- -Duser.home=$tmp \
- -Djava.io.tmpdir=$tmp \
- -Djavax.net.ssl.trustStore=/system/etc/security/cacerts.bks \
- -classpath $classpath \
- -Xcheck:jni \
- -Xmx64M \
- com.google.coretests.Main "$@"
diff --git a/run-core-tests-on-ri b/run-core-tests-on-ri
deleted file mode 100755
index 466994c..0000000
--- a/run-core-tests-on-ri
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Copyright (C) 2007 The Android Open Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Run all the tests contained in the core-tests library on an RI that
-# is supposed to be in the path.
-
-top=$ANDROID_BUILD_TOP
-
-java -cp $top/cts/tools/utils/lib/junit.jar:$top/out/host/common/core-tests.jar \
- -Xmx16M \
- com.google.coretests.Main "$@"