FreeBASIC マニュアルのトップに戻る

FreeBASIC DevFbcTestSuite

目次→FreeBASIC のハッキング→FreeBASIC でのハッキングのための情報Compiling the test suite←オリジナル・サイト

テスト・スイートをコンパイルする



FreeBASIC プロジェクトには、バグが解消されているとか、新しいバグが、まだ修正に困難な時間がかかることを確認するための、テスト一式があります。

Compiling and getting Test Results
The tests are located in the tests subdirectory within the main FreeBASIC directory. The following two commands will compile and run all the tests:
$ make unit-tests
   generates fbc-tests[.exe]

$ make log-tests
   generates failed-test-fb.log
   generates failed-test-qb.log
   generates failed-test-deprecated.log
   if all tests passed, the log file reports "None found"



Initial generation of index files will take place, followed by the compilation of hundreds of tests. Be patient, it can take a while to run all of the tests...

More testing options

Invoking with make will present the following help text:
$ make
usage: make target [options]

Targets:
   unit-tests
   log-tests
   failed-tests
   check
   mostlyclean
   clean

Options:
   FBC=/path/fbc
   FB_LANG=fb | fblite | qb | deprecated
   DEBUG=1
   EXTRAERR=1
   TARGET=target
   ARCH=arch (default is 486)
   OS=DOS
   FPU=fpu | sse
   FPMODE=fast | precise
   GEN=gas | gcc
   UNITTEST_RUN_ARGS=args
   ENABLE_CHECK_BUGS=1
   ENABLE_CONSOLE_OUTPUT=1

Targets: Configuration and Checks
   check

Example: make all available tests
   make unit-tests
   make log-tests

Example: make the -lang qb tests
   make log-tests FB_LANG=qb



テスト失敗の報告

すべてが正常に機能していれば、障害は発生しません。
失敗した場合は、コンパイラまたは特定のビルドターゲットに問題がある可能性があります。
失敗した場合は、他の人が調査できるように https://www.freebasic.net/forum で報告することを考えてください。

テストを実行し、FreeBASICを健全なコンパイラにするために貢献していただき、ありがとうございます!

FreeBASIC の開発者用情報 に戻る
目次に戻る
ページ歴史:2019-02-09 07:28:38
日本語翻訳:WATANABE Makoto、原文著作者:ChA0s

ホームページのトップに戻る

表示-非営利-継承