diff options
author | John Koleszar <jkoleszar@google.com> | 2012-06-22 11:53:04 -0700 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2012-06-22 11:53:04 -0700 |
commit | 17b34a1bba99ccd2e25e0d27bc888ddbf1412b15 (patch) | |
tree | ad38453113b720e52231157ce98d5de25d1cf35c /test | |
parent | c8c71f1fbf772eaa1c9a7f8bd6ac23f271b464d6 (diff) | |
download | libvpx-17b34a1bba99ccd2e25e0d27bc888ddbf1412b15.tar libvpx-17b34a1bba99ccd2e25e0d27bc888ddbf1412b15.tar.gz libvpx-17b34a1bba99ccd2e25e0d27bc888ddbf1412b15.tar.bz2 libvpx-17b34a1bba99ccd2e25e0d27bc888ddbf1412b15.zip |
Cosmetics: test/test_libvpx.cc
Itchy submit finger, incorporate review comments.
Change-Id: I7754ad825da32389510d1bfc967f542f0b1033ed
Diffstat (limited to 'test')
-rw-r--r-- | test/test_libvpx.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test_libvpx.cc b/test/test_libvpx.cc index 081919bef..9bce60db1 100644 --- a/test/test_libvpx.cc +++ b/test/test_libvpx.cc @@ -14,8 +14,7 @@ #endif #include "third_party/googletest/src/include/gtest/gtest.h" -static void append_gtest_filter(const char *str) -{ +static void append_gtest_filter(const char *str) { std::string filter = ::testing::FLAGS_gtest_filter; filter += str; ::testing::FLAGS_gtest_filter = filter; @@ -25,7 +24,7 @@ int main(int argc, char **argv) { ::testing::InitGoogleTest(&argc, argv); #if ARCH_X86 || ARCH_X86_64 - int simd_caps = x86_simd_caps(); + const int simd_caps = x86_simd_caps(); if(!(simd_caps & HAS_MMX)) append_gtest_filter(":-MMX/*"); if(!(simd_caps & HAS_SSE)) |