mirror of
https://github.com/ppy/osu.git
synced 2024-12-24 13:22:55 +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.
24 lines
614 B
C#
24 lines
614 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;
|
|
using osu.Game.Tests;
|
|
|
|
namespace osu.Game.Rulesets.EmptyScrolling.Tests
|
|
{
|
|
public static class VisualTestRunner
|
|
{
|
|
[STAThread]
|
|
public static int Main(string[] args)
|
|
{
|
|
using (DesktopGameHost host = Host.GetSuitableDesktopHost(@"osu"))
|
|
{
|
|
host.Run(new OsuTestBrowser());
|
|
return 0;
|
|
}
|
|
}
|
|
}
|
|
}
|