Skip to content
  • Dylan Baker's avatar
    tests/glslparsertest/glsl2: Remove illegal comments from glslparsertests · 3164e1fe
    Dylan Baker authored
    
    
    This patch removes comments from the [config] block of these
    glslparsertests, these comments were autogenerated by glslparser.tests,
    which has since been removed from the source tree.
    
    Of note these comments would be legal if they weren't contained with in
    the [config]/[end config] block
    
    This was generated by running the following command:
    
    grep -l -R -m 1 --color=never '// # NOTE:' * | xargs ./purge.py
    
    cat purge.py <<EOF
    
    import sys
    
    for each in sys.argv:
        with open(each, 'r') as f:
            content = f.readlines()
    
        with open(each, 'w+') as f:
            for line in content:
    	    if not line.startswith('// # NOTE:'):
    	        f.write(line)
    EOF
    
    Signed-off-by: default avatarDylan Baker <baker.dylan.c@gmail.com>
    3164e1fe