Skip to content

Commit

Permalink
use /tmp for sockets on macos during tests
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@19482 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 26, 2018
1 parent 57caeed commit 5c8993e
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,16 @@ class ServerMixinsOptionTestUtil(ServerTestUtil):
def setUpClass(cls):
ServerTestUtil.setUpClass()
cls.default_xpra_args = []
if POSIX and not OSX:
cls.default_xpra_args = [
"--systemd-run=no",
"--pulseaudio=no",
if POSIX:
cls.default_xpra_args += [
"--socket-dirs=/tmp",
"--start=xterm",
]
if not OSX:
cls.default_xpra_args += [
"--systemd-run=no",
"--pulseaudio=no",
"--start=xterm",
]
cls.display = None
cls.xvfb = None
cls.client_display = None
Expand Down

0 comments on commit 5c8993e

Please sign in to comment.