mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
43 lines
1.3 KiB
C#
43 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
using Cosmos.Build.Common;
|
|
using Cosmos.TestRunner.Core;
|
|
|
|
namespace Cosmos.TestRunner.Full
|
|
{
|
|
public class DefaultEngineConfiguration : IEngineConfiguration
|
|
{
|
|
public virtual int AllowedSecondsInKernel => 6000;
|
|
|
|
public virtual IEnumerable<RunTargetEnum> RunTargets
|
|
{
|
|
get
|
|
{
|
|
yield return RunTargetEnum.Bochs;
|
|
//yield return RunTargetEnum.VMware;
|
|
//yield return RunTargetEnum.HyperV;
|
|
}
|
|
}
|
|
|
|
public virtual bool RunWithGDB => false;
|
|
public virtual bool StartBochsDebugGUI => false;
|
|
|
|
public virtual bool DebugIL2CPU => false;
|
|
public virtual string KernelPkg => String.Empty;
|
|
public virtual TraceAssemblies TraceAssembliesLevel => TraceAssemblies.User;
|
|
public virtual bool EnableStackCorruptionChecks => true;
|
|
public virtual StackCorruptionDetectionLevel StackCorruptionDetectionLevel => StackCorruptionDetectionLevel.AllInstructions;
|
|
|
|
public virtual IEnumerable<string> KernelAssembliesToRun
|
|
{
|
|
get
|
|
{
|
|
foreach (var xKernelType in TestKernelSets.GetKernelTypesToRun())
|
|
{
|
|
yield return xKernelType.Assembly.Location;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|