diff --git a/test/meson.build b/test/meson.build index 1a9e9d2..e8df7cf 100644 --- a/test/meson.build +++ b/test/meson.build @@ -24,6 +24,7 @@ bench_exe = executable( tests = { 'alloc': [ 'basic', + 'empty', 'simple-1x', 'simple-1x-fail', 'simple-3x', diff --git a/test/test_alloc.c b/test/test_alloc.c index 00e6eca..5675422 100644 --- a/test/test_alloc.c +++ b/test/test_alloc.c @@ -62,6 +62,9 @@ static const size_t test_setup_len = sizeof(test_setup) / sizeof(test_setup[0]); &test_setup[3] } static struct test_case tests[] = { + { + .name = "empty", + }, { .name = "simple-1x-fail", .layers = { @@ -631,6 +634,7 @@ static void run_test(struct test_layer *test_layers) } assert(ok); + liftoff_output_destroy(output); liftoff_device_destroy(device); close(drm_fd); }