Skip to content

Commit 3f9b5aa

Browse files
vzarytovskiibaronfel
authored andcommitted
Fixed path to FSI for scripts tests
1 parent 37b2be1 commit 3f9b5aa

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/FSharp.Test.Utilities/TestFramework.fs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,9 @@ let config configurationName envVars =
245245
File.Copy(coreclrdll, Path.GetDirectoryName(ILDASM) ++ CORECLR_DLL, overwrite=true)
246246
File.Copy(coreclrdll, Path.GetDirectoryName(ILASM) ++ CORECLR_DLL, overwrite=true)
247247

248-
let FSI_FOR_SCRIPTS = ("fsi" ++ configurationName ++ fsiArchitecture ++ "fsi.exe")
249-
let FSI = requireArtifact FSI_FOR_SCRIPTS
248+
let FSI_PATH = ("fsi" ++ configurationName ++ fsiArchitecture ++ "fsi.exe")
249+
let FSI_FOR_SCRIPTS = requireArtifact FSI_PATH
250+
let FSI = requireArtifact FSI_PATH
250251
#if !NETCOREAPP
251252
let FSIANYCPU = requireArtifact ("fsiAnyCpu" ++ configurationName ++ "net472" ++ "fsiAnyCpu.exe")
252253
#endif
@@ -273,7 +274,7 @@ let config configurationName envVars =
273274
FSIANYCPU = FSIANYCPU
274275
#endif
275276
FSI_FOR_SCRIPTS = FSI_FOR_SCRIPTS
276-
FSharpBuild = FSharpBuild
277+
SharpBuild = FSharpBuild
277278
FSharpCompilerInteractiveSettings = FSharpCompilerInteractiveSettings
278279
csc_flags = csc_flags
279280
fsc_flags = fsc_flags
@@ -296,6 +297,7 @@ let logConfig (cfg: TestConfig) =
296297
#if !NETCOREAPP
297298
log "FSIANYCPU =%s" cfg.FSIANYCPU
298299
#endif
300+
log "FSI_FOR_SCRIPTS =%s" cfg.FSI_FOR_SCRIPTS
299301
log "fsi_flags =%s" cfg.fsi_flags
300302
log "ILDASM =%s" cfg.ILDASM
301303
log "PEVERIFY =%s" cfg.PEVERIFY

0 commit comments

Comments
 (0)