Merge #180095: tracker: use upstream patch instead of disabling test

...into staging-next
This commit is contained in:
Vladimír Čunát 2022-07-04 12:29:03 +02:00
commit 4f6caefe5c
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA
3 changed files with 17 additions and 14 deletions

View file

@ -38,6 +38,14 @@ stdenv.mkDerivation rec {
sha256 = "Wtb1vJd4Hr9V7NaUfNSuf/QZJRZYDRC9g4Dx3UcZbtI="; sha256 = "Wtb1vJd4Hr9V7NaUfNSuf/QZJRZYDRC9g4Dx3UcZbtI=";
}; };
patches = [
./fix-test-order.patch
];
postPatch = ''
patchShebangs utils/data-generators/cc/generate
'';
nativeBuildInputs = [ nativeBuildInputs = [
meson meson
ninja ninja
@ -78,11 +86,6 @@ stdenv.mkDerivation rec {
doCheck = true; doCheck = true;
patches = [ ./drop-sparql-test.patch ];
postPatch = ''
patchShebangs utils/data-generators/cc/generate
'';
preCheck = '' preCheck = ''
# (tracker-store:6194): Tracker-CRITICAL **: 09:34:07.722: Cannot initialize database: Could not open sqlite3 database:'/homeless-shelter/.cache/tracker/meta.db': unable to open database file # (tracker-store:6194): Tracker-CRITICAL **: 09:34:07.722: Cannot initialize database: Could not open sqlite3 database:'/homeless-shelter/.cache/tracker/meta.db': unable to open database file
export HOME=$(mktemp -d) export HOME=$(mktemp -d)

View file

@ -1,9 +0,0 @@
https://gitlab.gnome.org/GNOME/tracker/-/issues/370
--- a/tests/libtracker-data/meson.build
+++ b/tests/libtracker-data/meson.build
@@ -14,5 +14,4 @@
libtracker_data_slow_tests = [
'ontology',
- 'sparql'
]

View file

@ -0,0 +1,9 @@
diff --git a/tests/libtracker-data/algebra/filter-scope-1.rq b/tests/libtracker-data/algebra/filter-scope-1.rq
index 7ee5a24ad..a8cd89ca9 100644
--- a/tests/libtracker-data/algebra/filter-scope-1.rq
+++ b/tests/libtracker-data/algebra/filter-scope-1.rq
@@ -7,3 +7,4 @@ SELECT ?v ?w ?v2
OPTIONAL { :x :p ?v2 FILTER(?v = 1) }
}
}
+ORDER BY ?v ?w ?v2