]> git.baikalelectronics.ru Git - kernel.git/commit
drm/selftests: Add command line parser selftests
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 19 Jun 2019 10:17:52 +0000 (12:17 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 19 Jun 2019 10:17:52 +0000 (12:17 +0200)
commit791c82b155398a52f941c88d0b3275161a76734b
treefe515e148a5e11f58b29e5093542d31e88d2ba52
parent4fe0319fbaf6f9ecebc81f362499b4f7fe27c8f5
drm/selftests: Add command line parser selftests

The command line parser is pretty tough to get right and very error prone,
so let's add a selftest to try to catch any regression.

Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/735348d3a475ce0bcc88b46e093ab149023bb202.1560783090.git-series.maxime.ripard@bootlin.com
drivers/gpu/drm/selftests/Makefile
drivers/gpu/drm/selftests/drm_cmdline_selftests.h [new file with mode: 0644]
drivers/gpu/drm/selftests/test-drm_cmdline_parser.c [new file with mode: 0644]