Commit ad11bc56 authored by Carlos Garnacho's avatar Carlos Garnacho

tests: Run sparql blank tests on a temporary folder

So it can't fail due to leftovers from previous runs.
parent e7f0ca85
......@@ -159,9 +159,11 @@ main (int argc, char **argv)
setlocale (LC_COLLATE, "en_US.utf8");
current_dir = g_get_current_dir ();
tests_data_dir = g_build_path (G_DIR_SEPARATOR_S, current_dir, "test-data", NULL);
tests_data_dir = g_build_path (G_DIR_SEPARATOR_S, current_dir, "sparql-blank-test-data-XXXXXX", NULL);
g_free (current_dir);
g_mkdtemp (tests_data_dir);
g_test_init (&argc, &argv, NULL);
g_test_add ("/libtracker-data/sparql-blank", TestInfo, NULL, setup, test_blank, teardown);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment