mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
added nunit console runner script
This commit is contained in:
parent
73ee1f89fe
commit
cae0ebefc9
9 changed files with 58 additions and 54 deletions
Binary file not shown.
37
Libraries/nunit/nunit-agent-x86.exe.config
Normal file
37
Libraries/nunit/nunit-agent-x86.exe.config
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<!--
|
||||
The .NET 2.0 build of nunit-agent only
|
||||
runs under .NET 2.0 or higher. The setting
|
||||
useLegacyV2RuntimeActivationPolicy only applies
|
||||
under .NET 4.0 and permits use of mixed mode
|
||||
assemblies, which would otherwise not load
|
||||
correctly.
|
||||
-->
|
||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||
<!--
|
||||
Nunit-agent is normally run by the console or gui
|
||||
runners and not independently. In normal usage,
|
||||
the runner specifies which runtime should be used.
|
||||
|
||||
Do NOT add any supportedRuntime elements here,
|
||||
since they may prevent the runner from controlling
|
||||
the runtime that is used!
|
||||
-->
|
||||
</startup>
|
||||
|
||||
<runtime>
|
||||
<!-- Ensure that test exceptions don't crash NUnit -->
|
||||
<legacyUnhandledExceptionPolicy enabled="1" />
|
||||
|
||||
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
|
||||
<loadFromRemoteSources enabled="true" />
|
||||
|
||||
<!-- Look for addins in the addins directory for now -->
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<probing privatePath="lib;addins"/>
|
||||
</assemblyBinding>
|
||||
|
||||
</runtime>
|
||||
|
||||
</configuration>
|
BIN
Libraries/nunit/nunit-agent.exe
Normal file
BIN
Libraries/nunit/nunit-agent.exe
Normal file
Binary file not shown.
Binary file not shown.
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<!--
|
||||
<!--
|
||||
The .NET 2.0 build of the console runner only
|
||||
runs under .NET 2.0 or higher. The setting
|
||||
useLegacyV2RuntimeActivationPolicy only applies
|
||||
|
@ -8,24 +8,17 @@
|
|||
assemblies, which would otherwise not load
|
||||
correctly.
|
||||
-->
|
||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||
<!-- Comment out the next line to force use of .NET 4.0 -->
|
||||
<supportedRuntime version="v2.0.50727" />
|
||||
<supportedRuntime version="v4.0.30319" />
|
||||
</startup>
|
||||
|
||||
<runtime>
|
||||
<!-- Ensure that test exceptions don't crash NUnit -->
|
||||
<legacyUnhandledExceptionPolicy enabled="1" />
|
||||
|
||||
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
|
||||
<loadFromRemoteSources enabled="true" />
|
||||
|
||||
<!-- Look for addins in the addins directory for now -->
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<probing privatePath="lib;addins"/>
|
||||
</assemblyBinding>
|
||||
|
||||
</runtime>
|
||||
|
||||
</configuration>
|
||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||
<!-- Comment out the next line to force use of .NET 4.0 -->
|
||||
</startup>
|
||||
<runtime>
|
||||
<!-- Ensure that test exceptions don't crash NUnit -->
|
||||
<legacyUnhandledExceptionPolicy enabled="1"/>
|
||||
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
|
||||
<loadFromRemoteSources enabled="true"/>
|
||||
<!-- Look for addins in the addins directory for now -->
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<probing privatePath="lib;addins"/>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue