Skip to content
  • Bhanuprakash Modem's avatar
    tests/kms: Apply igt.cocci transforms · e12a8eeb
    Bhanuprakash Modem authored
    
    
    A number of KMS tests are using checks like "igt_assert(x < y)" rather
    than using the dedicated comparison assertions that print the actual
    values on assertion failure. Run all KMS tests through Coccinelle to
    apply these conversions and also apply some other general coding style
    cleanup:
    
           spatch --in-place --sp-file lib/igt.cocci tests/kms_*
           spatch --in-place --sp-file lib/igt.cocci tests/intel/kms_*
           spatch --in-place --sp-file lib/igt.cocci tests/testdisplay*
           spatch --in-place --sp-file lib/igt.cocci tests/fbdev.c
    
    Cc: Matt Roper <matthew.d.roper@intel.com>
    Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
    Signed-off-by: default avatarBhanuprakash Modem <bhanuprakash.modem@intel.com>
    Reviewed-by: default avatarKamil Konieczny <kamil.konieczny@linux.intel.com>
    e12a8eeb
Loading