diff --git a/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/noframework.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/noframework/noframework.fs similarity index 81% rename from tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/noframework.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/noframework/noframework.fs index 15689fe6c172d95443b28bc2d9da643f789a32d7..5b988ceb6e97243e5bebd99924d8c874a6f87681 100644 --- a/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/noframework.fs +++ b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/noframework/noframework.fs @@ -10,7 +10,7 @@ module noframework = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/noframework) // - [] + [] let ``noframework - noframework02.fs - --noframework`` compilation = compilation |> asFsx diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/noframework/noframework02.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/noframework/noframework02.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/noframework/noframework02.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/noframework/noframework02.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_01.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_01.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_01.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_01.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_02.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_02.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_02.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_02.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_03.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_03.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_03.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_03.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_04.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_04.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_04.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_04.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_05.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_05.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_05.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_05.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_06.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_06.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_06.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_06.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_07.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_07.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_07.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_07.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_08.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_08.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_08.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_08.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_09.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_09.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_09.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_09.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_10.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_10.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_10.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_10.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_11.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_11.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_11.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_11.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_12.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_12.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_12.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_12.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_13.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_13.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_13.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_13.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_15.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_15.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_15.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_15.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_16.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_16.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/platform/error_16.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_16.fs diff --git a/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/platform.fs similarity index 83% rename from tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/platform.fs index 8063e7aa5b2cfd9716288de6dadfac9838545d01..5f5e803c0bc594f693c64235d448a6513dbe0225 100644 --- a/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform.fs +++ b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/platform.fs @@ -10,7 +10,7 @@ module platform = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/platform) //The 'anycpu32bitpreferred' platform can only be used with EXE targets\. You must use 'anycpu' instead\. - [] + [] let ``platform - error_16.fs - --target:library --platform:anycpu32bitpreferred`` compilation = compilation |> asFs @@ -23,7 +23,7 @@ module platform = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/platform) //Unrecognized option: '--PLATFORM' - [] + [] let ``platform - error_01.fs - --PLATFORM:anycpu`` compilation = compilation |> asFsx @@ -36,7 +36,7 @@ module platform = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/platform) //Unrecognized option: '--PlatForm' - [] + [] let ``platform - error_02.fs - --PlatForm:anycpu`` compilation = compilation |> asFsx @@ -49,7 +49,7 @@ module platform = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/platform) //Unrecognized platform 'ITANIUM', valid values are 'x86', 'x64', 'Arm', 'Arm64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu' - [] + [] let ``platform - error_03.fs - --platform:ITANIUM`` compilation = compilation |> asFsx @@ -62,7 +62,7 @@ module platform = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/platform) //Unrecognized platform 'ANYCPU', valid values are 'x86', 'x64', 'Arm', 'Arm64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu' - [] + [] let ``platform - error_04.fs - --platform:ANYCPU`` compilation = compilation |> asFsx @@ -75,7 +75,7 @@ module platform = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/platform) //Unrecognized platform 'X86', valid values are 'x86', 'x64', 'Arm', 'Arm64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu' - [] + [] let ``platform - error_05.fs - --platform:X86`` compilation = compilation |> asFsx @@ -88,7 +88,7 @@ module platform = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/platform) //Unrecognized platform 'X64', valid values are 'x86', 'x64', 'Arm', 'Arm64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu' - [] + [] let ``platform - error_06.fs - --platform:X64`` compilation = compilation |> asFsx @@ -101,7 +101,7 @@ module platform = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/platform) //Unrecognized platform 'IA64', valid values are 'x86', 'x64', 'Arm', 'Arm64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu' - [] + [] let ``platform - error_07.fs - --platform:IA64`` compilation = compilation |> asFsx @@ -114,7 +114,7 @@ module platform = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/platform) //Unrecognized platform 'i386', valid values are 'x86', 'x64', 'Arm', 'Arm64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu' - [] + [] let ``platform - error_08.fs - --platform:i386`` compilation = compilation |> asFsx @@ -127,7 +127,7 @@ module platform = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/platform) //Unrecognized platform 'AMD64', valid values are 'x86', 'x64', 'Arm', 'Arm64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu' - [] + [] let ``platform - error_09.fs - --platform:AMD64`` compilation = compilation |> asFsx @@ -140,7 +140,7 @@ module platform = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/platform) //Unrecognized platform 'PPC', valid values are 'x86', 'x64', 'Arm', 'Arm64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu' - [] + [] let ``platform - error_10.fs - --platform:PPC`` compilation = compilation |> asFsx @@ -153,7 +153,7 @@ module platform = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/platform) //Unrecognized platform 'ARM', valid values are 'x86', 'x64', 'Arm', 'Arm64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu' - [] + [] let ``platform - error_15.fs - --platform:ARM`` compilation = compilation |> asFsx @@ -166,7 +166,7 @@ module platform = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/platform) //Unrecognized option: '--platform-' - [] + [] let ``platform - error_11.fs - --platform-:anycpu`` compilation = compilation |> asFsx @@ -179,7 +179,7 @@ module platform = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/platform) //Unrecognized option: '--PLATFORM\+' - [] + [] let ``platform - error_12.fs - --PLATFORM+:anycpu`` compilation = compilation |> asFsx @@ -192,7 +192,7 @@ module platform = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/platform) //Unrecognized option: '---platform' - [] + [] let ``platform - error_13.fs - ---platform:anycpu`` compilation = compilation |> asFsx diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/times/error_01.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times/error_01.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/times/error_01.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times/error_01.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/times/error_02.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times/error_02.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/times/error_02.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times/error_02.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/times/error_03.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times/error_03.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/times/error_03.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times/error_03.fs diff --git a/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times/times.fs similarity index 81% rename from tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times/times.fs index 95ea392f1aedc3515e5cb55d383f383284be1560..dcdd57b4000091bbf7a531da5de07c4f2fd2e5c3 100644 --- a/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times.fs +++ b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times/times.fs @@ -10,7 +10,7 @@ module times = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/times) //Unrecognized option: '--Times' - [] + [] let ``times - error_01.fs - --Times`` compilation = compilation |> asFsx @@ -23,7 +23,7 @@ module times = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/times) //Unrecognized option: '--times-' - [] + [] let ``times - error_02.fs - --times-`` compilation = compilation |> asFsx @@ -36,7 +36,7 @@ module times = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/times) //Unrecognized option: '--times\+' - [] + [] let ``times - error_03.fs - --times+`` compilation = compilation |> asFsx diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/times/times01.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times/times01.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/times/times01.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times/times01.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/nowarn.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/nowarn.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/nowarn.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/nowarn.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/nowarn_readonlystruct.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/nowarn_readonlystruct.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/nowarn_readonlystruct.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/nowarn_readonlystruct.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/nowarn_with_warnaserror01.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/nowarn_with_warnaserror01.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/nowarn_with_warnaserror01.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/nowarn_with_warnaserror01.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/nowarn_with_warnaserror02.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/nowarn_with_warnaserror02.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/nowarn_with_warnaserror02.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/nowarn_with_warnaserror02.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/nowarn_with_warnaserror03.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/nowarn_with_warnaserror03.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/nowarn_with_warnaserror03.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/nowarn_with_warnaserror03.fs diff --git a/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn.fs similarity index 75% rename from tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn.fs index 4e98ff92545ab2aefd0bca7acbc401cf28ce6716..63fc7382a5a31c5fd38b49251affc78725e36eff 100644 --- a/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn.fs +++ b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn.fs @@ -8,7 +8,7 @@ open FSharp.Test.Compiler module TestCompilerWarningLevel = - [] + [] let ``warn_level0_fs --warn:0`` compilation = compilation |> asExe @@ -16,7 +16,7 @@ module TestCompilerWarningLevel = |> compileAndRun |> shouldSucceed - [] + [] let ``warn_level1_fs --warn:1 --warnaserror:52`` compilation = compilation |> asExe @@ -24,7 +24,7 @@ module TestCompilerWarningLevel = |> compile |> shouldSucceed - [] + [] let ``warn_level2_fs --warn:2 --warnaserror:52`` compilation = compilation |> asExe @@ -32,7 +32,7 @@ module TestCompilerWarningLevel = |> compile |> shouldSucceed - [] + [] let ``warn_level3_fs --warn:3 --warnaserror:52`` compilation = compilation |> asExe @@ -40,7 +40,7 @@ module TestCompilerWarningLevel = |> compile |> shouldSucceed - [] + [] let ``warn_level4_fs --warn:4 --warnaserror:52`` compilation = compilation |> asExe @@ -48,7 +48,7 @@ module TestCompilerWarningLevel = |> compile |> shouldSucceed - [] + [] let ``warn_level5_fs --warn:5 --warnaserror:52`` compilation = compilation |> asExe @@ -59,7 +59,7 @@ module TestCompilerWarningLevel = |> withDiagnosticMessageMatches "The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from a member and another member is then accessed$" |> ignore - [] + [] let ``warn_level5_fs --warn:5`` compilation = compilation |> asExe @@ -72,7 +72,7 @@ module TestCompilerWarningLevel = #if NETSTANDARD // This test works with KeyValuePair, which is not a 'readonly struct' in net472 - [] + [] let ``no error 52 with readonly struct`` compilation = compilation |> asExe @@ -82,7 +82,7 @@ module TestCompilerWarningLevel = |> ignore #endif - [] + [] let ``warn_level6_fs --warn:6`` compilation = compilation |> asExe @@ -93,7 +93,7 @@ module TestCompilerWarningLevel = |> withDiagnosticMessageMatches "Invalid warning level '6'" |> ignore - [] + [] let ``nowarn_fs --warnaserror`` compilation = compilation |> asExe @@ -102,7 +102,7 @@ module TestCompilerWarningLevel = |> shouldSucceed |> ignore - [] + [] let ``warn40_fs`` compilation = compilation |> asExe @@ -115,7 +115,7 @@ module TestCompilerWarningLevel = ] |> ignore - [] + [] let ``warn40_fs --warnaserror`` compilation = compilation |> asExe @@ -129,7 +129,7 @@ module TestCompilerWarningLevel = ] |> ignore - [] + [] let ``warn40_fs --nowarn:40;21`` compilation = compilation |> asExe @@ -138,7 +138,7 @@ module TestCompilerWarningLevel = |> shouldSucceed |> ignore - [] + [] let ``warn40_fs --nowarn:NU0000;FS40;NU0001`` compilation = compilation |> asExe @@ -147,7 +147,7 @@ module TestCompilerWarningLevel = |> shouldSucceed |> ignore - [] + [] let ``warn40_fs --nowarn:FS0040`` compilation = compilation |> asExe diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/warn40.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn40.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/warn40.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn40.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/warn_level0.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn_level0.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/warn_level0.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn_level0.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/warn_level1.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn_level1.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/warn_level1.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn_level1.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/warn_level2.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn_level2.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/warn_level2.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn_level2.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/warn_level3.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn_level3.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/warn_level3.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn_level3.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/warn_level4.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn_level4.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/warn_level4.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn_level4.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/warn_level5.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn_level5.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/warn_level5.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn_level5.fs diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/warn_level6.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn_level6.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warn/warn_level6.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn_level6.fs diff --git a/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warnon.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warnon/warnon.fs similarity index 84% rename from tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warnon.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warnon/warnon.fs index d233f05a4ac8278526d3cb765d95d15f13f710b1..91322a0595daf9507a97853a84f4430dca6fa7d3 100644 --- a/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warnon.fs +++ b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warnon/warnon.fs @@ -10,7 +10,7 @@ module warnon = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/warnon) //The value 'n' is unused$ - [] + [] let ``warnon - warnon01.fs - --warnon:1182 --test:ErrorRanges`` compilation = compilation |> asFsx @@ -23,7 +23,7 @@ module warnon = // This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/warnon) //The value 'n' is unused$ - [] + [] let ``warnon - warnon01.fs - --warnon:NU0001;FS1182;NU0001 --test:ErrorRanges`` compilation = compilation |> asFsx diff --git a/tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warnon/warnon01.fs b/tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warnon/warnon01.fs similarity index 100% rename from tests/FSharp.Compiler.ComponentTests/resources/tests/CompilerOptions/fsc/warnon/warnon01.fs rename to tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warnon/warnon01.fs diff --git a/tests/FSharp.Compiler.ComponentTests/Conformance/DeclarationElements/CustomAttributes/ArgumentsOfAllTypes/env.lst b/tests/FSharp.Compiler.ComponentTests/Conformance/DeclarationElements/CustomAttributes/ArgumentsOfAllTypes/env.lst deleted file mode 100644 index e740078e5a793d75286f8f3c8e93206ec7bf46ff..0000000000000000000000000000000000000000 --- a/tests/FSharp.Compiler.ComponentTests/Conformance/DeclarationElements/CustomAttributes/ArgumentsOfAllTypes/env.lst +++ /dev/null @@ -1,41 +0,0 @@ -# This test builds an F# library with attributes.. -# ... and then it consumes them from C# code -NoMT SOURCE=FSharpAttrLibrary.fs SCFLAGS=-a # FSharpAttrLibrary.fs -NoMT SOURCE=dummy.fs PRECMD="\$CSC_PIPE CSharpConsumer.cs /reference:System.Core.dll /r:FSharpAttrLibrary.dll" POSTCMD=CSharpConsumer.exe # CSharpConsumer - -# The following tests build a C# library with attributes... -# .. then consumes them from F# directly and also by creating other attributes inherited from them -# .. which are eventually consumed again from F# -NoMT SOURCE=dummy.fs PRECMD="\$CSC_PIPE /target:library /reference:System.dll CSLibraryWithAttributes.cs" # CSLibraryWithAttributes.cs -NoMT SOURCE=System_Int16.fsx SCFLAGS="-a -r CSLibraryWithAttributes.dll" # System_Int16.fsx -NoMT SOURCE=System_Int16_Consumer.fsx SCFLAGS="-r CSLibraryWithAttributes.dll -r System_Int16.dll" # System_Int16_Consumer.fsx -NoMT SOURCE=System_Int32.fsx SCFLAGS="-a -r CSLibraryWithAttributes.dll" # System_Int32.fsx -NoMT SOURCE=System_Int32_Consumer.fsx SCFLAGS="-r CSLibraryWithAttributes.dll -r System_Int32.dll" # System_Int32_Consumer.fsx -NoMT SOURCE=System_Int64.fsx SCFLAGS="-a -r CSLibraryWithAttributes.dll" # System_Int64.fsx -NoMT SOURCE=System_Int64_Consumer.fsx SCFLAGS="-r CSLibraryWithAttributes.dll -r System_Int64.dll" # System_Int64_Consumer.fsx -NoMT SOURCE=System_UInt16.fsx SCFLAGS="-a -r CSLibraryWithAttributes.dll" # System_UInt16.fsx -NoMT SOURCE=System_UInt16_Consumer.fsx SCFLAGS="-r CSLibraryWithAttributes.dll -r System_UInt16.dll" # System_UInt16_Consumer.fsx -NoMT SOURCE=System_UInt32.fsx SCFLAGS="-a -r CSLibraryWithAttributes.dll" # System_UInt32.fsx -NoMT SOURCE=System_UInt32_Consumer.fsx SCFLAGS="-r CSLibraryWithAttributes.dll -r System_UInt32.dll" # System_UInt32_Consumer.fsx -NoMT SOURCE=System_UInt64.fsx SCFLAGS="-a -r CSLibraryWithAttributes.dll" # System_UInt64.fsx -NoMT SOURCE=System_UInt64_Consumer.fsx SCFLAGS="-r CSLibraryWithAttributes.dll -r System_UInt64.dll" # System_UInt64_Consumer.fsx -NoMT SOURCE=System_Char.fsx SCFLAGS="-a -r CSLibraryWithAttributes.dll" # System_Char.fsx -NoMT SOURCE=System_Char_Consumer.fsx SCFLAGS="-r CSLibraryWithAttributes.dll -r System_Char.dll" # System_Char_Consumer.fsx -NoMT SOURCE=System_Byte.fsx SCFLAGS="-a -r CSLibraryWithAttributes.dll" # System_Byte.fsx -NoMT SOURCE=System_Byte_Consumer.fsx SCFLAGS="-r CSLibraryWithAttributes.dll -r System_Byte.dll" # System_Byte_Consumer.fsx -NoMT SOURCE=System_SByte.fsx SCFLAGS="-a -r CSLibraryWithAttributes.dll" # System_SByte.fsx -NoMT SOURCE=System_SByte_Consumer.fsx SCFLAGS="-r CSLibraryWithAttributes.dll -r System_SByte.dll" # System_SByte_Consumer.fsx -NoMT SOURCE=System_Single.fsx SCFLAGS="-a -r CSLibraryWithAttributes.dll" # System_Single.fsx -NoMT SOURCE=System_Single_Consumer.fsx SCFLAGS="-r CSLibraryWithAttributes.dll -r System_Single.dll" # System_Single_Consumer.fsx -NoMT SOURCE=System_Double.fsx SCFLAGS="-a -r CSLibraryWithAttributes.dll" # System_Double.fsx -NoMT SOURCE=System_Double_Consumer.fsx SCFLAGS="-r CSLibraryWithAttributes.dll -r System_Double.dll" # System_Double_Consumer.fsx -NoMT SOURCE=System_String.fsx SCFLAGS="-a -r CSLibraryWithAttributes.dll" # System_String.fsx -NoMT SOURCE=System_String_Consumer.fsx SCFLAGS="-r CSLibraryWithAttributes.dll -r System_String.dll" # System_String_Consumer.fsx -NoMT SOURCE=System_DateTimeKind.fsx SCFLAGS="-a -r CSLibraryWithAttributes.dll" # System_DateTimeKind.fsx -NoMT SOURCE=System_DateTimeKind_Consumer.fsx SCFLAGS="-r CSLibraryWithAttributes.dll -r System_DateTimeKind.dll" # System_DateTimeKind_Consumer.fsx -NoMT SOURCE=System_Type.fsx SCFLAGS="-a -r CSLibraryWithAttributes.dll" # System_Type.fsx -NoMT SOURCE=System_Type_Consumer.fsx SCFLAGS="-r CSLibraryWithAttributes.dll -r System_Type.dll" # System_Type_Consumer.fsx -NoMT SOURCE=System_Object.fsx SCFLAGS="-a -r CSLibraryWithAttributes.dll" # System_Object.fsx -NoMT SOURCE=System_Object_Consumer.fsx SCFLAGS="-r CSLibraryWithAttributes.dll -r System_Object.dll" # System_Object_Consumer.fsx -NoMT SOURCE=System_TypeArray.fsx SCFLAGS="-a -r CSLibraryWithAttributes.dll" # System_TypeArray.fsx -NoMT SOURCE=System_TypeArray_Consumer.fsx SCFLAGS="-r CSLibraryWithAttributes.dll -r System_TypeArray.dll" # System_TypeArray_Consumer.fsx diff --git a/tests/FSharp.Compiler.ComponentTests/Conformance/InferenceProcedures/ByrefSafetyAnalysis/env.lst b/tests/FSharp.Compiler.ComponentTests/Conformance/InferenceProcedures/ByrefSafetyAnalysis/env.lst deleted file mode 100644 index 79cd656ac5af058d00c836dfcb189d5491174de8..0000000000000000000000000000000000000000 --- a/tests/FSharp.Compiler.ComponentTests/Conformance/InferenceProcedures/ByrefSafetyAnalysis/env.lst +++ /dev/null @@ -1,16 +0,0 @@ - SOURCE=UseByrefInLambda01.fs # UseByrefInLambda01.fs - SOURCE=E_ByrefAsGenericArgument01.fs SCFLAGS="--test:ErrorRanges" # E_ByrefAsGenericArgument01.fs - SOURCE=E_ByrefUsedInInnerLambda01.fs SCFLAGS="--test:ErrorRanges" # E_ByrefUsedInInnerLambda01.fs - SOURCE=E_ByrefUsedInInnerLambda02.fs SCFLAGS="--test:ErrorRanges" # E_ByrefUsedInInnerLambda02.fs - SOURCE=E_ByrefUsedInInnerLambda03.fs SCFLAGS="--test:ErrorRanges" # E_ByrefUsedInInnerLambda03.fs - SOURCE=E_ByrefUsedInQuotation01.fs SCFLAGS="--test:ErrorRanges" # E_ByrefUsedInQuotation01.fs - SOURCE=E_SetFieldToByref01.fs SCFLAGS="--test:ErrorRanges" # E_SetFieldToByref01.fs - SOURCE=E_SetFieldToByref02.fs SCFLAGS="--test:ErrorRanges" # E_SetFieldToByref02.fs - SOURCE=E_SetFieldToByref03.fs SCFLAGS="--test:ErrorRanges" # E_SetFieldToByref03.fs - SOURCE=E_SetFieldToByref04.fs SCFLAGS="--test:ErrorRanges" # E_SetFieldToByref04.fs - SOURCE=E_SetFieldToByref05.fs SCFLAGS="--test:ErrorRanges" # E_SetFieldToByref05.fs - SOURCE=E_FirstClassFuncTakesByref.fs SCFLAGS="--test:ErrorRanges --flaterrors" # E_FirstClassFuncTakesByref.fs - -NoMT SOURCE=ByrefInFSI1.fsx FSIMODE=PIPE COMPILE_ONLY=1 # ByrefInFSI1.fsx - SOURCE=E_StaticallyResolvedByRef01.fs SCFLAGS="--test:ErrorRanges" # E_StaticallyResolvedByRef01.fs - SOURCE=E_ByrefAsArrayElement.fs SCFLAGS="--test:ErrorRanges" # E_ByrefAsArrayElement.fs diff --git a/tests/FSharp.Compiler.ComponentTests/Conformance/UnionTypes/env.lst b/tests/FSharp.Compiler.ComponentTests/Conformance/UnionTypes/env.lst deleted file mode 100644 index 55b56d6e04736c4c9b2780f76aff613168127547..0000000000000000000000000000000000000000 --- a/tests/FSharp.Compiler.ComponentTests/Conformance/UnionTypes/env.lst +++ /dev/null @@ -1,98 +0,0 @@ - SOURCE=E_GenericFunctionValuedStaticProp01.fs SCFLAGS="--test:ErrorRanges --warnaserror-" # E_GenericFunctionValuedStaticProp01.fs - SOURCE=W_GenericFunctionValuedStaticProp02.fs SCFLAGS="--test:ErrorRanges --warnaserror-" # W_GenericFunctionValuedStaticProp02.fs - - SOURCE=E_Overload_Equals.fs SCFLAGS="--test:ErrorRanges" # E_Overload_Equals.fs - SOURCE=E_Overload_GetHashCode.fs SCFLAGS="--test:ErrorRanges" # E_Overload_GetHashCode.fs - - SOURCE=EqualAndBoxing01.fs # EqualAndBoxing01.fs - - -NoMT SOURCE=Overload_Equals.fs COMPILE_ONLY=1 SCFLAGS=--warnaserror+ FSIMODE=PIPE # Overload_Equals.fs - fsi -NoMT SOURCE=Overload_GetHashCode.fs COMPILE_ONLY=1 SCFLAGS=--warnaserror+ FSIMODE=PIPE # Overload_GetHashCode.fs - fsi - - SOURCE=E_LowercaseDT.fs # E_LowercaseDT.fs - SOURCE=ImplicitEquals001.fs # ImplicitEquals001.fs - - SOURCE=E_UnionsNotNull01.fs # E_UnionsNotNull01.fs - SOURCE=E_UnionsNotNull02.fs # E_UnionsNotNull02.fs - - SOURCE=BeginWithUppercase01.fsx SCFLAGS= # BeginWithUppercase01.fsx - -# Renaming the .exe because for some weird reason on some OSes having 'DispatchSlot' in the .exe -# seems to trigger the UAC dialog... (e.g. Win7 x86) - SOURCE=DispatchSlot_Equals01.fsx SCFLAGS="-o dl_equals01.exe" # DispatchSlot_Equals01.fsx - SOURCE=DispatchSlot_GetHashCode.fsx SCFLAGS="-o dl_gethashcode01.exe" # DispatchSlot_GetHashCode.fsx - - SOURCE=E_BeginWithUppercase01.fsx SCFLAGS="--test:ErrorRanges" # E_BeginWithUppercase01.fsx - - SOURCE=E_BeginWithUppercase02.fsx SCFLAGS="--test:ErrorRanges" # E_BeginWithUppercase02.fsx - - SOURCE=E_BeginWithUppercase03.fsx SCFLAGS="--test:ErrorRanges" # E_BeginWithUppercase03.fsx - - SOURCE=E_BeginWithUppercase04.fsx SCFLAGS="--test:ErrorRanges" # E_BeginWithUppercase04.fsx - - SOURCE=E_BeginWithUppercaseNoPipe01.fsx SCFLAGS="--test:ErrorRanges" # E_BeginWithUppercaseNoPipe01.fsx - SOURCE=E_DuplicateUnionCase01.fsx SCFLAGS="--test:ErrorRanges" # E_DuplicateUnionCase01.fsx - - SOURCE=E_Interface_IComparable.fsx SCFLAGS="--test:ErrorRanges" # E_Interface_IComparable.fsx - - SOURCE=E_Member_Duplicate01.fsx SCFLAGS="--test:ErrorRanges" # E_Member_Duplicate01.fsx - - SOURCE=E_ScopeAndDataConstrAndPattern01.fsx SCFLAGS="--test:ErrorRanges" # E_ScopeAndDataConstrAndPattern01.fsx - - SOURCE=Interface01.fsx SCFLAGS= # Interface01.fsx - - SOURCE=Interface_IComparable.fsx SCFLAGS= # Interface_IComparable.fsx - - SOURCE=E_Interface_IStructuralHash.fsx # E_Interface_IStructuralHash.fsx - - SOURCE=Member01.fsx # Member01.fsx - - SOURCE=Overrides01.fsx # Overrides01.fsx - - SOURCE=Parenthesis01.fsx # Parenthesis01.fsx - - SOURCE=Parenthesis02.fsx # Parenthesis02.fsx - - SOURCE=Parenthesis03.fsx # Parenthesis03.fsx - - SOURCE=Recursive01.fsx SCFLAGS= # Recursive01.fsx - - SOURCE=SampleFromSpec01.fsx SCFLAGS= # SampleFromSpec01.fsx - - SOURCE=SampleFromSpec01b.fsx SCFLAGS= # SampleFromSpec01b.fsx - - SOURCE=W_SampleFromSpec01c.fsx SCFLAGS="--test:ErrorRanges" # W_SampleFromSpec01c.fsx - - - SOURCE=SampleFromSpec01d.fsx SCFLAGS= # SampleFromSpec01d.fsx - - SOURCE=E_SampleFromSpec01d.fsx SCFLAGS="--test:ErrorRanges" # E_SampleFromSpec01d.fsx - SOURCE=E_SampleFromSpec01d2.fsx SCFLAGS="--test:ErrorRanges" # E_SampleFromSpec01d2.fsx - - SOURCE=ScopeAndDataConstrAndPattern01.fsx SCFLAGS= # ScopeAndDataConstrAndPattern01.fsx - - SOURCE=UnionCaseProduction01.fsx SCFLAGS=-a # UnionCaseProduction01.fsx - - SOURCE=UnionCasesProduction01.fsx SCFLAGS=-a # UnionCasesProduction01.fsx - - SOURCE=W_UnionCaseProduction01.fsx SCFLAGS="-a --test:ErrorRanges" # W_UnionCaseProduction01.fsx - - SOURCE=ReflectionOnUnionTypes01.fs SCFLAGS= # ReflectionOnUnionTypes01.fs - - SOURCE=E_InheritUnion.fs # E_InheritUnion.fs - SOURCE=E_UnionFieldNamedTag.fs SCFLAGS="--test:ErrorRanges" # E_UnionFieldNamedTag.fs - - SOURCE=E_UnionFieldNamedTagNoDefault.fs SCFLAGS="--test:ErrorRanges" #E_UnionFieldNamedTagNoDefault.fs - SOURCE=E_UnionMemberNamedTag.fs SCFLAGS="--test:ErrorRanges" #E_UnionMemberNamedTag.fs - SOURCE=E_UnionMemberNamedTagNoDefault.fs SCFLAGS="--test:ErrorRanges" #E_UnionMemberNamedTagNoDefault.fs - SOURCE=E_UnionMemberNamedTags.fs SCFLAGS="--test:ErrorRanges" #E_UnionMemberNamedTags.fs - SOURCE=E_UnionMemberNamedTagsNoDefault.fs SCFLAGS="--test:ErrorRanges" #E_UnionMemberNamedTagsNoDefault.fs - - SOURCE=NamedFields01.fsx SCFLAGS= # NamedFields01.fsx - SOURCE=NamedFields02.fsx SCFLAGS= # NamedFields02.fsx - SOURCE=NamedFields03.fsx SCFLAGS= # NamedFields03.fsx - SOURCE=E_UnionFieldConflictingName.fs SCFLAGS="--test:ErrorRanges" # E_UnionFieldConflictingName.fs - SOURCE=E_UnionConstructorBadFieldName.fs SCFLAGS="--test:ErrorRanges" # E_UnionConstructorBadFieldName.fs - SOURCE=E_FieldNameUsedMulti.fs SCFLAGS="--test:ErrorRanges" # E_FieldNameUsedMulti.fs - SOURCE=E_FieldMemberClash.fs SCFLAGS="--test:ErrorRanges" # E_FieldMemberClash.fs diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AssemblyBoundary/env.lst b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AssemblyBoundary/env.lst deleted file mode 100644 index 401e3a6f896a9fdf5a22cf89fbcfd3648d4c488e..0000000000000000000000000000000000000000 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AssemblyBoundary/env.lst +++ /dev/null @@ -1,7 +0,0 @@ -NoMT SOURCE=test01.fs SCFLAGS="--optimize+ -r:lib01.dll" PRECMD="\$FSC_PIPE -a --optimize+ lib01.fs" # test01.fs -NoMT SOURCE=test02.fs SCFLAGS="--optimize+ -r:lib02.dll" PRECMD="\$FSC_PIPE -a --optimize+ lib02.fs" # test02.fs -NoMT SOURCE=test03.fs SCFLAGS="--optimize+ -r:lib03.dll" PRECMD="\$FSC_PIPE -a --optimize+ lib03.fs" # test03.fs -NoMT SOURCE=test04.fs SCFLAGS="--optimize+ -r:lib04.dll" PRECMD="\$FSC_PIPE -a --optimize+ lib04.fs" # test04.fs - - SOURCE=InlineWithPrivateValues01.fs SCFLAGS="-r:TypeLib01.dll" PRECMD="\$FSC_PIPE -a --optimize+ TypeLib01.fs" # InlineWithPrivateValuesStruct - SOURCE=InlineWithPrivateValues01.fs SCFLAGS="-r:TypeLib02.dll" PRECMD="\$FSC_PIPE -a --optimize+ TypeLib02.fs" # InlineWithPrivateValuesRef diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AssemblyBoundary/keep.lst b/tests/FSharp.Compiler.ComponentTests/EmittedIL/AssemblyBoundary/keep.lst deleted file mode 100644 index f59ec20aabf5842d237244ece8c81ab184faeac1..0000000000000000000000000000000000000000 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/AssemblyBoundary/keep.lst +++ /dev/null @@ -1 +0,0 @@ -* \ No newline at end of file diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/env.lst b/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/env.lst deleted file mode 100644 index ffb1ef3226a4d85e9a798784f2d70e1ae8b5e8c8..0000000000000000000000000000000000000000 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/QueryExpressionStepping/env.lst +++ /dev/null @@ -1,19 +0,0 @@ -NoMT SOURCE=Utils.fs SCFLAGS="-a -r:System.Xml.Linq" # Utils.fs -Retry,NoMT SOURCE=Linq101Aggregates01.fs SCFLAGS="-r:Utils.dll -g --test:EmitFeeFeeAs100001 --optimize-" COMPILE_ONLY=1 POSTCMD="..\\CompareIL.cmd Linq101Aggregates01.exe" # Linq101Aggregates01.fs - CodeGen -NoMT SOURCE=Linq101ElementOperators01.fs SCFLAGS="-r:Utils.dll -g --test:EmitFeeFeeAs100001 --optimize-" COMPILE_ONLY=1 POSTCMD="..\\CompareIL.cmd Linq101ElementOperators01.exe" # Linq101ElementOperators01.fs - CodeGen -NoMT SOURCE=Linq101Grouping01.fs SCFLAGS="-r:Utils.dll -g --test:EmitFeeFeeAs100001 --optimize-" COMPILE_ONLY=1 POSTCMD="..\\CompareIL.cmd Linq101Grouping01.exe" # Linq101Grouping01.fs - CodeGen -NoMT SOURCE=Linq101Joins01.fs SCFLAGS="-r:Utils.dll -g --test:EmitFeeFeeAs100001 --optimize-" COMPILE_ONLY=1 POSTCMD="..\\CompareIL.cmd Linq101Joins01.exe" # Linq101Joins01.fs - CodeGen -NoMT SOURCE=Linq101Ordering01.fs SCFLAGS="-r:Utils.dll -g --test:EmitFeeFeeAs100001 --optimize-" COMPILE_ONLY=1 POSTCMD="..\\CompareIL.cmd Linq101Ordering01.exe" # Linq101Ordering01.fs - CodeGen -NoMT SOURCE=Linq101Partitioning01.fs SCFLAGS="-r:Utils.dll -g --test:EmitFeeFeeAs100001 --optimize-" COMPILE_ONLY=1 POSTCMD="..\\CompareIL.cmd Linq101Partitioning01.exe" # Linq101Partitioning01.fs - CodeGen -NoMT SOURCE=Linq101Quantifiers01.fs SCFLAGS="-r:Utils.dll -g --test:EmitFeeFeeAs100001 --optimize-" COMPILE_ONLY=1 POSTCMD="..\\CompareIL.cmd Linq101Quantifiers01.exe" # Linq101Quantifiers01.fs - CodeGen -Retry,NoMT SOURCE=Linq101Select01.fs SCFLAGS="-r:Utils.dll -g --test:EmitFeeFeeAs100001 --optimize-" COMPILE_ONLY=1 POSTCMD="..\\CompareIL.cmd Linq101Select01.exe" # Linq101Select01.fs - CodeGen -Retry,NoMT SOURCE=Linq101SetOperators01.fs SCFLAGS="-r:Utils.dll -g --test:EmitFeeFeeAs100001 --optimize-" COMPILE_ONLY=1 POSTCMD="..\\CompareIL.cmd Linq101SetOperators01.exe" # Linq101SetOperators01.fs - CodeGen -NoMT SOURCE=Linq101Where01.fs SCFLAGS="-r:Utils.dll -g --test:EmitFeeFeeAs100001 --optimize-" COMPILE_ONLY=1 POSTCMD="..\\CompareIL.cmd Linq101Where01.exe" # Linq101Where01.fs - CodeGen - - - - - - - - diff --git a/tests/FSharp.Compiler.ComponentTests/EmittedIL/StaticInit/env.lst b/tests/FSharp.Compiler.ComponentTests/EmittedIL/StaticInit/env.lst deleted file mode 100644 index 31a98f68d3883f63459bb2b529163c0b2df7e113..0000000000000000000000000000000000000000 --- a/tests/FSharp.Compiler.ComponentTests/EmittedIL/StaticInit/env.lst +++ /dev/null @@ -1,7 +0,0 @@ - SOURCE=LetBinding01.fs SCFLAGS=" -g --test:EmitFeeFeeAs100001 --optimize-" COMPILE_ONLY=1 POSTCMD="..\\CompareIL.cmd LetBinding01.exe" # LetBinding01.fs - - SOURCE=StaticInit_Struct01.fs SCFLAGS="-a -g --test:EmitFeeFeeAs100001 --optimize-" COMPILE_ONLY=1 POSTCMD="..\\CompareIL.cmd StaticInit_Struct01.dll" # StaticInit_Struct01.fs - - - SOURCE=StaticInit_Class01.fs SCFLAGS="-a -g --test:EmitFeeFeeAs100001 --optimize-" COMPILE_ONLY=1 POSTCMD="..\\CompareIL.cmd StaticInit_Class01.dll" # StaticInit_Class01.fs - - - SOURCE=StaticInit_Module01.fs SCFLAGS="-a -g --test:EmitFeeFeeAs100001 --optimize-" COMPILE_ONLY=1 POSTCMD="..\\CompareIL.cmd StaticInit_Module01.dll" # StaticInit_Module01.fs - diff --git a/tests/FSharp.Compiler.ComponentTests/FSharp.Compiler.ComponentTests.fsproj b/tests/FSharp.Compiler.ComponentTests/FSharp.Compiler.ComponentTests.fsproj index d2952286db8c8eb73e85838146e6dd3fb33d211d..a8bb9167159103790cc8f85c2120a990bf19ef3f 100644 --- a/tests/FSharp.Compiler.ComponentTests/FSharp.Compiler.ComponentTests.fsproj +++ b/tests/FSharp.Compiler.ComponentTests/FSharp.Compiler.ComponentTests.fsproj @@ -185,12 +185,13 @@ - - + + + + + - -