📄 run.so
字号:
m4_comment([$Id: run.so,v 10.48 2006/10/02 15:56:35 bostic Exp $])m4_ref_title(Test Suite, Running the test suite, running the @test suite, upgrade.4.6/disk, test/faq)m4_p([dnlOnce you have started tclsh and have loaded the test.tcl source file(see m4_link(M4RELDIR/ref/build_unix/test, Running the test suite underUNIX) and m4_link(M4RELDIR/ref/build_win/test, Running the test suiteunder Windows) for more information), you are ready to run the testsuite. At the tclsh prompt, to run the standard test suite, enter thefollowing:])m4_indent([% run_std])m4_p([dnlA more exhaustive version of the test suite runs all the tests severalmore times, testing encryption, replication, and different page sizes.After you have a clean run for run_std, you may choose to run thislengthier set of tests. At the tclsh prompt, enter:])m4_indent([% run_all])m4_p([dnlRunning the standard tests can take from several hours to a few days tocomplete, depending on your hardware, and running all the tests willtake at least twice as long. For this reason, the output from thesecommands are redirected to a file in the current directory namedm4_path(ALL.OUT). Periodically, a line will be written to the standardoutput, indicating what test is being run. When the test suite hasfinished, a final message will be written indicating the test suite hascompleted successfully or that it has failed. If the run failed, youshould review the m4_path(ALL.OUT) file to determine which tests failed.Errors will appear in that file as output lines, beginning with thestring "FAIL".])m4_p([dnlTests are run in the directory m4_path(TESTDIR), by default. However,the test files are often large, and you should use a filesystem with atleast several hundred megabytes of free space. To use a differentdirectory for the test directory, edit the file include.tcl in yourbuild directory, and change the following line to a more appropriatevalue for your system:])m4_indent([dnlset testdir ./TESTDIR])m4_p([dnlFor example, you might change it to the following:])m4_indent([dnlset testdir /var/tmp/db.test])m4_p([dnlAlternatively, you can create a symbolic link named TESTDIR in yourbuild directory to an appropriate location for running the tests.Regardless of where you run the tests, the TESTDIR directory should beon a local filesystem. Using a remote filesystem (for example, an NFSmounted filesystem) will almost certainly cause spurious testfailures.])m4_page_footer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -