0001
0002
0003
0004
0005
0006 #include <linux/module.h>
0007
0008 #include "test-drm_modeset_common.h"
0009
0010 #define TESTS "drm_modeset_selftests.h"
0011 #include "drm_selftest.h"
0012
0013 #include "drm_selftest.c"
0014
0015 static int __init test_drm_modeset_init(void)
0016 {
0017 int err;
0018
0019 err = run_selftests(selftests, ARRAY_SIZE(selftests), NULL);
0020
0021 return err > 0 ? 0 : err;
0022 }
0023
0024 static void __exit test_drm_modeset_exit(void)
0025 {
0026 }
0027
0028 module_init(test_drm_modeset_init);
0029 module_exit(test_drm_modeset_exit);
0030
0031 MODULE_AUTHOR("Intel Corporation");
0032 MODULE_LICENSE("GPL");