summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2016-02-25 20:58:56 -0800
committerJames Zern <jzern@google.com>2016-02-25 20:58:56 -0800
commit1ff2935ebf6c537340861bd590329ba5a49b96e3 (patch)
treef79ebf9ef437f51ba9413578ada9a5050d884082
parent48755f9f1a5ccff454340c4efc0176ff122941ba (diff)
downloadlibvpx-1ff2935ebf6c537340861bd590329ba5a49b96e3.tar
libvpx-1ff2935ebf6c537340861bd590329ba5a49b96e3.tar.gz
libvpx-1ff2935ebf6c537340861bd590329ba5a49b96e3.tar.bz2
libvpx-1ff2935ebf6c537340861bd590329ba5a49b96e3.zip
altref_test: move AltRefTest instantiation w/in VP8 check
some configurations may fail if AltRefTest is undefined though VP8_INSTANTIATE_TEST_CASE is defined away. Change-Id: I7272775a506718336bd6cee2225cf83bd72fede5
-rw-r--r--test/altref_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/altref_test.cc b/test/altref_test.cc
index 8b706eab5..657b89384 100644
--- a/test/altref_test.cc
+++ b/test/altref_test.cc
@@ -65,6 +65,9 @@ TEST_P(AltRefTest, MonotonicTimestamps) {
EXPECT_GE(altref_count(), 1);
}
+VP8_INSTANTIATE_TEST_CASE(AltRefTest,
+ ::testing::Range(kLookAheadMin, kLookAheadMax));
+
#endif // CONFIG_VP8_ENCODER
class AltRefForcedKeyTest
@@ -149,9 +152,6 @@ TEST_P(AltRefForcedKeyTest, ForcedFrameIsKey) {
}
}
-VP8_INSTANTIATE_TEST_CASE(AltRefTest,
- ::testing::Range(kLookAheadMin, kLookAheadMax));
-
VP8_INSTANTIATE_TEST_CASE(
AltRefForcedKeyTest,
::testing::Values(::libvpx_test::kOnePassGood),