• Dylan Baker's avatar
    framework: move executable functions to modules · 9b1e7da2
    Dylan Baker authored
    This moves piglit-run and piglit-resume main() functions to
    framework.programs.run as run() and resume() respectively, and moves
    piglit-summary-* to framework.programs.summary. It then creates
    compatibility wrappers as piglit-*.py for the functions.
    
    This is groundwork for a combined piglit interface. The original files
    could not be imported directly since they have dash (-) in their name,
    and python considers dash an illegal character for function, class, and
    modules names, and python would raise an ImportError when attempting to
    import one of them.
    Signed-off-by: Dylan Baker's avatarDylan Baker <baker.dylan.c@gmail.com>
    Reviewed-by: Jordan Justen's avatarJordan Justen <jordan.l.justen@intel.com>
    9b1e7da2
piglit-run.py 1.22 KB