aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Jacob <benoitjacob@google.com>2015-06-30 12:29:59 -0400
committerBenoit Jacob <benoitjacob@google.com>2015-06-30 12:29:59 -0400
commit05fe695259544ec0da48cb86c5dee51360e43afc (patch)
treecd44963452fdd5f5cb7aab9661e7bc9cefd10f8a
parent75c4ec0ba4dd86e4f763a54e01002ff29f1d57ae (diff)
downloadgemmlowp-05fe695259544ec0da48cb86c5dee51360e43afc.tar.gz
fixes
-rwxr-xr-xscripts/test-android.sh6
-rw-r--r--test/test.h2
2 files changed, 3 insertions, 5 deletions
diff --git a/scripts/test-android.sh b/scripts/test-android.sh
index b5d83d7..b4c1326 100755
--- a/scripts/test-android.sh
+++ b/scripts/test-android.sh
@@ -71,13 +71,11 @@ if [ $? != 0 ]; then
exit 1
fi
-adb shell "echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
+echo adb shell "/data/local/tmp/$EXE $TESTARGS"
-adb shell "/data/local/tmp/$EXE" | tee "log-$EXE"
+adb shell "/data/local/tmp/$EXE $TESTARGS" | tee "log-$EXE"
if [ $? != 0 ]; then
echo "$0: adb shell failed to run binary on device"
exit 1
fi
-
-adb shell "echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
diff --git a/test/test.h b/test/test.h
index f630674..754c6ec 100644
--- a/test/test.h
+++ b/test/test.h
@@ -57,7 +57,7 @@ class Matrix : public MatrixMap<tScalar, tOrder> {
Matrix(int rows, int cols) : Map(nullptr, 0, 0, 0) { Resize(rows, cols); }
- Matrix(const Matrix& other) { *this = other; }
+ Matrix(const Matrix& other) : Map(nullptr, 0, 0, 0) { *this = other; }
Matrix& operator=(const Matrix& other) {
Resize(other.rows_, other.cols_);