diff options
Diffstat (limited to 'tests/fstest')
-rw-r--r-- | tests/fstest/Android.mk | 1 | ||||
-rw-r--r-- | tests/fstest/recovery_test.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/fstest/Android.mk b/tests/fstest/Android.mk index 8ea48818..52f113ce 100644 --- a/tests/fstest/Android.mk +++ b/tests/fstest/Android.mk @@ -18,6 +18,7 @@ include $(CLEAR_VARS) LOCAL_MODULE_TAGS := tests LOCAL_MODULE := recovery_test LOCAL_SRC_FILES := recovery_test.cpp +LOCAL_CFLAGS := -Wall -Werror LOCAL_SHARED_LIBRARIES += libcutils libutils libbase liblog \ liblogwrap libext4_utils LOCAL_STATIC_LIBRARIES += libtestUtil libfs_mgr diff --git a/tests/fstest/recovery_test.cpp b/tests/fstest/recovery_test.cpp index e2371395..c34607d6 100644 --- a/tests/fstest/recovery_test.cpp +++ b/tests/fstest/recovery_test.cpp @@ -216,7 +216,6 @@ class FsRecoveryTest : public ::testing::Test { UMOUNT_BIN, cache_str, }; - int status; return android_fork_execvp_ext(ARRAY_SIZE(umount_argv), umount_argv, NULL, true, LOG_KLOG, false, NULL, NULL, 0) >= 0; @@ -230,7 +229,6 @@ class FsRecoveryTest : public ::testing::Test { storage_str, mountall_str, }; - int status; return android_fork_execvp_ext(ARRAY_SIZE(mountall_argv), mountall_argv, NULL, true, LOG_KLOG, false, NULL, NULL, 0) >= 0; |