mirror of
https://github.com/ppy/osu.git
synced 2024-12-21 08:32:54 +08:00
82e7643df5
Of note, I've disabled IPC on visual test runners as we generally don't use IPC in these cases. Having it set means that the game will not open while visual tests are open, which has been a complaint from devs in the past.
23 lines
580 B
C#
23 lines
580 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using System;
|
|
using osu.Framework;
|
|
using osu.Framework.Platform;
|
|
|
|
namespace osu.Game.Tests
|
|
{
|
|
public static class VisualTestRunner
|
|
{
|
|
[STAThread]
|
|
public static int Main(string[] args)
|
|
{
|
|
using (DesktopGameHost host = Host.GetSuitableDesktopHost(@"osu-development"))
|
|
{
|
|
host.Run(new OsuTestBrowser());
|
|
return 0;
|
|
}
|
|
}
|
|
}
|
|
}
|