Changeset 151
- Timestamp:
- 06/30/08 13:10:29 (6 months ago)
- Files:
-
- trunk/dba (modified) (1 prop)
- trunk/dba/bakefile/dba.bkl (modified) (1 diff)
- trunk/dba/dba.bkl (modified) (5 diffs)
- trunk/dba/test/main.cpp (modified) (2 diffs)
- trunk/presets/syslibs.bkl (modified) (3 diffs)
- trunk/wxdba/test/main.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/dba
- Property svn:ignore changed from
configure
Makefile.in
autoconf_inc.m4
config.guess
config.sub
autom4te.cache
INSTALL
aclocal.m4
install-sh
.bakefile_gen.state
*.dsw
*.dsp
*.vc
Doxyfile
*.kdevelop.filelist
*.kdevelop.pcs
*.kdevses
*.kdevelop
build
*.ncb
*.sln
*.suo
*.vcproj
to
configure
Makefile.in
autoconf_inc.m4
config.guess
config.sub
autom4te.cache
INSTALL
aclocal.m4
install-sh
.bakefile_gen.state
*.dsw
*.dsp
*.vc
Doxyfile
*.kdevelop.filelist
*.kdevelop.pcs
*.kdevses
*.kdevelop
build
*.ncb
*.sln
*.suo
*.vcproj
*.user
- Property svn:ignore changed from
trunk/dba/bakefile/dba.bkl
r150 r151 114 114 <dll-link>dbacsv</dll-link> 115 115 </template> 116 <template id="dba-xml-lib-static" template="dba-lib-static ">116 <template id="dba-xml-lib-static" template="dba-lib-static,libxml2-lib"> 117 117 </template> 118 <template id="dba-xml-exe-static" template="dba-exe-static ">118 <template id="dba-xml-exe-static" template="dba-exe-static,libxml2-exe"> 119 119 <static-link>dbaxml</static-link> 120 120 </template> 121 <template id="dba-xml-lib-dynamic" template="dba-lib-dynamic ">121 <template id="dba-xml-lib-dynamic" template="dba-lib-dynamic,libxml2-lib"> 122 122 </template> 123 <template id="dba-xml-exe-dynamic" template="dba-exe-dynamic ">123 <template id="dba-xml-exe-dynamic" template="dba-exe-dynamic,libxml2-exe"> 124 124 <dll-link>dbaxml</dll-link> 125 125 </template> trunk/dba/dba.bkl
r150 r151 99 99 </set> 100 100 101 <template id="xml-lib"> 102 <if cond="FORMAT!='autoconf'"> 103 <if cond="TOOLSET=='win32'"> 104 <lib-path>"$(DOLLAR)($(ENV_VAR)LIBXML2)$(DIRSEP)lib"</lib-path> 105 <include>"$(DOLLAR)($(ENV_VAR)LIBXML2)$(DIRSEP)include"</include> 106 </if> 107 </if> 108 <if cond="FORMAT=='autoconf'"> 109 <cxxflags>$(xml2_CXXFLAGS)</cxxflags> 110 </if> 111 </template> 112 113 <template id="xml-exe" template="xml-lib"> 114 <if cond="FORMAT!='autoconf'"> 115 <if cond="TOOLSET=='win32'"> 116 <sys-lib>libxml2</sys-lib> 117 </if> 118 </if> 119 <if cond="FORMAT=='autoconf'"> 120 <ldlibs>$(xml2_LIBS)</ldlibs> 121 </if> 122 </template> 123 124 <template id="dbabase" template="xml-lib"> 101 <template id="dbabase"> 125 102 <name>dba</name> 126 103 <sources>$(LIBSOURCES)</sources>--> … … 213 190 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">dbacsv=dbacsv_static+dbacsv_dynamic</set> 214 191 215 <template id="dbaxml_base" template=" xml-lib">192 <template id="dbaxml_base" template="libxml2-lib"> 216 193 <name>dbaxml</name> 217 194 <include>$(LIBSRC)</include> … … 304 281 </set> 305 282 306 <lib id="dbatestlib" template="lib, xml-lib" template_append="cppunit" cond="TESTS=='1'">283 <lib id="dbatestlib" template="lib,libxml2-lib" template_append="cppunit" cond="TESTS=='1'"> 307 284 <sources>$(TESTLIB_SOURCES)</sources> 308 285 <msvc-headers>$(TESTLIB_HEADERS)</msvc-headers> … … 318 295 </lib> 319 296 320 <template id="dbaexe_base" template_append=" xml-exe">297 <template id="dbaexe_base" template_append="libxml2-exe"> 321 298 <app-type>console</app-type> 322 299 <include>$(SRCDIR)</include> … … 417 394 </set> 418 395 396 <set var="XMLLIB"> 397 <if cond="XML=='1'">dbaxml</if> 398 <if cond="XML=='0'"></if> 399 </set> 400 419 401 <win32-lib-install id="win32_install"> 420 402 <include-subdir>dba</include-subdir> 421 403 <include-files>$(LIBHEADERS)</include-files> 422 <libs>dba $(CSVLIB) </libs>404 <libs>dba $(CSVLIB) $(XMLLIB)</libs> 423 405 <dlls>dba</dlls> 424 406 <modules>$(MODULES)</modules> trunk/dba/test/main.cpp
r141 r151 144 144 CppUnit::BriefTestProgressListener listener; 145 145 runner.eventManager().addListener(&listener); 146 //runner.addTest( CppUnit::TestFactoryRegistry::getRegistry().makeTest() );146 runner.addTest( CppUnit::TestFactoryRegistry::getRegistry().makeTest() ); 147 147 //runner.addTest(new CppUnit::TestCaller<SQLite3SQLArchiveTestCase>("debug_test",&SQLite3SQLArchiveTestCase::sqlError)); 148 148 //runner.addTest(new CppUnit::TestCaller<PostgresSQLArchiveTestCase>("debug_test",&PostgresSQLArchiveTestCase::sqlError)); … … 150 150 //runner.addTest(new CppUnit::TestCaller<dba_tests::CSVTestCase>("debug_test",&dba_tests::CSVTestCase::manual)); 151 151 //runner.addTest(new CppUnit::TestCaller<SQLite3SQLArchiveTestCase>("debug_test",&SQLite3SQLArchiveTestCase::transactions_rollback)); 152 runner.addTest(dba_tests::XMLTestCase::suite());152 //runner.addTest(dba_tests::XMLTestCase::suite()); 153 153 //runner.addTest(new CppUnit::TestCaller<dba_tests::XMLTestCase>("debug_test",&dba_tests::XMLTestCase::sublist_tree_load)); 154 154 //runner.addTest(new CppUnit::TestCaller<OdbcPluginTestCase>("debug_test",&OdbcPluginTestCase::dbConnection)); trunk/presets/syslibs.bkl
r20 r151 10 10 <sys-lib>iconv</sys-lib> 11 11 </if> 12 <!-- <if cond="FORMAT=='autoconf'">13 <sys-lib>sqlite3</sys-lib>14 </if>-->15 12 </template> 16 13 … … 46 43 <if cond="FORMAT!='autoconf'"> 47 44 <if cond="TOOLSET=='win32'"> 48 <lib-path>"$(DOLLAR)($(ENV_VAR)POSTGRESQL)$(DIRSEP)lib $(DIRSEP)ms"</lib-path>45 <lib-path>"$(DOLLAR)($(ENV_VAR)POSTGRESQL)$(DIRSEP)lib"</lib-path> 49 46 <include>"$(DOLLAR)($(ENV_VAR)POSTGRESQL)$(DIRSEP)include"</include> 50 47 </if> … … 117 114 <sys-lib>wxbase28u$(LIBDEBUGSUFFIX)_net</sys-lib> 118 115 <sys-lib>wxbase28u$(LIBDEBUGSUFFIX)_xml</sys-lib> 119 <sys-lib>wxbase28u$(LIBDEBUGSUFFIX)_odbc</sys-lib>120 116 <sys-lib>wxexpat$(LIBDEBUGSUFFIX)</sys-lib> 121 117 <sys-lib>wxzlib$(LIBDEBUGSUFFIX)</sys-lib> trunk/wxdba/test/main.cpp
r150 r151 62 62 CppUnit::BriefTestProgressListener listener; 63 63 runner.eventManager().addListener(&listener); 64 //runner.addTest( CppUnit::TestFactoryRegistry::getRegistry().makeTest() );64 runner.addTest( CppUnit::TestFactoryRegistry::getRegistry().makeTest() ); 65 65 //runner.addTest(new CppUnit::TestCaller<wxdba_test::DateTimeGMTOffset>("debug_test",&wxdba_test::DateTimeGMTOffset::test6)); 66 66 //runner.addTest(new CppUnit::TestCaller<wxdba_test::APITestCase>("debug_test",&wxdba_test::APITestCase::dbresult_conversion_win1250)); 67 67 //runner.addTest(new CppUnit::TestCaller<SQLite3CollectionsTestCase>("debug_test",&SQLite3CollectionsTestCase::wxArray_store)); 68 runner.addTest(new CppUnit::TestCaller<wxdba_test::XMLTestCase>("debug_test",&wxdba_test::XMLTestCase::onerow));68 //runner.addTest(new CppUnit::TestCaller<wxdba_test::XMLTestCase>("debug_test",&wxdba_test::XMLTestCase::onerow)); 69 69 70 70 runner.run();
