mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
tests: Use native GTest utils to generate assets names
This commit is contained in:
committed by
Marco Trevisan
parent
135a015b6a
commit
1372d6f081
@@ -22,7 +22,6 @@
|
||||
#include <cairo.h>
|
||||
#include "fpi-assembling.h"
|
||||
#include "fpi-image.h"
|
||||
#include "test-config.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
@@ -67,8 +66,7 @@ test_frame_assembling (void)
|
||||
g_autoptr(FpImage) fp_img = NULL;
|
||||
GSList *frames = NULL;
|
||||
|
||||
g_assert_false (SOURCE_ROOT == NULL);
|
||||
path = g_build_path (G_DIR_SEPARATOR_S, SOURCE_ROOT, "tests", "vfs5011", "capture.png", NULL);
|
||||
path = g_test_build_filename (G_TEST_DIST, "vfs5011", "capture.png", NULL);
|
||||
|
||||
img = cairo_image_surface_create_from_png (path);
|
||||
data = cairo_image_surface_get_data (img);
|
||||
|
||||
Reference in New Issue
Block a user