Skip to content
Snippets Groups Projects
  1. Apr 13, 2024
  2. Apr 12, 2024
  3. Apr 11, 2024
  4. Mar 13, 2024
    • Frantisek Sumsal's avatar
      test: support dbus-daemon v1.15.2 · 0cdc6e08
      Frantisek Sumsal authored
      dbus-daemon v1.15.2 switched from using abstract sockets to path-based
      sockets. Let's tweak the reference tests to support both cases.
      0cdc6e08
    • Frantisek Sumsal's avatar
      test: separate reference tests into a suite · c2163fac
      Frantisek Sumsal authored
      Newer meson doesn't like colons in test names:
      
      test/dbus/meson.build:78: DEPRECATION: ":" is not allowed in test name "dbus-daemon(1): Connection", it has been replaced with "_"
      test/dbus/meson.build:79: DEPRECATION: ":" is not allowed in test name "dbus-daemon(1): Message passing", it has been replaced with "_"
      ...
      
      Let's instead separate the reference tests/benchmarks into their own
      suite. This also makes running just the reference tests easier by using
      meson test's --suite= argument:
      
      $ meson test -C build --list --suite 'dbus-daemon(1)'
      dbus-broker:dbus-daemon(1) / Broker API
      dbus-broker:dbus-daemon(1) / Driver API
      dbus-broker:dbus-daemon(1) / FD Stream Constraints
      dbus-broker:dbus-daemon(1) / Client Lifetime
      dbus-broker:dbus-daemon(1) / Signals and Matches
      c2163fac
    • Frantisek Sumsal's avatar
      test: use get_variable() instead of deprecated get_pkgconfig_variable() · 423b5d83
      Frantisek Sumsal authored
      get_pkgconfig_variable() was deprecated in 0.56.0.
      
      test/dbus/meson.build:76: WARNING: Project targets '>=0.60.0' but uses feature deprecated since '0.56.0':
          dependency.get_pkgconfig_variable. use dependency.get_variable(pkgconfig : ...) instead
      423b5d83
  5. Mar 12, 2024
    • Frantisek Sumsal's avatar
      test: integration tests · db8f3cac
      Frantisek Sumsal authored
      Let's follow-up on 0a0b0fad and introduce a second Packit job that runs
      integration tests on the just built RPMs in Testing Farm [0].
      
      The test organization and execution is handled by tmt [1]. To not
      unnecessarily pollute the dbus-broker's git root, the tmt root is
      initialized in the test/integration/ subdirectory (meaning that for the
      tmt commands to work correctly you need to be somewhere below this
      directory).
      
      Since there are no pre-existing integration tests, add a simple one that
      runs dfuzzer on the org.freedesktop.systemd1 D-Bus interface to
      exercise dbus-broker a bit. A short README file is provided as well with
      instructions on how to easily add a new test case, and with some links
      where to find more information about tmt.
      
      [0] https://packit.dev/docs/configuration/upstream/tests
      [1] https://tmt.readthedocs.io/en/stable/overview.html
      db8f3cac
  6. Mar 09, 2024
    • Frantisek Sumsal's avatar
      ci: introduce Packit · 0a0b0fad
      Frantisek Sumsal authored
      Build (and test) dbus-broker on all active Fedora releases using Packit.
      This uses Fedora's spec file (from Rawhide) with a couple of tweaks, so
      we don't have to ship our own.
      
      Replaces: #279
      0a0b0fad
  7. Feb 16, 2024
  8. Jan 11, 2024
  9. Dec 30, 2023
  10. Dec 24, 2023
  11. Dec 20, 2023
  12. Dec 19, 2023
  13. Dec 14, 2023
Loading