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

Commite5041d4

Browse files
committed
Support for targeting downlevel, then executing redirected back to vCurrent
1 parent3577b5a commite5041d4

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

‎tests/RunTests.cmd‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ if not exist "%RESULTSDIR%" (mkdir "%RESULTSDIR%")
4848
if /I"%2"=="fsharp" (goto :FSHARP)
4949
if /I"%2"=="fsharpqa" (goto :FSHARPQA)
5050
if /I"%2"=="fsharpqacrosstarget01" (goto :FSHARPQA)
51+
if /I"%2"=="fsharpqacrosstarget02" (goto :FSHARPQA)
5152
if /I"%2"=="compilerunit" (
5253
setcompilerunitsuffix=net40
5354
goto :COMPILERUNIT
@@ -172,7 +173,7 @@ if /I "%2" == "fsharpqacrosstarget01" (
172173
if /I"%2"=="fsharpqacrosstarget02" (
173174
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
174175
setSIMULATOR_PIPE="%FSCBINPATH%\fsi.exe""%~dp0\fsharpqa\testenv\bin\ExecAssembly.fsx"
175-
setNO_TTAGS_ARG=%NO_TTAGS_ARG%,NoCrossVer,FSI
176+
setNO_TTAGS_ARG=%NO_TTAGS_ARG%,NoCrossVer,NoCrossCrossVer,FSI
176177
)
177178

178179
setRESULTFILE=FSharpQA_Results.log

‎tests/fsharpqa/Source/Conformance/DeclarationElements/P-invokeDeclarations/env.lst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77

88
SOURCE=E_DLLImportInTypeDef01.fs SCFLAGS="--test:ErrorRanges"# E_DLLImportInTypeDef01.fs
99
SOURCE=CallingConventions01.fs SCFLAGS="--platform:x86"# CallingConventions01.fs - x86
10-
SOURCE=CallingConventions01.fs SCFLAGS="--platform:x64 --define:AMD64"# CallingConventions01.fs - x64
10+
NoCrossCrossVerSOURCE=CallingConventions01.fs SCFLAGS="--platform:x64 --define:AMD64"# CallingConventions01.fs - x64
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SOURCE=addressof_local_unit.fsx SCFLAGS=-a# addressof_local_unit.fsx
22
NoMTSOURCE=addressof001.fsx PRECMD="\$CSC_PIPE /t:library addressof001dll.cs"# addressof001.fsx
33
NoMTSOURCE=addressof002.fsx PRECMD="\$CSC_PIPE /t:library addressof002dll.cs"# addressof002.fsx
4-
NOMONOSOURCE=addressof003.fs SCFLAGS="--test:ErrorRanges" PRECMD="copy /y addressof003dll_%OSARCH%.dll addressof003dll.dll" PEVER=/MD# addressof003.fs
4+
NOMONO,NoCrossCrossVerSOURCE=addressof003.fs SCFLAGS="--test:ErrorRanges" PRECMD="copy /y addressof003dll_%OSARCH%.dll addressof003dll.dll" PEVER=/MD# addressof003.fs
55
SOURCE=E_byrefvaluesnotpermitted001.fs SCFLAGS="--test:ErrorRanges"# E_byrefvaluesnotpermitted001.fs
66
SOURCE=E_byrefvaluesnotpermitted002.fs SCFLAGS="--test:ErrorRanges"# E_byrefvaluesnotpermitted002.fs

‎tests/fsharpqa/testenv/bin/ExecAssembly.fsx‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ let appdomain = System.AppDomain.CreateDomain("F# targeting NetFx 4.0", null, se
1616
// Set the assembly to be loaded and executed. It will be a command line argument...
1717
letassemblyundertest= fsi.CommandLineArgs.[1]
1818

19+
// capture the arguments that should be passed to the exe itself
20+
letexeArgs= fsi.CommandLineArgs.[2..]
21+
1922
// Execute the assembly
20-
letrv= appdomain.ExecuteAssembly(assemblyundertest);
23+
letrv= appdomain.ExecuteAssembly(assemblyundertest, exeArgs);
2124

2225
// Return exit code to the automation harness
2326
exit rv

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp