commit | a4635138438c9618071dffa3baa71f363dff12bf | [log] [tgz] |
---|---|---|
author | Deb Mukherjee <debargha@google.com> | Mon Aug 11 13:44:27 2014 -0700 |
committer | Deb Mukherjee <debargha@google.com> | Tue Aug 12 16:15:26 2014 -0700 |
tree | 4dcd5c4a0a951055c9297e4f12ef2f04c49c7307 | |
parent | 5b63c2797a50a6a007a9b20377b071cd0aa6d702 [diff] |
Rework y4mwrite test to pass google3 tests Reverts to using tmpfile() for non-Windows platforms. On google3 the test directory does not have write permissions, and hence the Y4mWriteTest fails. This patch fixes the issue. On Windows, a temporary file is created in the temp directory that has write permissions. The tests pass on linux, mingw, and MS visual studio. Change-Id: Ibada1d80e25d8b8e5b6a9d3d597533674bd9024c