Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4fe04d6

Browse files
committed
Comment, use better name for test suites
1 parent907c11d commit4fe04d6

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

‎tests/RunTests.cmd‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ if not exist "%RESULTSDIR%" (mkdir "%RESULTSDIR%")
4747

4848
if /I"%2"=="fsharp" (goto :FSHARP)
4949
if /I"%2"=="fsharpqa" (goto :FSHARPQA)
50-
if /I"%2"=="fsharpqacrosstarget01" (goto :FSHARPQA)
51-
if /I"%2"=="fsharpqacrosstarget02" (goto :FSHARPQA)
50+
if /I"%2"=="fsharpqadowntarget" (goto :FSHARPQA)
51+
if /I"%2"=="fsharpqaredirect" (goto :FSHARPQA)
5252
if /I"%2"=="compilerunit" (
5353
setcompilerunitsuffix=net40
5454
goto :COMPILERUNIT
@@ -165,16 +165,16 @@ set PATH=%PATH%;%CORDIR%
165165
ifnotexist%WINDIR%\Microsoft.NET\Framework\v2.0.50727\mscorlib.dllsetNO_TTAGS_ARG=%NO_TTAGS_ARG%,Req20
166166

167167

168-
if /I"%2"=="fsharpqacrosstarget01" (
168+
if /I"%2"=="fsharpqadowntarget" (
169169
setISCFLAGS=--noframework -r"%FSCOREDLLVPREVPATH%" -r"%X86_PROGRAMFILES%\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\mscorlib.dll" -r System.dll -r System.Runtime.dll -r System.Xml.dll -r System.Data.dll -r System.Web.dll -r System.Core.dll -r System.Numerics.dll
170170
setNO_TTAGS_ARG=%NO_TTAGS_ARG%,NoCrossVer,FSI
171171
)
172172

173-
if /I"%2"=="fsharpqacrosstarget02" (
173+
if /I"%2"=="fsharpqaredirect" (
174174
setISCFLAGS=--noframework -r"%FSCOREDLLVPREVPATH%" -r"%X86_PROGRAMFILES%\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\mscorlib.dll" -r System.dll -r System.Runtime.dll -r System.Xml.dll -r System.Data.dll -r System.Web.dll -r System.Core.dll -r System.Numerics.dll
175175
setPLATFORM=%OSARCH%
176176
setSIMULATOR_PIPE="%~dp0\fsharpqa\testenv\bin\$PLATFORM\ExecAssembly.exe"
177-
setNO_TTAGS_ARG=%NO_TTAGS_ARG%,NoCrossVer,NoCrossCrossVer,FSI
177+
setNO_TTAGS_ARG=%NO_TTAGS_ARG%,NoCrossVer,FSI
178178
)
179179

180180
setRESULTFILE=FSharpQA_Results.log

‎tests/fsharpqa/testenv/src/ExecAssembly/Program.fs‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
openSystem.Security
33
openSystem.Security.Permissions
44

5+
(*
6+
This program loads a specified .NET exe and runs it in a dedicated appdomain.
7+
Useful for 2 types of tests:
8+
- The exe is build against .NET 2
9+
- Use this to force it to run in .NET 4+ environment
10+
- The exe is built against an earlier version of FSharp.Core
11+
- Use this to force it to run with binding to latest FSharp.Core
12+
13+
Usage: ExecAssembly <path to exe> [optional args for exe]
14+
*)
15+
516
[<EntryPoint>]
617
letmain args=
718
letsetup= AppDomainSetup(ApplicationBase= Environment.CurrentDirectory)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp