⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test.so

📁 berkeley db 4.6.21的源码。berkeley db是一个简单的数据库管理系统
💻 SO
字号:
m4_comment([$Id: test.so,v 10.45 2005/12/01 03:18:51 bostic Exp $])ifdef([__m4_product_name],, [define(__m4_product_name, m4_db)])ifelse(__m4_product_name, m4_db, [dnldefine(__m4_tclwinpath, ref/build_win/intro)define(__m4_prev_link, build_win/small)define(__m4_next_link, build_win/notes)],[dnldefine(__m4_tclwinpath, ref_xml/xml_win/intro)define(__m4_prev_link, xml_win/intro)define(__m4_next_link, xml_win/notes)])m4_ref_title(Building __m4_product_name for Windows systems,    Running the test suite under Windows,    [running the @test suite under Windows,    running the test suite under @Windows], __m4_prev_link, __m4_next_link)m4_p([dnlTo build the test suite on Windows platforms, you will need to configureTcl support.  You will also need sufficient main memory (at least 64MB),and disk (around 250MB of disk will be sufficient).])m4_section(Building the software needed by the tests)m4_p([dnlTo build for testing, perform the following steps:])m4_nlistbeginm4_nlist([The test suite must be run against a Debug version of__m4_product_name, so you will need a Debug version of the Tcllibraries.  This involves building Tcl from its source.  See the Tclsources for more information.])m4_nlist([Open the __m4_product_name workspace.])m4_nlist([Build the Tcl API (seem4_link(M4RELDIR/__m4_tclwinpath, Building the Tcl API) for details).])ifelse(__m4_product_name, m4_db, [dnlm4_nlist([In Visual C++ 6.0, set the active configuration to db_test --Debug.  To set an active configuration, under the m4_italic(Build) menu,select m4_italic(Set Active Configuration).  Then choosem4_italic(db_test -- Debug).  In Visual C++ .NET, just make surem4_italic(Debug) is selected in the drop down list on the tool bar.])m4_nlist([Build.  In Visual C++ 6.0, the IDE menu item for this iscalled "build dbkill.exe", even though dbkill is just one of the thingsthat is built.  In Visual C++ .NET, right-click on them4_italic(db_test) project and select m4_italic(Build). This step makessure that the base __m4_product_name .dll, tcl support, and various tools thatare needed by the test suite are all built.])])m4_nlistendm4_section(Running the test suite under Windows)m4_p([dnlBefore running the tests for the first time, you must edit the filem4_path(include.tcl) in your build directory and change the linethat reads:])m4_indent([set tclsh_path SET_YOUR_TCLSH_PATH])m4_p([dnlYou will want to use the location of the m4_path(tclsh) program (besure to include the name of the executable).  For example, if Tcl isinstalled in m4_path(d:\tcl), this line should be the following:])m4_indent([set tclsh_path d:\tcl\bin\tclsh84g.exe])m4_p([dnlIf your path includes spaces be sure to enclose it in quotes:])m4_indent([set tclsh_path "c:\Program Files\tcl\bin\tclsh84g.exe"])m4_p([dnlMake sure that the path to __m4_product_name's tcl library is in yourcurrent path.  On Windows NT/2000/XP, edit your PATH using the MyComputer -__GT__ Properties -__GT__ Advanced -__GT__ EnvironmentVariables dialog.  On earlier versions of Windows, you may find itconvenient to add a line to c:\AUTOEXEC.BAT:])ifelse(__m4_product_name, m4_db, [dnlm4_indent([SET PATH=%PATH%;c:\db\build_windows\Debug])], [dnlm4_indent([SET PATH=%PATH%;c:\dbxml\build_windows\Debug])m4_p([dnlRepeat the above step for each of the dependent DLLs.  This includes them4_db DLL, the Xerces-C DLL, and the Pathan DLL.])])m4_p([dnlThen, in a shell of your choice enter the following commands:])m4_nlistbeginm4_nlist([cd build_windows])m4_nlist([run m4_path(d:\tcl\bin\tclsh84g.exe), or the equivalent name ofthe Tcl shell for your system.m4_p([dnlYou should get a "%" prompt.])])m4_nlist([% source ../test/test.tclm4_p([dnlIf no errors occur, you should get a "%" prompt.])])m4_nlistendm4_p([dnlYou are now ready to run tests in the test suite; seem4_link(M4RELDIR/ref/test/run, Running the test suite) for moreinformation.])m4_page_footer

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -