Ai
2 Star 0 Fork 0

mirrors_android_source/libcore2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
run-libcore-tests 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
# make sure there's a vogar on the path, but prefer the user's one.
export PATH=$PATH:~dalvik-prebuild/vogar/bin
VOGAR="vogar $VOGAR_FLAGS"
# We enumerate the test packages for vogar rather than just giving it the classes.jar
# so hundreds of packages can be tested in parallel, rather than one big jar file serially.
all_test_packages=$(find `dirname $0`/*/src/test -name "*.java" | \
fgrep -v junit | \
fgrep -v org/w3c/domts | \
xargs grep -h '^package ' | sed 's/^package //' | sed 's/;$//' | sort | uniq | tr "\n" " ")
all_test_packages="$all_test_packages tests.api.org.w3c.dom"
# Use the list of packages supplied on the command-line, if any.
test_packages=${*:-$all_test_packages}
echo "Running tests for following test packages:"
echo $test_packages | tr " " "\n"
$VOGAR \
--vm-arg -Xmx32M \
--classpath out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/javalib.jar \
--classpath out/target/common/obj/JAVA_LIBRARIES/sqlite-jdbc_intermediates/classes.jar \
$test_packages \
|| true
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_android_source/libcore2.git
git@gitee.com:mirrors_android_source/libcore2.git
mirrors_android_source
libcore2
libcore2
main

搜索帮助