Skip to content
  • Dylan Baker's avatar
    generators: port variable-index-read.sh to python · ed872266
    Dylan Baker authored
    
    
    This patch replaces a bash based generator with a python generator. This
    has the obvious advantage of remove a large swath of generated tests
    from the check-in, and prevents modification of a generated file. It
    also is much faster than the bash generator, so running at compile time
    isn't a problem.
    
    There are no functional differences between the bash generated versions
    and the python generated versions, only whitespace/line-wrapping
    differences, and small changes to the copyright header.
    
    All tests that passed with the bash versions pass with the python
    versions on the i965 driver with multiple hardware revisions.
    
    Tested with python2.7 and python3.3
    
    v2: - rename generated test .list file (Emil)
        - Use a shared function to add the license text
          (also removes a typo in the text spotted by Emil)
    
    Signed-off-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
    Acked-by: default avatarJose Fonseca <jfonseca@vmware.com>
    ed872266