[tracker/sam/slow-tests: 2/3] WIP: simplify data-sparql test for profiling



commit 07e415dfbb9032573874200ce14c4e5d821bb663
Author: Sam Thursfield <sam afuera me uk>
Date:   Tue Jan 28 00:44:25 2020 +0100

    WIP: simplify data-sparql test for profiling

 tests/libtracker-data/meson.build           |   2 +-
 tests/libtracker-data/tracker-sparql-test.c | 191 ----------------------------
 2 files changed, 1 insertion(+), 192 deletions(-)
---
diff --git a/tests/libtracker-data/meson.build b/tests/libtracker-data/meson.build
index 1ce899f3e..b64c1bd96 100644
--- a/tests/libtracker-data/meson.build
+++ b/tests/libtracker-data/meson.build
@@ -40,7 +40,7 @@ foreach base_name: libtracker_data_slow_tests
         'name': base_name,
         'exe': binary,
         'suite': ['data', 'slow'],
-        'requires_dbus': true,
+               #'requires_dbus': true,
         'timeout': 280
     }
 endforeach
diff --git a/tests/libtracker-data/tracker-sparql-test.c b/tests/libtracker-data/tracker-sparql-test.c
index 0e3f57fb7..5081698a2 100644
--- a/tests/libtracker-data/tracker-sparql-test.c
+++ b/tests/libtracker-data/tracker-sparql-test.c
@@ -42,197 +42,6 @@ struct _TestInfo {
 };
 
 const TestInfo tests[] = {
-       { "aggregates/aggregate-1", "aggregates/data-1", FALSE },
-       { "aggregates/aggregate-distinct-1", "aggregates/data-1", FALSE },
-       { "aggregates/aggregate-group-1", "aggregates/data-1", FALSE },
-       { "aggregates/aggregate-group-2", "aggregates/data-1", FALSE },
-       { "aggregates/aggregate-group-as-1", "aggregates/data-1", FALSE },
-       { "algebra/two-nested-opt", "algebra/two-nested-opt", FALSE },
-       { "algebra/two-nested-opt-alt", "algebra/two-nested-opt", FALSE },
-       { "algebra/opt-filter-3", "algebra/opt-filter-3", FALSE },
-       { "algebra/filter-placement-1", "algebra/data-2", FALSE },
-       { "algebra/filter-placement-2", "algebra/data-2", FALSE },
-       { "algebra/filter-placement-3", "algebra/data-2", FALSE },
-       { "algebra/filter-placement-3a", "algebra/data-2", FALSE },
-       { "algebra/filter-nested-1", "algebra/data-1", FALSE },
-       { "algebra/filter-nested-2", "algebra/data-1", FALSE },
-       { "algebra/filter-scope-1", "algebra/data-2", FALSE },
-       { "algebra/filter-in-1", "algebra/data-2", FALSE },
-       { "algebra/filter-in-2", "algebra/data-2", FALSE },
-       { "algebra/filter-in-3", "algebra/data-2", FALSE },
-       { "algebra/filter-in-4", "algebra/data-2", FALSE },
-       { "algebra/filter-in-5", "algebra/data-2", FALSE },
-       { "algebra/var-scope-join-1", "algebra/var-scope-join-1", FALSE },
-       { "anon/query", "anon/data", FALSE },
-       { "anon/query-2", "anon/data", FALSE },
-       { "anon/query-3", "anon/data", FALSE },
-       { "anon/query-4", "anon/data", FALSE },
-       { "anon/query-5", "anon/data", FALSE },
-       { "ask/ask-1", "ask/data", FALSE },
-       { "basic/base-1", "basic/data-1", FALSE },
-       { "basic/base-prefix-3", "basic/data-1", FALSE },
-       { "basic/compare-cast", "basic/data-1", FALSE },
-       { "basic/predicate-variable", "basic/data-1", FALSE },
-       { "basic/predicate-variable-2", "basic/data-1", FALSE },
-       { "basic/predicate-variable-3", "basic/data-1", FALSE },
-       { "basic/predicate-variable-4", "basic/data-1", FALSE },
-       { "basic/urn-in-as", "basic/data-1", FALSE },
-       { "basic/codepoint-escaping", "basic/data-1", FALSE },
-       { "bnode/query-1", "bnode/data", FALSE },
-       { "bnode/query-2", "bnode/data", FALSE },
-       { "bnode/query-3", "bnode/data", FALSE },
-       { "bnode/query-4", "bnode/data", FALSE },
-       { "bnode/query-5", "bnode/data", FALSE },
-       { "bnode-coreference/query", "bnode-coreference/data", FALSE },
-       { "bound/bound1", "bound/data", FALSE },
-       { "construct/construct-where", "construct/data", FALSE },
-       { "construct/construct-pattern", "construct/data", FALSE },
-       { "construct/construct-with-modifiers", "construct/data", FALSE },
-       { "datetime/delete-1", "datetime/data-3", FALSE },
-       { "datetime/functions-localtime-1", "datetime/data-1", FALSE },
-       { "datetime/functions-timezone-1", "datetime/data-2", FALSE },
-       { "datetime/functions-timezone-2", "datetime/data-2", FALSE },
-       { "datetime/functions-timezone-3", "datetime/data-2", FALSE },
-       { "datetime/functions-tz-1", "datetime/data-2", FALSE },
-       { "describe/describe-single", "describe/data", FALSE },
-       { "describe/describe-non-existent", "describe/data", FALSE },
-       { "describe/describe-pattern", "describe/data", FALSE },
-       { "describe/describe-limit", "describe/data", FALSE },
-       { "describe/describe-multiple", "describe/data", FALSE },
-       { "expr-ops/query-ge-1", "expr-ops/data", FALSE },
-       { "expr-ops/query-le-1", "expr-ops/data", FALSE },
-       { "expr-ops/query-minus-1", "expr-ops/data", FALSE },
-       { "expr-ops/query-mul-1", "expr-ops/data", FALSE },
-       { "expr-ops/query-plus-1", "expr-ops/data", FALSE },
-       { "expr-ops/query-unminus-1", "expr-ops/data", FALSE },
-       { "expr-ops/query-unplus-1", "expr-ops/data", FALSE },
-       { "expr-ops/query-res-1", "expr-ops/data", FALSE },
-       { "functions/functions-property-1", "functions/data-1", FALSE },
-       { "functions/functions-tracker-1", "functions/data-1", FALSE },
-       { "functions/functions-tracker-2", "functions/data-2", FALSE },
-       { "functions/functions-tracker-loc-1", "functions/data-3", FALSE },
-       { "functions/functions-xpath-1", "functions/data-1", FALSE },
-       { "functions/functions-xpath-2", "functions/data-1", FALSE },
-       { "functions/functions-xpath-3", "functions/data-1", FALSE },
-       { "functions/functions-xpath-4", "functions/data-1", FALSE },
-       { "functions/functions-xpath-5", "functions/data-1", FALSE },
-       { "functions/functions-xpath-6", "functions/data-1", FALSE },
-       { "functions/functions-xpath-7", "functions/data-1", FALSE },
-       { "functions/functions-xpath-8", "functions/data-1", FALSE },
-       { "functions/functions-xpath-9", "functions/data-1", FALSE },
-       { "functions/functions-xpath-10", "functions/data-4", FALSE },
-       { "functions/functions-xpath-11", "functions/data-4", FALSE },
-       { "functions/functions-xpath-12", "functions/data-4", FALSE },
-       { "functions/functions-xpath-13", "functions/data-4", FALSE },
-       { "functions/functions-xpath-14", "functions/data-4", FALSE },
-       { "functions/functions-coalesce-1", "functions/data-1", FALSE },
-       { "functions/functions-datatypes-1", "functions/data-1", FALSE },
-       { "functions/functions-datatypes-2", "functions/data-2", FALSE },
-       { "functions/functions-datatypes-3", "functions/data-3", FALSE },
-       { "functions/functions-datatypes-4", "functions/data-4", FALSE },
-       /* Graph semantics and operations */
-       { "graph/graph-1", "graph/data-1", FALSE },
-       { "graph/graph-2", "graph/data-2", FALSE },
-       { "graph/graph-3", "graph/data-3", FALSE },
-       { "graph/graph-4", "graph/data-3", FALSE },
-       { "graph/graph-5", "graph/data-4", FALSE },
-       { "graph/graph-6", "graph/data-5", FALSE },
-       { "graph/non-existent-1",  "graph/data-1", FALSE },
-       { "graph/drop", "graph/data-drop", FALSE },
-       { "graph/drop-non-existent", "graph/data-drop-non-existent", FALSE, TRUE },
-       { "graph/drop-default", "graph/data-drop-default", FALSE },
-       { "graph/drop-named", "graph/data-drop-named", FALSE },
-       { "graph/drop-all", "graph/data-drop-all", FALSE },
-       { "graph/drop-silent", "graph/data-drop-silent", FALSE },
-       { "graph/clear", "graph/data-clear", FALSE },
-       { "graph/clear-non-existent", "graph/data-clear-non-existent", FALSE, TRUE },
-       { "graph/clear-default", "graph/data-clear-default", FALSE },
-       { "graph/clear-named", "graph/data-clear-named", FALSE },
-       { "graph/clear-all", "graph/data-clear-all", FALSE },
-       { "graph/copy", "graph/data-copy", FALSE },
-       { "graph/copy-to-existent", "graph/data-copy-to-existent", FALSE },
-       { "graph/copy-to-non-existent", "graph/data-copy-to-non-existent", FALSE },
-       { "graph/copy-from-non-existent", "graph/data-copy-from-non-existent", FALSE },
-       { "graph/copy-into-self", "graph/data-copy-into-self", FALSE },
-       { "graph/copy-from-default", "graph/data-copy-from-default", FALSE },
-       { "graph/copy-to-default", "graph/data-copy-to-default", FALSE },
-       { "graph/move", "graph/data-move", FALSE },
-       { "graph/move-to-existent", "graph/data-move-to-existent", FALSE },
-       { "graph/move-from-non-existent", "graph/data-move-from-non-existent", FALSE },
-       { "graph/move-into-self", "graph/data-move-into-self", FALSE },
-       { "graph/move-from-default", "graph/data-move-from-default", FALSE },
-       { "graph/move-to-default", "graph/data-move-to-default", FALSE },
-       { "graph/add", "graph/data-add", FALSE },
-       { "graph/add-to-existent", "graph/data-add-to-existent", FALSE },
-       { "graph/add-to-non-existent", "graph/data-add-to-non-existent", FALSE },
-       { "graph/add-from-non-existent", "graph/data-add-from-non-existent", FALSE },
-       { "graph/add-into-self", "graph/data-add-into-self", FALSE },
-       { "graph/add-from-default", "graph/data-add-from-default", FALSE },
-       { "graph/add-to-default", "graph/data-add-to-default", FALSE },
-       { "langstring/match-with-non-langstring", "langstring/data", FALSE },
-       { "langstring/match-with-langstring", "langstring/data", FALSE },
-       { "langstring/match-non-langstring", "langstring/data", FALSE },
-       { "langstring/langmatches", "langstring/data", FALSE },
-       { "langstring/strlang", "langstring/data", FALSE },
-       { "lists/list-in-object", "lists/data-list-in-object", FALSE },
-       { "lists/list-in-subject", "lists/data-list-in-subject", FALSE },
-       { "lists/list-in-select", "lists/data-list-in-select", FALSE },
-       { "lists/list-nested", "lists/data-list-nested", FALSE },
-       { "optional/q-opt-complex-1", "optional/complex-data-1", FALSE },
-       { "optional/simple-optional-triple", "optional/simple-optional-triple", FALSE },
-       { "regex/regex-query-001", "regex/regex-data-01", FALSE },
-       { "regex/regex-query-002", "regex/regex-data-01", FALSE },
-       { "sort/query-sort-1", "sort/data-sort-1", FALSE },
-       { "sort/query-sort-2", "sort/data-sort-1", FALSE },
-       { "sort/query-sort-3", "sort/data-sort-3", FALSE },
-       { "sort/query-sort-4", "sort/data-sort-4", FALSE },
-       { "sort/query-sort-5", "sort/data-sort-4", FALSE },
-       { "sort/query-sort-6", "sort/data-sort-4", FALSE },
-       { "sort/query-sort-7", "sort/data-sort-1", FALSE },
-       { "sort/query-sort-8", "sort/data-sort-5", FALSE },
-       { "sort/query-sort-9", "sort/data-sort-5", FALSE },
-       { "subqueries/subqueries-1", "subqueries/data-1", FALSE },
-       { "subqueries/subqueries-union-1", "subqueries/data-1", FALSE },
-       { "subqueries/subqueries-union-2", "subqueries/data-1", FALSE },
-       /* Bracket error after WHERE */
-       { "error/query-error-1", "error/query-error-1", TRUE, FALSE },
-       /* Unknown property */
-       { "error/query-error-2", "error/query-error-2", TRUE, FALSE },
-       { "error/update-error-query-1", "error/update-error-1", FALSE, TRUE },
-
-       { "turtle/turtle-query-001", "turtle/turtle-data-001", FALSE },
-       { "turtle/turtle-query-002", "turtle/turtle-data-002", FALSE },
-       /* Mixed cardinality tests */
-       { "mixed-cardinality/insert-mixed-cardinality-query-1", 
"mixed-cardinality/insert-mixed-cardinality-1", FALSE, FALSE },
-       { "mixed-cardinality/update-mixed-cardinality-query-1", 
"mixed-cardinality/update-mixed-cardinality-1", FALSE, FALSE },
-       /* Bind tests */
-       { "bind/bind1", "bind/data", FALSE },
-       { "bind/bind2", "bind/data", FALSE },
-       { "bind/bind3", "bind/data", FALSE },
-       { "bind/bind4", "bind/data", FALSE },
-       { "bind/bind5", "bind/data", FALSE },
-       { "bind/bind6", "bind/data", FALSE },
-       { "bind/bind7", "bind/data", FALSE },
-       /* Property paths */
-       { "property-paths/inverse-path-1", "property-paths/data", FALSE },
-       { "property-paths/inverse-path-2", "property-paths/data", FALSE },
-       { "property-paths/sequence-path-1", "property-paths/data", FALSE },
-       { "property-paths/sequence-path-2", "property-paths/data", FALSE },
-       { "property-paths/sequence-path-3", "property-paths/data", FALSE },
-       { "property-paths/optional-path-1", "property-paths/data", FALSE },
-       { "property-paths/recursive-path-1", "property-paths/data", FALSE },
-       { "property-paths/recursive-path-2", "property-paths/data", FALSE },
-       { "property-paths/alternative-path-1", "property-paths/data", FALSE },
-       { "property-paths/alternative-path-2", "property-paths/data", FALSE },
-       { "property-paths/mixed-inverse-and-sequence-1", "property-paths/data", FALSE },
-       { "property-paths/mixed-inverse-and-sequence-2", "property-paths/data", FALSE },
-       { "property-paths/mixed-inverse-and-sequence-3", "property-paths/data", FALSE },
-       { "property-paths/mixed-recursive-and-sequence-1", "property-paths/data", FALSE },
-       { "property-paths/mixed-recursive-and-alternative-1", "property-paths/data", FALSE },
-       { "property-paths/mixed-recursive-and-alternative-2", "property-paths/data", FALSE },
-       { "property-paths/mixed-recursive-and-inverse-1", "property-paths/data", FALSE },
-       { "property-paths/mixed-recursive-and-inverse-2", "property-paths/data", FALSE },
-       { "property-paths/mixed-recursive-and-inverse-3", "property-paths/data", FALSE },
        /* Update tests */
        { "update/insert-data-query-1", "update/insert-data-1", FALSE, FALSE },
        { "update/insert-data-query-2", "update/insert-data-2", FALSE, TRUE },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]