We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dfd272 commit 3bc9143Copy full SHA for 3bc9143
tests/Runfs.Tests/ScriptTests.fs
@@ -9,11 +9,17 @@ let thisFileDirectory = __SOURCE_DIRECTORY__
9
let testFile1 = Path.Join(thisFileDirectory, "TestFiles/test1.fs")
10
let testFile2 = Path.Join(thisFileDirectory, "TestFiles/test2.fs")
11
12
-let runfsDll = Path.Join(thisFileDirectory, "../../artifacts/bin/runfs/debug/Runfs.dll")
+let configPath =
13
+ #if DEBUG
14
+ "debug"
15
+ #else
16
+ "release"
17
+ #endif
18
+let runfsDll = Path.Join(thisFileDirectory, $"../../artifacts/bin/runfs/{configPath}/Runfs.dll")
19
20
[<Fact>]
21
let ``found runfs executable`` () =
- Assert.True(File.Exists runfsDll)
22
+ Assert.True(File.Exists runfsDll, $"not found: {runfsDll}")
23
24
25
let ``testFile1 runs correctly`` () =
0 commit comments