Commit 2fc7c56f authored by Kenton Varda's avatar Kenton Varda

Skip fuzz tests on Android for now because they're too slow.

I did run them once and they passed. It took a very long time.
parent fc5f8768
......@@ -136,7 +136,7 @@ while [ $# -gt 0 ]; do
echo "Starting emulator..."
trap 'kill $(jobs -p)' EXIT
# TODO(soon): Speed up with KVM?
# TODO(someday): Speed up with KVM? Then maybe we won't have to skip fuzz tests?
$SDK_HOME/emulator/emulator -avd capnp -no-window &
$SDK_HOME/platform-tools/adb 'wait-for-device'
echo "Waiting for localhost to be resolvable..."
......@@ -145,7 +145,7 @@ while [ $# -gt 0 ]; do
# lot here. There is probably a better way.
doit $SDK_HOME/platform-tools/adb shell 'su 0 tee /data/capnp-test > /dev/null' < capnp-test
doit $SDK_HOME/platform-tools/adb shell 'su 0 chmod a+rx /data/capnp-test'
doit $SDK_HOME/platform-tools/adb shell 'cd /data && su 0 /data/capnp-test && echo ANDROID_""TESTS_PASSED' | tee android-test.log
doit $SDK_HOME/platform-tools/adb shell 'cd /data && CAPNP_SKIP_FUZZ_TEST=1 su 0 /data/capnp-test && echo ANDROID_""TESTS_PASSED' | tee android-test.log
grep -q ANDROID_TESTS_PASSED android-test.log
doit make distclean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment