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
This commit is contained in:
Maxime Ripard 2019-06-19 12:17:52 +02:00
commit b7ced38916
No known key found for this signature in database
GPG key ID: E3EF0D6F671851C5
3 changed files with 974 additions and 1 deletions