diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/invalid/dummy.fs b/tests/fsharpqa/Source/CompilerOptions/fsc/invalid/dummy.fs deleted file mode 100644 index 5744723f8a5..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/invalid/dummy.fs +++ /dev/null @@ -1,4 +0,0 @@ -// - -exit 1 - diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/invalid/dummy2.fs b/tests/fsharpqa/Source/CompilerOptions/fsc/invalid/dummy2.fs deleted file mode 100644 index 2d005a14268..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/invalid/dummy2.fs +++ /dev/null @@ -1,3 +0,0 @@ -// - -exit 1 diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/invalid/env.lst b/tests/fsharpqa/Source/CompilerOptions/fsc/invalid/env.lst deleted file mode 100644 index 5c6621a4a82..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/invalid/env.lst +++ /dev/null @@ -1,7 +0,0 @@ -# Invalid arguments - SOURCE=dummy.fs SCFLAGS="=:" # Regression FSharp1.0:4682 (1) - SOURCE=dummy.fs SCFLAGS="--:" # Regression FSharp1.0:4682 (2) - SOURCE=dummy.fs SCFLAGS="@" # Regression FSharp1.0:4682 (3) - SOURCE=dummy.fs SCFLAGS="\\" # Regression FSharp1.0:4682 (4) - SOURCE="dummy2.fs"" # Regression FSharp1.0:895020 (5) - SOURCE=dummy2.fs "<.fs" # Regression FSharp1.0:895020 (6) diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/env.lst b/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/env.lst deleted file mode 100644 index 13eedbc60ff..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/env.lst +++ /dev/null @@ -1,15 +0,0 @@ -# Works fine when just specified - SOURCE=simpleres_01.fs SCFLAGS="--simpleresolution" # basic - -# Does not take arguments - SOURCE=error_01.fs SCFLAGS="--simpleresolution:foo" COMPILE_ONLY=1 # with-argument - -# Basic functionality - SOURCE=simpleres_01.fs SCFLAGS="--simpleresolution -r System.dll" # reference-name-extension - SOURCE=error_02.fs SCFLAGS="--simpleresolution -r System" COMPILE_ONLY=1 # reference-name-only - -# Option is no available in FSI.exe - SOURCE=error_03.fs SCFLAGS="--simpleresolution" FSIMODE=EXEC # not-for-fsi - -# Interacting with --resolutions - SOURCE=simpleres_02.fs SCFLAGS="--simpleresolution --resolutions" COMPILE_ONLY=1 # simpleres_02 diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/error_01.fs b/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/error_01.fs deleted file mode 100644 index 0976d3e5b06..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/error_01.fs +++ /dev/null @@ -1,6 +0,0 @@ -// Regression test for FSharp1.0:4849 -// Title: Promote "-simpleresolution" to a documented compiler switch - -//Unrecognized option: '--simpleresolution' - -exit 1 \ No newline at end of file diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/error_02.fs b/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/error_02.fs deleted file mode 100644 index 3723577fb68..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/error_02.fs +++ /dev/null @@ -1,6 +0,0 @@ -// Regression test for FSharp1.0:4849 -// Title: Promote "-simpleresolution" to a documented compiler switch - -//Unable to find the file 'System' in any of - -exit 1 \ No newline at end of file diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/error_03.fs b/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/error_03.fs deleted file mode 100644 index e4cd5edc7ea..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/error_03.fs +++ /dev/null @@ -1,6 +0,0 @@ -// Regression test for FSharp1.0:4849 -// Title: Promote "-simpleresolution" to a documented compiler switch - -//Unrecognized option: '--simpleresolution' - -exit 1 diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/simpleres_01.fs b/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/simpleres_01.fs deleted file mode 100644 index 6d12e0c0349..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/simpleres_01.fs +++ /dev/null @@ -1,4 +0,0 @@ -// Regression test for FSharp1.0:4849 -// Title: Promote "-simpleresolution" to a documented compiler switch - -exit 0 \ No newline at end of file diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/simpleres_02.fs b/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/simpleres_02.fs deleted file mode 100644 index 5acad376be1..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/simpleresolution/simpleres_02.fs +++ /dev/null @@ -1,7 +0,0 @@ -// Regression test for FSharp1.0:4849 -// Title: Promote "-simpleresolution" to a documented compiler switch - -//mscorlib -//FSharp.Core - -exit 0 \ No newline at end of file diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/E_UnrecognizedArgument01.fs b/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/E_UnrecognizedArgument01.fs deleted file mode 100644 index 02faea87772..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/E_UnrecognizedArgument01.fs +++ /dev/null @@ -1,4 +0,0 @@ -//Unrecognized argument: --win32res -#light - -exit 1 diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/E_malformedres01.fs b/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/E_malformedres01.fs deleted file mode 100644 index e038b5f2d55..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/E_malformedres01.fs +++ /dev/null @@ -1,9 +0,0 @@ -//A problem occured writing the binary E_malformedres01\.exe: Linking a native resource failed \(buffer too small to fit an IMAGE_FILE_HEADER -//Parameter name: buffer\) -#light - -printfn "AA" - -exit 0 - - diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/badresfile.res b/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/badresfile.res deleted file mode 100644 index 7714ce4a07b..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/badresfile.res +++ /dev/null @@ -1,2 +0,0 @@ -    0  ( @             ̏ ̏ ̏  LL LLLD LLDD LLLD DDLLDDDL LLDDLDD DLLD DDDLDLDLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD (   0  (           L LD DDDDDD@DDDDD@DDD "  0            (    d 0  Ȁ  7 A b o u t G e n R e s F i l e  M S S a n s S e r i f  P    P ( - w  G e n R e s F i l e V e r s i o n 1 . 0 P (  w  C o p y r i g h t ( C ) 2 0 0 0  P  2   O K \  f 0    Ȑ @ G e n R e s F i l e  M S S a n s S e r i f  P 2   O K P 2   C a n c e l P2 Z  T O D O : P l a c e d i a l o g c o n t r o l s h e r e . P 6 2   B u t t o n 1 PI . (      0  4 V S _ V E R S I O N _ I N F O       ?    r  S t r i n g F i l e I n f o N  0 4 0 9 0 4 B 0  C o m p a n y N a m e ^   F i l e D e s c r i p t i o n G e n R e s F i l e M F C A p p l i c a t i o n 6  F i l e V e r s i o n 1 , 0 , 0 , 1 6  I n t e r n a l N a m e G e n R e s F i l e J   L e g a l C o p y r i g h t C o p y r i g h t ( C ) 2 0 0 0 (  L e g a l T r a d e m a r k s F   O r i g i n a l F i l e n a m e G e n R e s F i l e . E X E N   P r o d u c t N a m e G e n R e s F i l e A p p l i c a t i o n :  P r o d u c t V e r s i o n 1 , 0 , 0 , 1 D  V a r F i l e I n f o $  T r a n s l a   0   & A b o u t G e n R e s F i l e . . . \ No newline at end of file diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/env.lst b/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/env.lst deleted file mode 100644 index a518278a70a..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/env.lst +++ /dev/null @@ -1,28 +0,0 @@ -# Functional: the option does what it is meant to do - -# Good res - SOURCE=wellformedres01.fs COMPILE_ONLY=1 SCFLAGS="--win32res goodresfile.res" # wellformedres01.fs -# Bad res - SOURCE=E_malformedres01.fs COMPILE_ONLY=1 SCFLAGS="--win32res badresfile.res" # E_malformedres01.fs - -# Multiple res - SOURCE=wellformedres02.fs COMPILE_ONLY=1 SCFLAGS="--win32res goodresfile.res --win32res goodresfile2.res" # wellformedres02a.fs - SOURCE=wellformedres02.fs COMPILE_ONLY=1 SCFLAGS="--win32res goodresfile.res --win32res goodresfile.res" # wellformedres02b.fs - -# Option is case sentitive - SOURCE=error_01.fs COMPILE_ONLY=1 SCFLAGS="--Win32RES goodresfile.res" # --Win32RES - SOURCE=error_02.fs COMPILE_ONLY=1 SCFLAGS="--WIN32res goodresfile.res" # --WIN32res - -# Empty file? - SOURCE=error_03.fs COMPILE_ONLY=1 SCFLAGS="--win32res \"\"" # empty res - -# Mispelled options - SOURCE=error_04.fs COMPILE_ONLY=1 SCFLAGS="--win32res+ goodresfile.res" - SOURCE=error_04.fs COMPILE_ONLY=1 SCFLAGS="--win32res- goodresfile.res" - SOURCE=error_04.fs COMPILE_ONLY=1 SCFLAGS="--win32resX goodresfile.res" - -# Missing argument - SOURCE=error_05.fs COMPILE_ONLY=1 TAILFLAGS="--win32res" - -# Option is no available in FSI.exe - SOURCE=E_UnrecognizedArgument01.fs SCFLAGS="--win32res goodresfile.res" FSIMODE=EXEC # E_UnrecognizedArgument01.fs diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/error_01.fs b/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/error_01.fs deleted file mode 100644 index dce6d111d9b..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/error_01.fs +++ /dev/null @@ -1,4 +0,0 @@ -//Unrecognized argument: --Win32RES -#light - -exit 1 diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/error_02.fs b/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/error_02.fs deleted file mode 100644 index 0f482526122..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/error_02.fs +++ /dev/null @@ -1,4 +0,0 @@ -//Unrecognized argument: --WIN32res -#light - -exit 1 diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/error_03.fs b/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/error_03.fs deleted file mode 100644 index 327d7017012..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/error_03.fs +++ /dev/null @@ -1,4 +0,0 @@ -//No inputs specified -#light - -exit 1 diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/error_04.fs b/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/error_04.fs deleted file mode 100644 index 02faea87772..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/error_04.fs +++ /dev/null @@ -1,4 +0,0 @@ -//Unrecognized argument: --win32res -#light - -exit 1 diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/error_05.fs b/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/error_05.fs deleted file mode 100644 index 1eae01f172b..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/error_05.fs +++ /dev/null @@ -1,4 +0,0 @@ -//argument requires parameter: --win32res -#light - -exit 1 diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/goodresfile.res b/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/goodresfile.res deleted file mode 100644 index 236ca8c18a0..00000000000 Binary files a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/goodresfile.res and /dev/null differ diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/goodresfile2.res b/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/goodresfile2.res deleted file mode 100644 index 236ca8c18a0..00000000000 Binary files a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/goodresfile2.res and /dev/null differ diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/wellformedres01.fs b/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/wellformedres01.fs deleted file mode 100644 index bd4fe3fd81f..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/wellformedres01.fs +++ /dev/null @@ -1,5 +0,0 @@ -#light - -printfn "AA" - -exit 0 diff --git a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/wellformedres02.fs b/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/wellformedres02.fs deleted file mode 100644 index bd4fe3fd81f..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsc/win32res/wellformedres02.fs +++ /dev/null @@ -1,5 +0,0 @@ -#light - -printfn "AA" - -exit 0 diff --git a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/Helper.fs b/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/Helper.fs deleted file mode 100644 index b307059e545..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/Helper.fs +++ /dev/null @@ -1,7 +0,0 @@ -open System.Drawing - -let X = 10 - -let Inc x = x + 1 - -let MakePoint x y = new Point(x, y) \ No newline at end of file diff --git a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/PassedArguments01.fsx b/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/PassedArguments01.fsx deleted file mode 100644 index 4ec51d38423..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/PassedArguments01.fsx +++ /dev/null @@ -1,4 +0,0 @@ -//Args: \[\|"PassedArguments01\.fsx"\|] - -printfn "Args: %A" fsi.CommandLineArgs -#q;; \ No newline at end of file diff --git a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/PassedArguments02.fsx b/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/PassedArguments02.fsx deleted file mode 100644 index 3c0c0881a1e..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/PassedArguments02.fsx +++ /dev/null @@ -1,4 +0,0 @@ -//Args: \[\|"PassedArguments02\.fsx"; "Alpha"; "Beta Gamma"; "foo\.fs"\|] - -printfn "Args: %A" fsi.CommandLineArgs -#q;; \ No newline at end of file diff --git a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/PassedArguments03.fs b/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/PassedArguments03.fs deleted file mode 100644 index 491fa875410..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/PassedArguments03.fs +++ /dev/null @@ -1,3 +0,0 @@ -//Args: \[\|"PassedArguments03\.fs"\|] - -printfn "Args: %A" fsi.CommandLineArgs \ No newline at end of file diff --git a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/PassedArguments04.fsx b/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/PassedArguments04.fsx deleted file mode 100644 index 17c37a083b1..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/PassedArguments04.fsx +++ /dev/null @@ -1,4 +0,0 @@ -// Args: \[\|"PassedArguments04\.fsx"; "Alpha"\|] -// Args: \[\|"PassedArguments04\.fsx"; "Alpha"\|] - -printfn "Args: %A" fsi.CommandLineArgs \ No newline at end of file diff --git a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/PassedArguments05.fsx b/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/PassedArguments05.fsx deleted file mode 100644 index 68538f9d2d8..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/PassedArguments05.fsx +++ /dev/null @@ -1,4 +0,0 @@ -open System -open Helper - -let point = MakePoint (Convert.ToInt32(fsi.CommandLineArgs.[1])) (Convert.ToInt32(fsi.CommandLineArgs.[2])) \ No newline at end of file diff --git a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/env.lst b/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/env.lst deleted file mode 100644 index ae8a781b664..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/env.lst +++ /dev/null @@ -1,18 +0,0 @@ -# Script file tests - SOURCE=PassedArguments01.fsx COMPILE_ONLY=1 FSIMODE=FEED # script-feed-no-arg - SOURCE=PassedArguments02.fsx COMPILE_ONLY=1 FSIMODE=FEED TAILFLAGS="Alpha \"Beta Gamma\" foo.fs" # script-feed-with-args - -# Placement conditions - SOURCE=error01.fsx FSIMODE=EXEC COMPILE_ONLY=1 SCFLAGS="-- " # script-as-fsi-arg - SOURCE=error02.fsx FSIMODE=EXEC COMPILE_ONLY=1 SCFLAGS="Alpha" # incorrect-fsi-argument - -# Code file tests - SOURCE=PassedArguments03.fs COMPILE_ONLY=1 FSIMODE=EXEC # codefile-exec-no-arg - SOURCE=error03.fs COMPILE_ONLY=1 FSIMODE=EXEC TAILFLAGS="Alpha \"Beta Gamma\" foo.fs" # codefile-exec-with-args - -# [--use:] - SOURCE=PassedArguments04.fsx FSIMODE=FEED COMPILE_ONLY=1 SCFLAGS="--use:PassedArguments04.fsx" # script-use - -# referencing - SOURCE=Helper.fs FSIMODE=EXEC COMPILE_ONLY=1 SCFLAGS="-r:System.Drawing.dll" # codefile-ref-exec - SOURCE=PassedArguments05.fsx FSIMODE=FEED COMPILE_ONLY=1 SCFLAGS="-r:Helper.dll" TAILFLAGS="1 1" PRECMD="\$FSC_PIPE --target:library Helper.fs" # sciprt-feed-with-ref-dll diff --git a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/error01.fsx b/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/error01.fsx deleted file mode 100644 index 18187ee5c4c..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/error01.fsx +++ /dev/null @@ -1,9 +0,0 @@ -// This script file with errors is passed to fsi.exe as a command line argument: -// Syntax used: fsi.exe -- error01.fsx -// No error expected in this case, since error01.fsx is not expected to be compiled. - -FILE_FULL_OF_ERRORS - -!@~@$)~323-` - -2`21393-4` \ No newline at end of file diff --git a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/error02.fsx b/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/error02.fsx deleted file mode 100644 index 5d040a2471c..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/error02.fsx +++ /dev/null @@ -1,2 +0,0 @@ -//error FS0078:.+ -#q;; \ No newline at end of file diff --git a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/error03.fs b/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/error03.fs deleted file mode 100644 index 0c6c8be4233..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsi/arguments/error03.fs +++ /dev/null @@ -1,3 +0,0 @@ -//+ - -printfn "Args: %A" fsi.CommandLineArgs diff --git a/tests/fsharpqa/Source/CompilerOptions/fsi/exename/.gitignore b/tests/fsharpqa/Source/CompilerOptions/fsi/exename/.gitignore deleted file mode 100644 index 5107f2d354b..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsi/exename/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -# generated as part of the test -help.txt diff --git a/tests/fsharpqa/Source/CompilerOptions/fsi/exename/dummy.fsx b/tests/fsharpqa/Source/CompilerOptions/fsi/exename/dummy.fsx deleted file mode 100644 index 8b137891791..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsi/exename/dummy.fsx +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/fsharpqa/Source/CompilerOptions/fsi/exename/env.lst b/tests/fsharpqa/Source/CompilerOptions/fsi/exename/env.lst deleted file mode 100644 index 4ab3350f39e..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsi/exename/env.lst +++ /dev/null @@ -1,5 +0,0 @@ - -ReqENU SOURCE=dummy.fsx COMPILE_ONLY=1 SCFLAGS="--nologo --exename:fsharpi --help >help.txt" FSIMODE=EXEC POSTCMD="\$FSI_PIPE --nologo --quiet --exec ..\\..\\..\\comparer.fsx help.txt help40.437.1033.bsl" # -?-40 - - - diff --git a/tests/fsharpqa/Source/CompilerOptions/fsi/exename/help40.437.1033.bsl b/tests/fsharpqa/Source/CompilerOptions/fsi/exename/help40.437.1033.bsl deleted file mode 100644 index 230f80b709e..00000000000 --- a/tests/fsharpqa/Source/CompilerOptions/fsi/exename/help40.437.1033.bsl +++ /dev/null @@ -1,111 +0,0 @@ - -Usage: fsharpi [script.fsx []] - - - - INPUT FILES - ---use: Use the given file on startup as - initial input ---load: #load the given file on startup ---reference: Reference an assembly (Short form: - -r) ---compilertool: Reference an assembly or directory - containing a design time tool (Short - form: -t) --- ... Treat remaining arguments as command - line arguments, accessed using - fsi.CommandLineArgs - - - - CODE GENERATION - ---debug[+|-] Emit debug information (Short form: - -g) ---debug:{full|pdbonly|portable|embedded} Specify debugging type: full, - portable, embedded, pdbonly. - ('pdbonly' is the default if no - debuggging type specified and - enables attaching a debugger to a - running program, 'portable' is a - cross-platform format, 'embedded' is - a cross-platform format embedded - into the output file). ---optimize[+|-] Enable optimizations (Short form: - -O) ---tailcalls[+|-] Enable or disable tailcalls ---deterministic[+|-] Produce a deterministic assembly - (including module version GUID and - timestamp) ---pathmap: Maps physical paths to source path - names output by the compiler ---crossoptimize[+|-] Enable or disable cross-module - optimizations ---reflectionfree Disable implicit generation of - constructs using reflection - - - - ERRORS AND WARNINGS - ---warnaserror[+|-] Report all warnings as errors ---warnaserror[+|-]: Report specific warnings as errors ---warn: Set a warning level (0-5) ---nowarn: Disable specific warning messages ---warnon: Enable specific warnings that may be - off by default ---consolecolors[+|-] Output warning and error messages in - color - - - - LANGUAGE - ---langversion:? Display the allowed values for - language version. ---langversion:{version|latest|preview} Specify language version such as - 'latest' or 'preview'. ---checked[+|-] Generate overflow checks ---define: Define conditional compilation - symbols (Short form: -d) ---mlcompatibility Ignore ML compatibility warnings - - - - MISCELLANEOUS - ---nologo Suppress compiler copyright message ---version Display compiler version banner and - exit ---help Display this usage message (Short - form: -?) - - - - ADVANCED - ---codepage: Specify the codepage used to read - source files ---utf8output Output messages in UTF-8 encoding ---preferreduilang: Specify the preferred output - language culture name (e.g. es-ES, - ja-JP) ---fullpaths Output messages with fully qualified - paths ---lib: Specify a directory for the include - path which is used to resolve source - files and assemblies (Short form: - -I) ---simpleresolution Resolve assembly references using - directory-based rules rather than - MSBuild resolution ---targetprofile: Specify target framework profile of - this assembly. Valid values are - mscorlib, netcore or netstandard. - Default - mscorlib ---clearResultsCache Clear the package manager results - cache ---noframework Do not reference the default CLI - assemblies by default ---exec Exit fsi after loading the files or - running the .fsx script given on the - command line ---gui[+|-] Execute interactions on a Windows - Forms event loop (on by default) ---quiet Suppress fsi writing to stdout ---readline[+|-] Support TAB completion in console - (on by default) ---quotations-debug[+|-] Emit debug information in quotations ---shadowcopyreferences[+|-] Prevents references from being - locked by the F# Interactive process ---multiemit[+|-] Emit multiple assemblies (on by - default) \ No newline at end of file diff --git a/tests/fsharpqa/Source/TemplatesAndSnippets/OperatorNames.fs b/tests/fsharpqa/Source/TemplatesAndSnippets/OperatorNames.fs deleted file mode 100644 index 3a45fb1aa36..00000000000 --- a/tests/fsharpqa/Source/TemplatesAndSnippets/OperatorNames.fs +++ /dev/null @@ -1,42 +0,0 @@ -// Table 4.1 "Operator Names" -// Spec 1.9.4-v12 - -#light - -let operators = [ (* Operator name *) (* Mangled name *) - "[]", "op_Nil" - "::", "op_Cons" - "+", "op_Addition" - "-", "op_Subtraction" - "*", "op_Multiply" - "/", "op_Division" - "@", "op_Append" - "^", "op_Concatenate" - "%", "op_Modulus" - "&&&", "op_BitwiseAnd" - "|||", "op_BitwiseOr" - "^^^", "op_ExclusiveOr" - "<<<", "op_LeftShift" - "~~~", "op_LogicalNot" - ">>>", "op_RightShift" - "~+", "op_UnaryPlus" - "~~", "op_UnaryNegation" - "<=", "op_LessThanOrEqual" - ">=", "op_GreaterThanOrEqual" - "<", "op_LessThan" - ">", "op_GreaterThan" - "|>", "op_PipeRight" - "<|", "op_PipeLeft" - "!", "op_Dereference" - ">>", "op_ComposeRight" - "<<", "op_ComposeLeft" - "<@ @>", "op_Quotation" - "<@@ @@>", "op_QuotationUntyped" - "+=", "op_AdditionAssignment" - "-=", "op_SubtractionAssignment" - "*=", "op_MultiplyAssignment" - "/=", "op_DivisionAssignment" - "..", "op_Range" - ".. ..", "op_RangeStep" - ] - diff --git a/tests/fsharpqa/Source/TemplatesAndSnippets/PInvokeExample.fs b/tests/fsharpqa/Source/TemplatesAndSnippets/PInvokeExample.fs deleted file mode 100644 index c897344704b..00000000000 --- a/tests/fsharpqa/Source/TemplatesAndSnippets/PInvokeExample.fs +++ /dev/null @@ -1,73 +0,0 @@ -#light - -// Test origionally from grammar production coverage, making sure we put spaces in odd places -// allowed by F# language grammar - -// RULE: 319 cArg -> opt_attributes cType -// RULE 322 cType -> cType opt_HIGH_PRECEDENCE_APP LBRACK RBRACK -// 324 cType -> cType AMP - -//For example, find a P/Invoke where the attributes on arguments matter: -//For example, find a P/Invoke where the C# signature uses a C# array type: - -// [] -// extern void DoubleMatrixMultiply_([] char* transa, <---- -// char[] transb, <---- 322 -// char [] transb, <---- 322 , note also put in a space!! -// char& transb, <---- 322 , note also put in a space!! -// int* m, int* n, int *k, -// double* alpha, double* A, int* lda,double* B, int* ldb, -// double* beta, -// double* C, int* ldc); - -open System.IO -open System.Runtime.InteropServices - -// Get two temp files, write data into one of them -let tempFile1, tempFile2 = tryCreateTemporaryFileName (), tryCreateTemporaryFileName () -let writer = new StreamWriter (tempFile1) -writer.WriteLine("Some Data") -writer.Close() - -// Origional signature -//[] -//extern bool CopyFile(string lpExistingFileName, string lpNewFileName, bool bFailIfExists); - -[] -extern bool CopyFile_Arrays(char[] lpExistingFileName, char[] lpNewFileName, bool bFailIfExists); - -let result = CopyFile_Arrays(tempFile1.ToCharArray(), tempFile2.ToCharArray(), false) -printfn "Array %A" result - -[] -extern bool CopyFile_ArraySpaces(char [] lpExistingFileName, char []lpNewFileName, bool bFailIfExists); - -let result2 = CopyFile_Arrays(tempFile1.ToCharArray(), tempFile2.ToCharArray(), false) -printfn "Array Space %A" result2 - -[] -extern bool CopyFile_PassByRef(char [] lpExistingFileName, char []lpNewFileName, bool& bFailIfExists); - -let result3 = CopyFile_Arrays(tempFile1.ToCharArray(), tempFile2.ToCharArray(), false) -printfn "ByRef %A" result3 - -[] -extern bool CopyFile_PassByRefSpace(char [] lpExistingFileName, char []lpNewFileName, bool & bFailIfExists); - -let result4 = CopyFile_Arrays(tempFile1.ToCharArray(), tempFile2.ToCharArray(), false) -printfn "ByRef Space %A" result4 - -type SomeAttrib() = - inherit System.Attribute() as base - -[] -extern bool CopyFile_Attrib([] char [] lpExistingFileName, char []lpNewFileName, [] bool & bFailIfExists); - -let result5 = CopyFile_Arrays(tempFile1.ToCharArray(), tempFile2.ToCharArray(), false) -printfn "WithAttribute %A" result5 - -// Cleanup -File.Delete(tempFile1) -File.Delete(tempFile2) - -exit 0 \ No newline at end of file diff --git a/tests/fsharpqa/Source/TemplatesAndSnippets/PrintFormatSpecifiers.fs b/tests/fsharpqa/Source/TemplatesAndSnippets/PrintFormatSpecifiers.fs deleted file mode 100644 index b8f9bbf765d..00000000000 --- a/tests/fsharpqa/Source/TemplatesAndSnippets/PrintFormatSpecifiers.fs +++ /dev/null @@ -1,3 +0,0 @@ -// All the possible format specifiers. - -// let formatSpecifiers = ['b';'s';'d';'i';'u';'x';'X';'o';'e';'E';'f';'F';'g';'G';'M';'O';'A';'a';'t'] diff --git a/tests/fsharpqa/Source/TemplatesAndSnippets/Types.fs b/tests/fsharpqa/Source/TemplatesAndSnippets/Types.fs deleted file mode 100644 index 28591b34be6..00000000000 --- a/tests/fsharpqa/Source/TemplatesAndSnippets/Types.fs +++ /dev/null @@ -1,52 +0,0 @@ -// Types - -// Tuplues -let t1 = () -let t2 = (1) -let t3 = (1,2) -let t4 = ((1,2),(3,4)) - -// Lists -let l1 = [] // empty list -let l2 = [1] // list with 1 element -let l3 = [1;2] // list with 2 elements -let l4 = [[1;2];[3;4]] // nested lists - -// Options -let o1 = None // None -let o2 = Some("cow") // Some -let o3 = Some(None) // option of option -let o4 = Some(Some(Some(Some(1))), Some(Some(Some(2)))) // nested - -// Arrays -// Lists -let a1 = [||] // empty array -let a2 = [|1|] // array with 1 element -let a3 = [|1;2|] // array with 2 elements -let a4 = [|[|1;2|];[|3;4|]|] // nested array - -// User-defined records -type R1 = {} // error! -type R2 = {I : int} -let r2 = { I = 10 } -type R3 = {F : int -> int } -let r3 = { F = fun x -> x + 1 } -type R4 = {I : float list} -let r4 = { I = [1.] } -type R5 = {F : int list -> int seq } -let r5 = {F = fun (x :: _) -> seq { 1..x } } // warning, but ok - -// structs -[] -type S1 = struct - val v : int - end - -[] -type S2() = struct - [] - val mutable v : int - end - -// Unions - diff --git a/tests/fsharpqa/Source/test.lst b/tests/fsharpqa/Source/test.lst index 2c9482e2461..79a977f40a2 100644 --- a/tests/fsharpqa/Source/test.lst +++ b/tests/fsharpqa/Source/test.lst @@ -19,8 +19,8 @@ CompilerOptions01,NoMT CompilerOptions\fsc\noframework CompilerOptions01,NoMT CompilerOptions\fsc\nologo CompilerOptions01,NoMT CompilerOptions\fsc\optimize CompilerOptions01,NoMT CompilerOptions\fsc\out -CompilerOptions01,NoMT CompilerOptions\fsc\platform CompilerOptions01,NoMT,pdbs CompilerOptions\fsc\pdb +CompilerOptions01,NoMT CompilerOptions\fsc\platform CompilerOptions01,NoMT CompilerOptions\fsc\Removed CompilerOptions01,NoMT CompilerOptions\fsc\responsefile CompilerOptions01,NoMT CompilerOptions\fsc\standalone @@ -36,53 +36,12 @@ CompilerOptions01,NoMT CompilerOptions\fsi\langversion CompilerOptions01,NoMT CompilerOptions\fsi\nologo CompilerOptions01,NoMT CompilerOptions\fsi\subsystemversion -Conformance01 Conformance\BasicGrammarElements\Constants -Conformance01 Conformance\BasicGrammarElements\OperatorNames -Conformance01 Conformance\BasicGrammarElements\PrecedenceAndOperators -Conformance01 Conformance\BasicTypeAndModuleDefinitions\ExceptionDefinitions -Conformance01 Conformance\BasicTypeAndModuleDefinitions\GeneratedEqualityHashingComparison\Attributes\Diags -Conformance01 Conformance\BasicTypeAndModuleDefinitions\GeneratedEqualityHashingComparison\Attributes\Legacy -Conformance01 Conformance\BasicTypeAndModuleDefinitions\GeneratedEqualityHashingComparison\Attributes\New -Conformance01 Conformance\BasicTypeAndModuleDefinitions\GeneratedEqualityHashingComparison\Basic -Conformance01 Conformance\BasicTypeAndModuleDefinitions\GeneratedEqualityHashingComparison\IComparison -Conformance01 Conformance\BasicTypeAndModuleDefinitions\ModuleDefinitions -Conformance01 Conformance\BasicTypeAndModuleDefinitions\NamespaceDeclGroups -Conformance01 Conformance\BasicTypeAndModuleDefinitions\NullRepresentations -Conformance01 Conformance\BasicTypeAndModuleDefinitions\RecordTypes -Conformance01 Conformance\BasicTypeAndModuleDefinitions\TypeAbbreviations -Conformance01 Conformance\BasicTypeAndModuleDefinitions\UnionTypes -Conformance01 Conformance\DeclarationElements\AccessibilityAnnotations\Basic -Conformance01 Conformance\DeclarationElements\AccessibilityAnnotations\OnOverridesAndIFaceImpl -Conformance01 Conformance\DeclarationElements\AccessibilityAnnotations\OnTypeMembers -Conformance01 Conformance\DeclarationElements\AccessibilityAnnotations\PermittedLocations -Conformance01 Conformance\DeclarationElements\CustomAttributes\ArgumentsOfAllTypes -Conformance01 Conformance\DeclarationElements\CustomAttributes\AttributeInheritance - -Conformance02 Conformance\DeclarationElements\CustomAttributes\AttributeUsage -Conformance02 Conformance\DeclarationElements\CustomAttributes\Basic -Conformance02 Conformance\DeclarationElements\CustomAttributes\ImportedAttributes -Conformance02 Conformance\DeclarationElements\Events\basic -Conformance02 Conformance\DeclarationElements\FieldMembers -Conformance02 Conformance\DeclarationElements\ImportDeclarations -Conformance02 Conformance\DeclarationElements\InterfaceSpecificationsAndImplementations -Conformance02 Conformance\DeclarationElements\LetBindings\ActivePatternBindings -Conformance02 Conformance\DeclarationElements\LetBindings\Basic -Conformance02 Conformance\DeclarationElements\LetBindings\ExplicitTypeParameters -Conformance02 Conformance\DeclarationElements\LetBindings\TypeFunctions -Conformance02 Conformance\DeclarationElements\MemberDefinitions\ImplementingDispatchSlots -Conformance02 Conformance\DeclarationElements\MemberDefinitions\MethodsAndProperties -Conformance02 Conformance\DeclarationElements\MemberDefinitions\NamedArguments -Conformance02 Conformance\DeclarationElements\MemberDefinitions\OptionalArguments -Conformance02 Conformance\DeclarationElements\MemberDefinitions\OptionalDefaultParameterValueArguments -Conformance02 Conformance\DeclarationElements\MemberDefinitions\OverloadingMembers -Conformance02 Conformance\DeclarationElements\ModuleAbbreviations Conformance02 Conformance\DeclarationElements\ObjectConstructors Conformance02 Conformance\DeclarationElements\P-invokeDeclarations Conformance03 Conformance\Expressions\ApplicationExpressions\Assertion Conformance03 Conformance\Expressions\ApplicationExpressions\BasicApplication Conformance03 Conformance\Expressions\ApplicationExpressions\ObjectConstruction -Conformance03 Conformance\Expressions\BindingExpressions\Binding Conformance03 Conformance\Expressions\ConstantExpressions Conformance03 Conformance\Expressions\ControlFlowExpressions\Assertion Conformance03 Conformance\Expressions\ControlFlowExpressions\Conditional @@ -96,10 +55,10 @@ Conformance03 Conformance\Expressions\ControlFlowExpressions\TryFinally Conformance03 Conformance\Expressions\ControlFlowExpressions\While Conformance03 Conformance\Expressions\DataExpressions\AddressOf Conformance03 Conformance\Expressions\DataExpressions\ComputationExpressions +Conformance03 Conformance\Expressions\DataExpressions\NameOf Conformance03 Conformance\Expressions\DataExpressions\ObjectExpressions Conformance03 Conformance\Expressions\DataExpressions\QueryExpressions Conformance03 Conformance\Expressions\DataExpressions\RangeExpressions - Conformance04 Conformance\Expressions\DataExpressions\SequenceExpressions Conformance04 Conformance\Expressions\DataExpressions\TupleExpressions Conformance04 Conformance\Expressions\ElaborationAndElaboratedExpressions @@ -111,15 +70,16 @@ Conformance04 Conformance\Expressions\SomeCheckingAndInferenceTerminology Conformance04 Conformance\Expressions\SyntacticSugar Conformance04 Conformance\Expressions\SyntacticSugarAndAmbiguities Conformance04 Conformance\Expressions\Type-relatedExpressions + Conformance04 Conformance\ImplementationFilesAndSignatureFiles\CheckingOfImplementationFiles Conformance04 Conformance\ImplementationFilesAndSignatureFiles\InitializationSemanticsForImplementationFiles Conformance04 Conformance\ImplementationFilesAndSignatureFiles\NamespacesFragmentsAndImplementationFiles\basic Conformance04 Conformance\ImplementationFilesAndSignatureFiles\NamespacesFragmentsAndImplementationFiles\global Conformance04 Conformance\ImplementationFilesAndSignatureFiles\SignatureFiles + Conformance04 Conformance\InferenceProcedures\ByrefSafetyAnalysis Conformance04 Conformance\InferenceProcedures\ConstraintSolving Conformance04 Conformance\InferenceProcedures\DispatchSlotChecking - Conformance05 Conformance\InferenceProcedures\DispatchSlotInference Conformance05 Conformance\InferenceProcedures\FunctionApplicationResolution Conformance05 Conformance\InferenceProcedures\Generalization @@ -131,6 +91,7 @@ Conformance05 Conformance\InferenceProcedures\RecursiveSafetyAnalysis Conformance05 Conformance\InferenceProcedures\ResolvingApplicationExpressions Conformance05 Conformance\InferenceProcedures\TypeInference Conformance05 Conformance\InferenceProcedures\WellFormednessChecking + Conformance05 Conformance\LexicalAnalysis\Comments Conformance05 Conformance\LexicalAnalysis\ConditionalCompilation Conformance05 Conformance\LexicalAnalysis\Directives @@ -140,16 +101,17 @@ Conformance05 Conformance\LexicalAnalysis\IdentifiersAndKeywords Conformance05 Conformance\LexicalAnalysis\LineDirectives Conformance05 Conformance\LexicalAnalysis\NumericLiterals Conformance05 Conformance\LexicalAnalysis\Shift\Generics - Conformance06 Conformance\LexicalAnalysis\StringsAndCharacters Conformance06 Conformance\LexicalAnalysis\SymbolicKeywords Conformance06 Conformance\LexicalAnalysis\SymbolicOperators Conformance06 Conformance\LexicalAnalysis\Whitespace + Conformance06 Conformance\LexicalFiltering\Basic\ByExample Conformance06 Conformance\LexicalFiltering\Basic\OffsideExceptions Conformance06 Conformance\LexicalFiltering\HashLight Conformance06 Conformance\LexicalFiltering\HighPrecedenceApplication Conformance06 Conformance\LexicalFiltering\LexicalAnalysisOfTypeApplications + Conformance06 Conformance\ObjectOrientedTypeDefinitions\AbstractMembers Conformance06 Conformance\ObjectOrientedTypeDefinitions\ClassTypes\AsDeclarations Conformance06 Conformance\ObjectOrientedTypeDefinitions\ClassTypes\AutoProperties @@ -161,7 +123,6 @@ Conformance06 Conformance\ObjectOrientedTypeDefinitions\ClassTypes\LetDoDeclar Conformance06 Conformance\ObjectOrientedTypeDefinitions\ClassTypes\MemberDeclarations Conformance06 Conformance\ObjectOrientedTypeDefinitions\ClassTypes\Misc Conformance06 Conformance\ObjectOrientedTypeDefinitions\ClassTypes\StaticLetDoDeclarations - Conformance07 Conformance\ObjectOrientedTypeDefinitions\ClassTypes\ValueRestriction Conformance07 Conformance\ObjectOrientedTypeDefinitions\DelegateTypes Conformance07 Conformance\ObjectOrientedTypeDefinitions\EnumTypes @@ -171,6 +132,7 @@ Conformance07 Conformance\ObjectOrientedTypeDefinitions\TypeExtensions\basic Conformance07 Conformance\ObjectOrientedTypeDefinitions\TypeExtensions\intrinsic Conformance07 Conformance\ObjectOrientedTypeDefinitions\TypeExtensions\optional Conformance07 Conformance\ObjectOrientedTypeDefinitions\TypeKindInference + Conformance07 Conformance\PatternMatching\And Conformance07 Conformance\PatternMatching\Array Conformance07 Conformance\PatternMatching\As @@ -182,21 +144,25 @@ Conformance07 Conformance\PatternMatching\Null Conformance07 Conformance\PatternMatching\Record Conformance07 Conformance\PatternMatching\Simple Conformance07 Conformance\PatternMatching\SimpleConstant - Conformance08 Conformance\PatternMatching\Tuple Conformance08 Conformance\PatternMatching\TypeAnnotated Conformance08 Conformance\PatternMatching\TypeConstraint Conformance08 Conformance\PatternMatching\Union Conformance08 Conformance\PatternMatching\Wildcard + Conformance08 Conformance\Signatures\SignatureConformance Conformance08 Conformance\Signatures\SignatureTypes + Conformance08 Conformance\SpecialAttributesAndTypes\Imported\System.ThreadStatic Conformance08 Conformance\SpecialAttributesAndTypes\Imported\CallerInfo + Conformance08 Conformance\StructFieldEqualityComparison + Conformance08 Conformance\TypesAndTypeConstraints\CheckingSyntacticTypes Conformance08 Conformance\TypesAndTypeConstraints\LogicalPropertiesOfTypes Conformance08 Conformance\TypesAndTypeConstraints\TypeConstraints Conformance08 Conformance\TypesAndTypeConstraints\TypeParameterDefinitions + Conformance08 Conformance\UnitsOfMeasure\Basic Conformance08 Conformance\UnitsOfMeasure\Bounds Conformance08 Conformance\UnitsOfMeasure\Constants @@ -206,17 +172,21 @@ Conformance08 Conformance\UnitsOfMeasure\Parenthesis Conformance08 Conformance\UnitsOfMeasure\Parsing Conformance08 Conformance\UnitsOfMeasure\TypeChecker Conformance08 Conformance\UnitsOfMeasure\WithOOP -Conformance08 Conformance\Expressions\DataExpressions\NameOf Misc01 Diagnostics\async Misc01,Diagnostics Diagnostics\General Misc01 Diagnostics\NONTERM Misc01 Diagnostics\ParsingAtEOF + Misc01 EntryPoint + Misc01,NoMT Import + Misc01,NoMT ..\..\..\testsprivate\fsharpqa\Source\InteractiveSession\AssemblyLoading + Misc01,NoMT InteractiveSession\Misc Misc01,NoMT InteractiveSession\Misc\GenericConstraintWoes\issue2411 + Misc01 Libraries\Control Misc01 Libraries\Core\collections Misc01 Libraries\Core\ExtraTopLevelOperators @@ -225,16 +195,14 @@ Misc01 Libraries\Core\NativeInterop\stackalloc Misc01 Libraries\Core\Operators Misc01 Libraries\Core\Reflection Misc01 Libraries\Core\Unchecked -Misc01 Warnings - Misc02 Libraries\Portable + Misc02 Misc + Misc02 MultiTargeting -Misc02,NoMT Printing + Misc02 ..\..\..\testsprivate\fsharpqa\Source\RealWorld\UnitsOfMeasure Misc02 ..\..\..\testsprivate\fsharpqa\Source\RealWorld\Agents Misc02,NoMT ..\..\..\testsprivate\fsharpqa\Source\Setup + Misc02 Stress -Misc02 XmlDoc\Basic -Misc02 XmlDoc\OCamlDoc -Misc02 XmlDoc\UnitOfMeasure