]> granicus.if.org Git - libvpx/commit
Added ClearSystemState in a unit test
authorYaowu Xu <yaowu@google.com>
Tue, 3 Sep 2013 20:50:17 +0000 (13:50 -0700)
committerYaowu Xu <yaowu@google.com>
Wed, 4 Sep 2013 22:07:34 +0000 (15:07 -0700)
commite494df1a3769677138baf59536c42e2313822625
treefaf5b3e9febe27eb1d57ca883664da618eb86ba0
parent010c0ad0eb19e7be9680720e93e82b418149898e
Added ClearSystemState in a unit test

There is another unit test that has been failing randomly on win32
build. Investigation has shown that the failure was caused by simd
register state is not reset appropriately in the fdct8x8 test. This
commit added ClearSystemState() in the teardown of this test, tests
showed it resolved the random failure issue for win32 build.

Related issue: https://code.google.com/p/webm/issues/detail?id=614

Change-Id: I9381d0c1a6f4b855ccaeef1aca8c417ac8c71ee2
test/fdct8x8_test.cc