-
Notifications
You must be signed in to change notification settings - Fork 802
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure assembly search paths for #r directives include directory o…
…f declaring source file fixes #273 fixes #293 closes #306 commit c81e263 Author: latkin <latkin@microsoft.com> Date: Tue Mar 17 12:34:06 2015 -0700 Add keep.lst file so that shared test lib file isn't whacked immediately commit 7c02652 Author: latkin <latkin@microsoft.com> Date: Tue Mar 17 10:53:46 2015 -0700 Add comments commit a8201de Author: latkin <latkin@microsoft.com> Date: Tue Mar 17 10:49:44 2015 -0700 Expand testing to cover FSC and other scenarios commit f5649e7 Author: latkin <latkin@microsoft.com> Date: Mon Mar 16 17:56:55 2015 -0700 Add IDE unit tests commit 1dc3e15 Author: latkin <latkin@microsoft.com> Date: Mon Mar 16 16:22:58 2015 -0700 Add tests for fsi.exe commit 83e2576 Author: latkin <latkin@microsoft.com> Date: Thu Mar 12 17:44:20 2015 -0700 Make sure assembly search paths for #r directives include directory of declaring source file fixes #273 fixes #293
- Loading branch information
Showing
16 changed files
with
237 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
tests/fsharpqa/Source/InteractiveSession/Misc/aaa/RelativeHashRResolution02_2.fsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#r "./lib.dll" | ||
|
||
module Foo = | ||
let Y = 22 | ||
do | ||
printfn "%O" (Lib.X()) |
6 changes: 6 additions & 0 deletions
6
tests/fsharpqa/Source/InteractiveSession/Misc/aaa/RelativeHashRResolution03_2.fsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#r "lib.dll" | ||
|
||
module Foo = | ||
let Y = 22 | ||
do | ||
printfn "%O" (Lib.X()) |
6 changes: 6 additions & 0 deletions
6
tests/fsharpqa/Source/InteractiveSession/Misc/aaa/RelativeHashRResolution05_2.fsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#r "lib.dll" | ||
|
||
module Foo = | ||
let Y = 22 | ||
do | ||
printfn "%O" (Lib.X()) |
6 changes: 6 additions & 0 deletions
6
tests/fsharpqa/Source/InteractiveSession/Misc/aaa/bbb/RelativeHashRResolution01_2.fsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#r "../lib.dll" | ||
|
||
module Foo = | ||
let Y = 22 | ||
do | ||
printfn "%O" (Lib.X()) |
10 changes: 10 additions & 0 deletions
10
tests/fsharpqa/Source/InteractiveSession/Misc/aaa/bbb/RelativeHashRResolution04_1.fsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#if PIPED_FROM_TEST_DIR | ||
#load "aaa/bbb/RelativeHashRResolution04_2.fsx" | ||
#else | ||
#load "RelativeHashRResolution04_2.fsx" | ||
#endif | ||
|
||
printfn "%O" (Lib.X()) | ||
printfn "%O" RelativeHashRResolution04_2.Foo.Y | ||
|
||
#q ;; |
6 changes: 6 additions & 0 deletions
6
tests/fsharpqa/Source/InteractiveSession/Misc/aaa/bbb/RelativeHashRResolution04_2.fsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#r "../lib.dll" | ||
|
||
module Foo = | ||
let Y = 22 | ||
do | ||
printfn "%O" (Lib.X()) |
10 changes: 10 additions & 0 deletions
10
tests/fsharpqa/Source/InteractiveSession/Misc/aaa/bbb/RelativeHashRResolution05_1.fsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#if PIPED_FROM_TEST_DIR | ||
#load "./aaa/RelativeHashRResolution05_2.fsx" | ||
#else | ||
#load "../RelativeHashRResolution05_2.fsx" | ||
#endif | ||
|
||
printfn "%O" (Lib.X()) | ||
printfn "%O" RelativeHashRResolution05_2.Foo.Y | ||
|
||
#q ;; |
10 changes: 10 additions & 0 deletions
10
tests/fsharpqa/Source/InteractiveSession/Misc/ccc/RelativeHashRResolution01_1.fsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#if PIPED_FROM_TEST_DIR | ||
#load "aaa/bbb/RelativeHashRResolution01_2.fsx" | ||
#else | ||
#load "../aaa/bbb/RelativeHashRResolution01_2.fsx" | ||
#endif | ||
|
||
printfn "%O" (Lib.X()) | ||
printfn "%O" RelativeHashRResolution01_2.Foo.Y | ||
|
||
#q ;; |
10 changes: 10 additions & 0 deletions
10
tests/fsharpqa/Source/InteractiveSession/Misc/ccc/RelativeHashRResolution02_1.fsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#if PIPED_FROM_TEST_DIR | ||
#load "./aaa/RelativeHashRResolution02_2.fsx" | ||
#else | ||
#load "../aaa/RelativeHashRResolution02_2.fsx" | ||
#endif | ||
|
||
printfn "%O" (Lib.X()) | ||
printfn "%O" RelativeHashRResolution02_2.Foo.Y | ||
|
||
#q ;; |
10 changes: 10 additions & 0 deletions
10
tests/fsharpqa/Source/InteractiveSession/Misc/ccc/RelativeHashRResolution03_1.fsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#if PIPED_FROM_TEST_DIR | ||
#load "aaa/RelativeHashRResolution03_2.fsx" | ||
#else | ||
#load "../aaa/RelativeHashRResolution03_2.fsx" | ||
#endif | ||
|
||
printfn "%O" (Lib.X()) | ||
printfn "%O" RelativeHashRResolution03_2.Foo.Y | ||
|
||
#q ;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
aaa\lib.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
module Lib | ||
let X () = 42 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters