gtk/testsuite/testutils.h
Matthias Clasen e808fb424a testsuite: Stop requiring diff
Unify the many copies of diff_with_file in one source
file, and patch it to detect diff at runtime and fall
back to a simple strcmp if we don't have it. Make all
tests use this new testutils.c, and stop requiring
diff for building the tests.

This should let us allow to build on Windows with the
default value for -Dbuild-tests.
2021-01-21 23:57:24 -05:00

8 lines
185 B
C

#pragma once
char * diff_with_file (const char *file1,
char *text,
gssize len,
GError **error);