OSDN Git Service

Revert "art/tools: add new tests for the build bot"
authorNicolas Geoffray <ngeoffray@google.com>
Wed, 10 Jun 2015 14:06:31 +0000 (14:06 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Wed, 10 Jun 2015 14:06:31 +0000 (14:06 +0000)
Unfortunately too many "localhost" netd failures.

This reverts commit 10ec4f937e351bc21c0eebada30c6df3f8570406.

Change-Id: Ibe28977e1e9f207f00a24f4c3167d08aa36cce5f

tools/buildbot-build.sh
tools/libcore_failures.txt
tools/run-libcore-tests.sh

index a026b03..77e6b1a 100755 (executable)
@@ -19,7 +19,7 @@ if [ ! -d art ]; then
   exit 1
 fi
 
-common_targets="vogar vogar.jar core-tests apache-harmony-jdwp-tests-hostdex out/host/linux-x86/bin/adb jsr166-tests conscrypt-tests"
+common_targets="vogar vogar.jar core-tests apache-harmony-jdwp-tests-hostdex out/host/linux-x86/bin/adb jsr166-tests"
 android_root="/data/local/tmp/system"
 linker="linker"
 mode="target"
index 15de17b..b053f0d 100644 (file)
   result: EXEC_FAILED,
   names: ["libcore.javax.crypto.CipherTest#testCipher_ShortBlock_Failure",
           "libcore.javax.crypto.CipherTest#testCipher_Success"]
-},
-{
-  description: "Tests newly added to the build bot (b/21722374)",
-  result: EXEC_FAILED,
-  names: ["com.android.org.conscrypt.NativeCryptoTest#test_SSL_do_handshake_clientCertificateRequested_throws_after_renegotiate",
-          "com.android.org.conscrypt.NativeCryptoTest#test_SSL_new",
-          "com.android.org.conscrypt.NativeCryptoTest#test_SSL_renegotiate",
-          "com.android.org.conscrypt.NativeCryptoTest#test_SSL_set_session_creation_enabled",
-          "libcore.java.security.KeyPairGeneratorTest#test_getInstance_provider1",
-          "libcore.java.security.KeyStoreTest#test_KeyStore_Builder",
-          "libcore.java.security.KeyStoreTest#test_KeyStore_aliases",
-          "libcore.java.security.ProviderTest#test_Provider_getServices",
-          "libcore.java.security.SignatureTest#test18566_AlgorithmOid_MissingNull_Failure",
-          "libcore.java.security.SignatureTest#testVerify_NONEwithRSA_Key_SignatureTooLarge_Failure",
-          "libcore.java.security.SignatureTest#testVerify_SHA1withRSA_Key_WrongExpectedSignature_Failure",
-          "libcore.java.security.SignatureTest#test_getInstance",
-          "libcore.javax.net.ssl.KeyManagerFactoryTest#test_KeyManagerFactory_getDefaultAlgorithm",
-          "libcore.javax.net.ssl.KeyManagerFactoryTest#test_KeyManagerFactory_getInstance",
-          "libcore.javax.net.ssl.SSLContextTest#test_SSLContext_defaultConfiguration",
-          "libcore.javax.net.ssl.SSLSocketTest#test_SSLSocket_sendsTlsFallbackScsv_InappropriateFallback_Failure"]
 }
 ]
index 2089f85..344d2de 100755 (executable)
@@ -22,9 +22,6 @@ fi
 # Jar containing jsr166 tests.
 jsr166_test_jar=out/target/common/obj/JAVA_LIBRARIES/jsr166-tests_intermediates/javalib.jar
 
-# Jar containing conscrypt tests.
-conscrypt_test_jar=out/target/common/obj/JAVA_LIBRARIES/conscrypt-tests_intermediates/javalib.jar
-
 # Jar containing all the other tests.
 test_jar=out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/javalib.jar
 
@@ -36,16 +33,13 @@ if [ ! -f $test_jar ]; then
 fi
 
 # Packages that currently work correctly with the expectation files.
-working_packages=("com.android.org.conscrypt"
-                  "libcore.icu"
+working_packages=("libcore.icu"
                   "libcore.io"
                   "libcore.java.lang"
                   "libcore.java.math"
-                  "libcore.java.security"
                   "libcore.java.text"
                   "libcore.java.util"
                   "libcore.javax.crypto"
-                  "libcore.javax.net"
                   "libcore.javax.security"
                   "libcore.javax.sql"
                   "libcore.javax.xml"
@@ -71,8 +65,4 @@ working_packages=("com.android.org.conscrypt"
 # Run the tests using vogar.
 echo "Running tests for the following test packages:"
 echo ${working_packages[@]} | tr " " "\n"
-vogar $@ --expectations art/tools/libcore_failures.txt \
-    --classpath $jsr166_test_jar \
-    --classpath $conscrypt_test_jar \
-    --classpath $test_jar \
-    ${working_packages[@]}
+vogar $@ --expectations art/tools/libcore_failures.txt --classpath $jsr166_test_jar --classpath $test_jar ${working_packages[@]}