1. 21 Apr, 2021 1 commit
  2. 20 Apr, 2021 1 commit
  3. 19 Apr, 2021 4 commits
    • Daniele Nicolodi's avatar
      Make tracker:endpoint test work on macOS · 51ca0356
      Daniele Nicolodi authored
      The symptom on my system are that the test fails to run because gi
      cannot find the shared library object for Tracker. This is due to the
      fact that $LD_LIBRARY_PATH is set by Meson but removed from the
      environment by the time the test is running. This is because the
      examples/python/endpoint.py scripts which uses '!#/usr/bin/env python'
      as a shebang and on macOS the env utility removes dynamic linker
      variables from the environment. Fix this by explicitly using python to
      execute the script.
      
      Use this opportunity for restructure how the Python installation and
      executable is looked up in the build definition: use the 'python'
      Meson module to lock for a suitable python in the main meson.build.
      
      Also, the test setup does not set $TRACKER_LANGUAGE_STOP_WORDS_DIR to
      point to the stop words directory in the source directory. Fix it.
      51ca0356
    • Sam Thursfield's avatar
      Merge branch 'fix-fixtures' into 'master' · eff23876
      Sam Thursfield authored
      Fix Python test fixtures to run on macOS
      
      See merge request !409
      eff23876
    • Sam Thursfield's avatar
      Merge branch 'tap-dep' into 'master' · 1713af8b
      Sam Thursfield authored
      Look for a Python installation with the tap module
      
      See merge request !410
      1713af8b
    • Sam Thursfield's avatar
      Merge branch 'wip/carlosg/tap-checks-fix' into 'master' · 430d85d9
      Sam Thursfield authored
      tests: Look for trueness of TEST_TAP_ENABLED
      
      See merge request !394
      430d85d9
  4. 18 Apr, 2021 2 commits
    • Daniele Nicolodi's avatar
      Look for a Python installation with the tap module · 8569c99d
      Daniele Nicolodi authored
      When the TAP test protocol is enabled, look for a Python installation
      that has the tap module installed. This uses the 'python' Meson module
      and thus bumping the minimum Meson version to 0.51.
      8569c99d
    • Daniele Nicolodi's avatar
      Fix Python test fixtures to run on macOS · fad4f4d0
      Daniele Nicolodi authored
      On macOS the default start method for multiprocessing processes is
      spawn which makes dynamic modification of the code passed to the
      worker processes (the addition of the tmpdir member in this case)
      problematic. The issue is esily solved passing the tmpdir to the
      worker function as a parameter.
      fad4f4d0
  5. 17 Apr, 2021 1 commit
  6. 16 Apr, 2021 4 commits
  7. 15 Apr, 2021 7 commits
  8. 14 Apr, 2021 6 commits
  9. 07 Apr, 2021 12 commits
  10. 06 Apr, 2021 2 commits
    • Carlos Garnacho's avatar
      Merge branch 'wip/rishi/tracker_sparql_connection_update_array-test-zero-length' into 'master' · 386bb4bd
      Carlos Garnacho authored
      libtracker-sparql, tests: Support empty array updates
      
      See merge request !392
      386bb4bd
    • Debarshi Ray's avatar
      libtracker-sparql, tests: Support empty array updates · d11c28c8
      Debarshi Ray authored
      This is for the convenience of users of the API where the length of
      the array depends on runtime conditions and it's possible that it will
      sometimes be empty.
      
      The 'bus' and 'direct' implementations of the update_array_async
      virtual method are mainly predicated on the length of the array. So, as
      long as an empty array is accompanied by a zero length, it should work
      as a NOP.
      
      For the 'bus' implementation, another alternative was to handle it in
      the endpoint (or the service-side) which would otherwise receive an
      empty GUnixFDList. However, it's slightly nicer to handle it in the
      client to avoid the IPC.
      
      !392
      d11c28c8