Skip to content

Commit

Permalink
test: temporarily enable the bluez plugin and its tests
Browse files Browse the repository at this point in the history
Until the bluez plugin is enabled by default, enable it manually in the
development flatpak and CI for testing purposes.

Also add two temporary ThreadSanitizer suppressions until they can be
fixed.
  • Loading branch information
andyholmes committed Oct 5, 2022
1 parent 126b0e8 commit dfdce56
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build-aux/flatpak/ca.andyholmes.Valent.Devel.Tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"--socket=session-bus",
"--socket=ssh-auth",
"--socket=wayland",
"--system-talk-name=org.bluez",
"--system-talk-name=org.freedesktop.hostname1",
"--system-talk-name=org.freedesktop.login1",
"--system-talk-name=org.freedesktop.ModemManager1",
Expand Down Expand Up @@ -252,6 +253,7 @@
"config-opts" : [
"--prefix=/app",
"--buildtype=debugoptimized",
"-Dplugin_bluez=true",
"-Dprofile=devel",
"-Dtests=true",
"-Dtracing=true"
Expand Down
1 change: 1 addition & 0 deletions build-aux/flatpak/ca.andyholmes.Valent.Devel.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@
"config-opts" : [
"--prefix=/app",
"--buildtype=debugoptimized",
"-Dplugin_bluez=true",
"-Dprofile=devel",
"-Dtests=true",
"-Dtracing=true"
Expand Down
4 changes: 4 additions & 0 deletions tests/extra/tsan.supp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
#
mutex:valent_device_get_type_once

# src/plugins/bluez/valent-mux-io-stream.c
race:valent_mux_io_stream_constructed
race:valent_mux_io_stream_finalize

# src/plugins/sms/valent-sms-store.c
race:valent_sms_store_thread

Expand Down

0 comments on commit dfdce56

Please sign in to comment.