• John Koleszar's avatar
    Add support for downloading test data · 00748632
    John Koleszar authored
    The commit introduces a make target 'testdata' that downloads the
    required test data from the WebM project website. The data will also
    be downloaded if invoking `make test` but is not a strict requirement
    for only building the test executable.
    
    The download directory is taken from the LIBVPX_TEST_DATA_PATH
    environment variable, or may be specified as part of the make command.
    If unset, it defaults to the current directory. It's expected that
    most developers will want to set this environment variable to a place
    outside their source/build trees, to avoid having to download the data
    more than once.
    
    To add test data file:
    
      1) add a line to test/test.mk:
    
          LIBVPX_TEST_DATA-yes += foo-bar-file.y4m
    
      2) add its sha1sum to the test/test-data.sha1 file in the following
         format:
    
          528cc88c821e5f5b133c2b40f9c8e3f22eaacc4c  foo-bar-file.y4m
    
      3) upload the file to the website
    
          $ gsutil cp foo-bar-file.y4m gs://downloads.webmproject.org/test_data/libvpx
    
    This implementation will check the integrity of the test data
    automatically if the `sha1sum` executable is available.
    
    Change-Id: If6910fe304bb3f5cdcc5cb9e5f9afa5be74720d2
    00748632
Name
Last commit
Last update
build Loading commit data...
examples Loading commit data...
libmkv Loading commit data...
nestegg Loading commit data...
test Loading commit data...
third_party Loading commit data...
tools Loading commit data...
vp8 Loading commit data...
vpx Loading commit data...
vpx_mem Loading commit data...
vpx_ports Loading commit data...
vpx_scale Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
CHANGELOG Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
args.c Loading commit data...
args.h Loading commit data...
configure Loading commit data...
docs.mk Loading commit data...
example_xma.c Loading commit data...
examples.mk Loading commit data...
keywords.dox Loading commit data...
libs.doxy_template Loading commit data...
libs.mk Loading commit data...
mainpage.dox Loading commit data...
md5_utils.c Loading commit data...
md5_utils.h Loading commit data...
solution.mk Loading commit data...
tools_common.c Loading commit data...
tools_common.h Loading commit data...
usage.dox Loading commit data...
usage_cx.dox Loading commit data...
usage_dx.dox Loading commit data...
vp8_multi_resolution_encoder.c Loading commit data...
vp8_scalable_patterns.c Loading commit data...
vpxdec.c Loading commit data...
vpxenc.c Loading commit data...
y4minput.c Loading commit data...
y4minput.h Loading commit data...