1 // SPDX-License-Identifier: GPL-2.0
3 * Common file for modeset selftests.
6 #include <linux/module.h>
8 #include "test-drm_modeset_common.h"
10 #define TESTS "drm_modeset_selftests.h"
11 #include "drm_selftest.h"
13 #include "drm_selftest.c"
15 static int __init
test_drm_modeset_init(void)
19 err
= run_selftests(selftests
, ARRAY_SIZE(selftests
), NULL
);
21 return err
> 0 ? 0 : err
;
24 static void __exit
test_drm_modeset_exit(void)
28 module_init(test_drm_modeset_init
);
29 module_exit(test_drm_modeset_exit
);
31 MODULE_AUTHOR("Intel Corporation");
32 MODULE_LICENSE("GPL");