@@ -18,7 +18,7 @@ open Scripting
1818open SingleTest
1919open HandleExpects
2020
21- #if FSHARP _ SUITE _ DRIVES _ CORECLR _ TESTS
21+ #if NETCOREAPP
2222// Use these lines if you want to test CoreCLR
2323let FSC_BASIC = FSC_ CORECLR
2424let FSC_BUILDONLY = FSC_ CORECLR_ BUILDONLY
@@ -234,7 +234,7 @@ module CoreTests =
234234 let cfg = testConfig " SDKTests"
235235 exec cfg cfg.DotNetExe ( " msbuild " + Path.Combine( cfg.Directory, " AllSdkTargetsTests.proj" ))
236236
237- #if ! FSHARP _ SUITE _ DRIVES _ CORECLR _ TESTS
237+ #if ! NETCOREAPP
238238 [<Test>]
239239 let ``attributes - FSC_BASIC`` () = singleTestBuildAndRun " core/attributes" FSC_ BASIC
240240
@@ -476,7 +476,7 @@ module CoreTests =
476476 [<Test>]
477477 let ``enum - FSI_BASIC`` () = singleTestBuildAndRun " core/enum" FSI_ BASIC
478478
479- #if ! FSHARP _ SUITE _ DRIVES _ CORECLR _ TESTS
479+ #if ! NETCOREAPP
480480
481481 // Requires winforms will not run on coreclr
482482 [<Test>]
@@ -956,7 +956,7 @@ module CoreTests =
956956 let ``signedtest - 16`` () = signedtest( " test-sha1024-full-attributes" , " --define:SHA1024" , SigningType.PublicSigned)
957957#endif
958958
959- #if ! FSHARP _ SUITE _ DRIVES _ CORECLR _ TESTS
959+ #if ! NETCOREAPP
960960 [<Test>]
961961 let quotes () =
962962 let cfg = testConfig " core/quotes"
@@ -1355,7 +1355,7 @@ module CoreTests =
13551355 [<Test>]
13561356 let ``fsi_load - FSI_BASIC`` () = singleTestBuildAndRun " core/fsi-load" FSI_ BASIC
13571357
1358- #if ! FSHARP _ SUITE _ DRIVES _ CORECLR _ TESTS
1358+ #if ! NETCOREAPP
13591359 [<Test>]
13601360 let ``measures - AS_DLL`` () = singleTestBuildAndRun " core/measures" AS_ DLL
13611361
@@ -1586,7 +1586,7 @@ module CoreTests =
15861586 [<Test>]
15871587 let ``reflect - FSI_BASIC`` () = singleTestBuildAndRun " core/reflect" FSI_ BASIC
15881588
1589- #if ! FSHARP _ SUITE _ DRIVES _ CORECLR _ TESTS
1589+ #if ! NETCOREAPP
15901590 [<Test>]
15911591 let refnormalization () =
15921592 let cfg = testConfig " core/refnormalization"
@@ -1835,7 +1835,7 @@ module VersionTests =
18351835 [<Test>]
18361836 let ``nameof - fsi`` () = singleTestBuildAndRunVersion " core/nameof/preview" FSI_ BASIC " preview"
18371837
1838- #if ! FSHARP _ SUITE _ DRIVES _ CORECLR _ TESTS
1838+ #if ! NETCOREAPP
18391839module ToolsTests =
18401840
18411841 // This test is disabled in coreclr builds dependent on fixing : https://github.com/Microsoft/visualfsharp/issues/2600
@@ -1885,7 +1885,7 @@ module RegressionTests =
18851885 [<Test >]
18861886 let ``tuple - bug - 1 - FSC_BASIC`` () = singleTestBuildAndRun " regression/tuple-bug-1" FSC_ BASIC
18871887
1888- #if ! FSHARP _ SUITE _ DRIVES _ CORECLR _ TESTS
1888+ #if ! NETCOREAPP
18891889 [<Test>]
18901890 let ``SRTP doesn 't handle calling member hiding hinherited members`` () =
18911891 let cfg = testConfig " regression/5531"
@@ -1920,7 +1920,7 @@ module RegressionTests =
19201920 [<Test >]
19211921 let ``321`` () = singleTestBuildAndRun " regression/321" FSC_ BASIC
19221922
1923- #if ! FSHARP _ SUITE _ DRIVES _ CORECLR _ TESTS
1923+ #if ! NETCOREAPP
19241924 // This test is disabled in coreclr builds dependent on fixing : https://github.com/Microsoft/visualfsharp/issues/2600
19251925 [<Test>]
19261926 let ``655`` () =
@@ -1950,7 +1950,7 @@ module RegressionTests =
19501950 peverify cfg " pack.exe"
19511951#endif
19521952
1953- #if ! FSHARP _ SUITE _ DRIVES _ CORECLR _ TESTS
1953+ #if ! NETCOREAPP
19541954 // Requires WinForms
19551955 [<Test>]
19561956 let ``83`` () = singleTestBuildAndRun " regression/83" FSC_ BASIC
@@ -1973,7 +1973,7 @@ module RegressionTests =
19731973 [<Test >]
19741974 let ``struct - tuple - bug - 1 - FSI_BASIC`` () = singleTestBuildAndRun " regression/struct-tuple-bug-1" FSI_ BASIC
19751975
1976- #if ! FSHARP _ SUITE _ DRIVES _ CORECLR _ TESTS
1976+ #if ! NETCOREAPP
19771977 // This test is disabled in coreclr builds dependent on fixing : https://github.com/Microsoft/visualfsharp/issues/2600
19781978 [<Test>]
19791979 let ``struct - measure - bug - 1`` () =
@@ -1982,8 +1982,7 @@ module RegressionTests =
19821982 fsc cfg " %s --optimize- -o:test.exe -g" cfg.fsc_ flags [ " test.fs" ]
19831983
19841984 peverify cfg " test.exe"
1985- #endif
1986- #if ! FSHARP_ SUITE_ DRIVES_ CORECLR_ TESTS
1985+
19871986module OptimizationTests =
19881987
19891988 [<Test>]
@@ -2126,7 +2125,7 @@ module TypecheckTests =
21262125 [<Test>]
21272126 let misc () = singleTestBuildAndRun " typecheck/misc" FSC_ BASIC
21282127
2129- #if ! FSHARP _ SUITE _ DRIVES _ CORECLR _ TESTS
2128+ #if ! NETCOREAPP
21302129
21312130 [<Test>]
21322131 let ``sigs pos26`` () =
@@ -2953,7 +2952,7 @@ module GeneratedSignatureTests =
29532952 let ``measures - GENERATED_SIGNATURE`` () = singleTestBuildAndRun " core/measures" GENERATED_ SIGNATURE
29542953#endif
29552954
2956- #if ! FSHARP _ SUITE _ DRIVES _ CORECLR _ TESTS
2955+ #if ! NETCOREAPP
29572956module OverloadResolution =
29582957 module ` `fsharpqa migrated tests`` =
29592958 let [<Test>] ``Conformance \Expressions \SyntacticSugar ( E_Slices01.fs ) `` () = singleNegTest ( testConfig " conformance/expressions/syntacticsugar" ) " E_Slices01"
0 commit comments