It's always going to be defined, we don't support compiling these
tests "by hand". This is a cleanup commit for the installed tests
work.
https://bugzilla.gnome.org/show_bug.cgi?id=699079
#include <stdio.h>
#include <stdlib.h>
-#ifndef SRCDIR
-#define SRCDIR "."
-#endif
-
#define TEST_URI_0 "file:///abc/defgh/ijklmnopqrstuvwxyz"
#define TEST_URI_1 "file:///test/uri/1"
#define TEST_URI_2 "file:///test/uri/2"
g_key_file_free (file);
}
-#ifndef SRCDIR
-#define SRCDIR "."
-#endif
-
static void
test_page_boundary (void)
{
#include <stdio.h>
#include <glib.h>
-#ifndef SRCDIR
-#define SRCDIR "."
-#endif
-
static int depth = 0;
static GString *string;
g_free (echo_prog_path);
echo_prog_path = g_build_filename (dirname, "lt-test-spawn-echo" EXEEXT, NULL);
}
-#ifndef SRCDIR
-#define SRCDIR dirname
-#endif
- echo_script_path = g_build_filename (SRCDIR, "echo-script", NULL);
+ echo_script_path = g_build_filename (dirname, "echo-script", NULL);
if (!g_file_test (echo_script_path, G_FILE_TEST_EXISTS))
{
gchar *tmp;