[PATCH i-g-t 0/3] Convert sh scripts to C variants.

Marius Vlad
2016-10-20T19:30:40Z

This series adds some library support to help converting sh
scripts to C version. Converted drv_module_reload_basic and
kms_sysfs_edid_timing.

Marius Vlad (3):
lib/igt_sysfs: Make available to other users kick_fbcon() function
(previously under unbind_fbcon()), to disable/enable framebuffer console.
lib/igt_aux: Added helpers to help convert sh scripts to C version (libkmod
and procps interface).
tests/drv_module_reload_basic: Convert sh script to C version.
tests/kms_sysfs_edid_timing: Convert sh script to C version.

benchmarks/gem_syslatency.c | 4 -
configure.ac | 2 +
lib/Makefile.am | 2 +
lib/igt_aux.c | 278 ++++++++++++++++++++++++++++++++++++++++
lib/igt_aux.h | 7 +
lib/igt_core.c | 3 -
lib/igt_core.h | 3 +
lib/igt_gvt.c | 43 +------
lib/igt_sysfs.c | 54 ++++++++
lib/igt_sysfs.h | 2 +
tests/Makefile.sources | 4 +-
tests/drv_hangman.c | 1 -
tests/drv_module_reload_basic | 97 --------------
tests/drv_module_reload_basic.c | 166 ++++++++++++++++++++++++
tests/gem_wait.c | 4 -
tests/kms_flip.c | 3 -
tests/kms_sysfs_edid_timing | 25 ----
tests/kms_sysfs_edid_timing.c | 82 ++++++++++++
18 files changed, 600 insertions(+), 180 deletions(-)
delete mode 100755 tests/drv_module_reload_basic
create mode 100644 tests/drv_module_reload_basic.c
delete mode 100755 tests/kms_sysfs_edid_timing
create mode 100644 tests/kms_sysfs_edid_timing.c

--
2.7.4