mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1114822 - Add an option to specify the location of the standalone server. r=dmose
This commit is contained in:
parent
22cc89f13e
commit
545ae6c276
@ -56,8 +56,10 @@ class LoopTestServers:
|
||||
|
||||
@staticmethod
|
||||
def start_content_server():
|
||||
content_server_location = os.path.join(os.path.dirname(__file__),
|
||||
"../../standalone")
|
||||
content_server_location = os.environ.get('STANDALONE_SERVER')
|
||||
if content_server_location is None:
|
||||
content_server_location = os.path.join(os.path.dirname(__file__),
|
||||
"../../standalone")
|
||||
os.chdir(content_server_location)
|
||||
|
||||
p = processhandler.ProcessHandler(CONTENT_SERVER_COMMAND,
|
||||
|
Loading…
Reference in New Issue
Block a user