Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1b371d1

Browse files
dsymelatkin
authored andcommitted
update and move TESTGUIDE.html
1 parent7ef4078 commit1b371d1

File tree

2 files changed

+22
-21
lines changed

2 files changed

+22
-21
lines changed

‎DEVGUIDE.html‎

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<head>
44
<attribute>
5-
<title>Visual F# Tools</title>
5+
<title>F# Compiler, Core Library andVisual F# Tools</title>
66

77

88
<styletype="text/css">
@@ -305,10 +305,10 @@
305305

306306
<body>
307307

308-
<h1>F# Compiler + Library Open Contribution Repository</h1>
308+
<h1>F# Compiler, Core Library and Visual F# Tools Open Contribution Repository</h1>
309309

310310
<p>
311-
This repo is where you can contribute to the F# compiler.
311+
This repo is where you can contribute to the F# compiler, core library and the Visual F# Tools.
312312
To learn what F# is and why it&#39;s interesting, go to<ahref="http://fsharp.org">fsharp.org</a>.
313313
To get a free F# environment, go to<ahref="http://fsharp.org/use/windows">fsharp.org</a>.
314314
</p>
@@ -328,29 +328,29 @@ <h3>1. Building a Proto Compiler</h3>
328328

329329
<p>
330330
The compiler is compiled as a set of .NET 4.0 components using a bootstrap process.
331-
</p>
332-
333-
<p>This uses the lkg compiler to build. Note that you need the .NET framework 3.5 installed on your machine in order to complete this step.</p>
331+
This uses the lkg compiler to build. Note that you need the .NET framework 3.5 installed on your machine in order to complete this step.</p>
334332
<pre>
335333
gacutil /i lkg\FSharp-2.0.50726.900\bin\FSharp.Core.dll
336334
msbuild src/fsharp-proto-build.proj
337335
</pre>
338336

339337
<h3>2. Building an F# (Debug) library and compiler</h3>
340338

341-
<p>This uses the proto compiler to build FSharp.Core.dll,FSharp.Compiler.dll andfsc.exe.</p>
339+
<p>This uses the proto compiler to build<code>FSharp.Core.dll</code><code>FSharp.Compiler.dll</code>,<code>fsc.exe</code> and<code>fsi.exe</code></p>
342340
<pre>
343341
msbuild src/fsharp-library-build.proj
344342
msbuild src/fsharp-compiler-build.proj
345343
</pre>
346-
<p>You can now use the updated commpiler in<code>Debug\net40\bin\fsc.exe</code> to develop and test basic language and tool features.</p>
344+
<p>You can now use the updated F# compiler in<code>Debug\net40\bin\fsc.exe</code> and F# Interactive in<code>Debug\net40\bin\fsi.exe</code> to develop and test basic language and tool features.<p>
345+
<p><b>Note:</b> The updated library is not used until you run<code>update.cmd</code>, see below. The updated
346+
compiler is not run 'pre-compiled' until you run<code>update.cmd -ngen</code>, see below.</p>
347347

348348

349349
<h3>3. Full Steps Before Running Tests</h3>
350350

351-
<p>See<ahref="tests\TESTGUIDE.html">tests\TESTGUIDE.html</a> to run tests.</p>
351+
<p>See<ahref="TESTGUIDE.html">TESTGUIDE.html</a> for instructions on how to run tests.</p>
352352

353-
<p>Prior to a<b>Debug</b> test run, you need to complete<b>all<b> of these steps:</p>
353+
<p>Prior to a<b>Debug</b> test run, you need to complete<b>all</b> of these steps:</p>
354354
<pre>
355355
msbuild src/fsharp-library-build.proj /p:Configuration=Debug
356356
msbuild src/fsharp-compiler-build.proj /p:Configuration=Debug
@@ -368,13 +368,13 @@ <h3>3. Full Steps Before Running Tests</h3>
368368
src\update.cmd debug -ngen
369369
tests\BuildTestTools.cmd Debug
370370
</pre>
371-
<p>[Optional] Ifbuilding andtesting the Visual Studio bits (see below) you will also need:</p>
371+
<p>[Optional] If testing the Visual Studio bits (see below) you will also need:</p>
372372
<pre>
373373
msbuild vsintegration\fsharp-vsintegration-build.proj /p:Configuration=Debug
374374
msbuild vsintegration\fsharp-vsintegration-unittests-build.proj /p:Configuration=Debug
375375
</pre>
376376

377-
<p>Prior to a<b>Release</b> test run, you need to do all of these:</p>
377+
<p>Prior to a<b>Release</b> test run, you need to do<b>all</b> of these:</p>
378378
<pre>
379379
msbuild src/fsharp-library-build.proj /p:Configuration=Release
380380
msbuild src/fsharp-compiler-build.proj /p:Configuration=Release
@@ -392,19 +392,18 @@ <h3>3. Full Steps Before Running Tests</h3>
392392
src\update.cmd release -ngen
393393
tests\BuildTestTools.cmd Release
394394
</pre>
395-
<p>[Optional] Ifbuilding andtesting the VisualStudio bits (see below) you will also need:</p>
395+
<p>[Optional] If testing the VisualF# IDE Tools (see below) you will also need:</p>
396396
<pre>
397397
msbuild vsintegration\fsharp-vsintegration-build.proj /p:Configuration=Release
398398
msbuild vsintegration\fsharp-vsintegration-unittests-build.proj /p:Configuration=Release
399399
</pre>
400400

401-
<h3>4. [Optional] Build and Install VisualStudio components</h3>
401+
<h3>4. [Optional] Build and InstalltheVisualF# IDE Tools</h3>
402402
<p>
403403
To build the VS components:
404404
</p>
405405
<pre>
406-
cd ..\vsintegration
407-
msbuild fsharp-vsintegration-build.proj
406+
msbuild vsintegration\fsharp-vsintegration-build.proj
408407
</pre>
409408
<p>
410409
To install the VS components:
@@ -417,10 +416,10 @@ <h3>4. [Optional] Build and Install Visual Studio components </h3>
417416
<li>Then:</li>
418417
</ul>
419418
<pre>
420-
..\Debug\net40\bin\EnableOpenSource.vsix
419+
Debug\net40\bin\EnableOpenSource.vsix
421420
</pre>
422421
<p>
423-
Now restart Visual Studio, now it should be running your freshly builtcomponents.
422+
Now restart Visual Studio, now it should be running your freshly builtVisual F# IDE Tools.
424423
</p>
425424

426425
<h3>Notes on the build</h3>

‎tests/TESTGUIDE.html‎renamed to ‎TESTGUIDE.html‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,14 @@ <h3>Test Suites</h3>
331331
</ul>
332332
<p>Perl and NUnit should be included in the %PATH% to make execution easiest. It is also recommended that you run tests from an elevated command prompt, as there are a couple of test cases which modify the GAC, and this requires administrative privileges.
333333

334-
<p>Before running tests, make sure you have successfully built all required projects as specified in the 'Prepare For Tests' section of the<ahref="../DEVGUIDE.html">DEVGUIDE</a>.
334+
<p>Before running tests, make sure you have successfully built all required projects as specified in the 'Prepare For Tests' section of the<ahref="DEVGUIDE.html">DEVGUIDE</a>.
335335
Don't forget to build and install the Visual Studio components as well if you want to run the IDE tests below.
336336

337-
<p><h3>Running Tests</h3>
337+
<h3>Running Tests</h3>
338338

339-
<p>The script<code>tests\RunTests.cmd</code> has been provided to make execution of the above suites very simple. You can kick off a full test run of any of the above suites like this:
339+
<pNote:<b>Don't</b> run tests from a Visual Studio developer command prompt.</b> (see below)</p>
340+
341+
<p>The script<code>tests\RunTests.cmd</code> has been provided to make execution of the above suites simple. You can kick off a full test run of any of the above suites like this:
340342
<pre>
341343
RunTests.cmd &lt;debug|release&gt; fsharp [tags to run] [tags not to run]
342344
RunTests.cmd &lt;debug|release&gt; fsharpqa [tags to run] [tags not to run]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp