[Libva] [PATCH intel-driver 4/4] test: use common I965ConfigTest fixture for jpeg enc/dec

2016-10-05 Thread U. Artie Eoff
Instantiate the JPEG encode/decode Entrypoint tests from the common I965ConfigTest fixture with additional test inputs. Also, separate them into their own files. This changes their test case names, too. Signed-off-by: U. Artie Eoff --- test/Makefile.am

[Libva] [PATCH intel-driver 0/4] Test Environment and some AVC Enc/Dec Tests

2016-10-05 Thread U. Artie Eoff
This patch series moves the responsibility of the VADisplay creation and vaInitialize/vaTerminate sequence to a I965TestEnvironment singleton class. This environment is added to the GTest global test environment so that those aforementioned responsibilities are handled during the environment

[Libva] [PATCH intel-driver 3/4] test: add avce/avcd create config tests

2016-10-05 Thread U. Artie Eoff
Add a common I965ConfigTest parameterized test fixture with a i965_CreateConfig test case and add the AVC encode/decode create config test instantiations with associated profile and entrypoint inputs. Signed-off-by: U. Artie Eoff --- test/Makefile.am |

[Libva] [PATCH intel-driver 1/4] test: move vaInitialize/vaTerminate to a global test environment

2016-10-05 Thread U. Artie Eoff
Move the VADisplay, vaInitialize and vaTerminate responsibility out of the I965TestFixture class and into a global I965TestEnvironment (::testing::Environment) singleton. The I965TestEnvironment singleton instance is registered with the gtest framework at startup and it's SetUp and TearDown

[Libva] [PATCH intel-driver 2/4] test: add ostream operators for VAProfile and VAEntrypoint

2016-10-05 Thread U. Artie Eoff
Add ostream operators for VAProfile and VAEntrypoint so the testing framework and tests can log them by name. Signed-off-by: U. Artie Eoff --- test/i965_streamable.h | 84 ++ 1 file changed, 84 insertions(+) diff --git