Files
flatpak/tests/use-as-subproject/use-testlib.c
Simon McVittie 4d5b1fcf02 tests: Verify libglnx can work as a subproject
What isn't tested usually doesn't work, and the only way to use libglnx
is as a subproject, so test it like that.

Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-04-21 19:51:53 +01:00

18 lines
286 B
C

/*
* Copyright 2022 Collabora Ltd.
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include <libglnx.h>
#include <libglnx-testlib.h>
int
main (void)
{
_GLNX_TEST_DECLARE_ERROR (local_error, error);
glnx_throw (error, "Whatever");
g_clear_error (&local_error);
return 0;
}