mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
required changes for content benchmarks (#3327)
This commit is contained in:
@@ -9,6 +9,8 @@ namespace Robust.Shared;
|
||||
|
||||
internal static class ProgramShared
|
||||
{
|
||||
public static string PathOffset = "";
|
||||
|
||||
public static void RunExecCommands(IConsoleHost consoleHost, IReadOnlyList<string>? commands)
|
||||
{
|
||||
if (commands == null)
|
||||
@@ -23,12 +25,12 @@ internal static class ProgramShared
|
||||
#if !FULL_RELEASE
|
||||
private static string FindContentRootDir(bool contentStart)
|
||||
{
|
||||
return contentStart ? "../../" : "../../../";
|
||||
return PathOffset + (contentStart ? "../../" : "../../../");
|
||||
}
|
||||
|
||||
private static string FindEngineRootDir(bool contentStart)
|
||||
{
|
||||
return contentStart ? "../../RobustToolbox/" : "../../";
|
||||
return PathOffset + (contentStart ? "../../RobustToolbox/" : "../../");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -250,6 +250,8 @@ namespace Robust.UnitTesting
|
||||
private bool _isAlive = true;
|
||||
private Exception? _unhandledException;
|
||||
|
||||
public IDependencyCollection InstanceDependencyCollection => DependencyCollection;
|
||||
|
||||
public virtual IntegrationOptions? Options { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user