ARM and MIPS test script tweaks

This commit is contained in:
Eric Biggers 2016-01-30 21:49:51 -06:00
parent 480e0310db
commit d467d99740
2 changed files with 4 additions and 3 deletions

View File

@ -10,4 +10,5 @@ make -j4 BUILD_SHARED_LIBRARY=no BUILD_BENCHMARK_PROGRAM=yes \
CFLAGS="--sysroot=$NDKDIR/platforms/android-12/arch-arm -march=armv7-a -fPIC -pie -mfpu=neon -mfloat-abi=softfp"
adb push benchmark /data/local/tmp
adb shell /data/local/tmp/benchmark /data/local/tmp/testdata "$@"
adb push $HOME/data/testdata /data/local/tmp
adb shell /data/local/tmp/benchmark "$@" /data/local/tmp/testdata

View File

@ -9,5 +9,5 @@ make -j4 BUILD_SHARED_LIBRARY=no BUILD_BENCHMARK_PROGRAM=yes \
CC="$TOOLCHAIN_DIR/bin/mips-openwrt-linux-musl-gcc" \
CFLAGS="-DNEED_PRINTF"
scp benchmark root@dd-wrt:
ssh root@dd-wrt ./benchmark a "$@"
scp benchmark $HOME/data/test root@dd-wrt:
ssh root@dd-wrt ./benchmark "$@" test