mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-31 07:58:24 +02:00
Solaris test compile/run
This commit is contained in:
parent
95b2f13647
commit
6ca0056f79
@ -8,11 +8,10 @@
|
|||||||
|
|
||||||
include $(POCO_BASE)/build/rules/global
|
include $(POCO_BASE)/build/rules/global
|
||||||
|
|
||||||
INCLUDE += -I./../include -I/usr/local/include/mysql
|
INCLUDE += -I./../include -I/usr/local/include/mysql -I/usr/include/mysql/ -I/usr/mysql/include/mysql
|
||||||
SYSLIBS += -L/usr/local/lib/mysql -lmysqlclient -lz
|
SYSLIBS += -L/usr/local/lib/mysql -L/usr/lib/mysql -L/usr/mysql/lib/mysql -lmysqlclient -lz
|
||||||
|
|
||||||
objects = MySQLTestSuite Driver \
|
objects = MySQLTestSuite Driver MySQLTest SQLExecutor
|
||||||
MySQLTest SQLExecutor
|
|
||||||
|
|
||||||
target = testrunner
|
target = testrunner
|
||||||
target_version = 1
|
target_version = 1
|
||||||
|
@ -267,9 +267,9 @@ void SQLExecutor::bareboneMySQLTest(const char* host, const char* user, const ch
|
|||||||
rc = mysql_stmt_fetch(hstmt);
|
rc = mysql_stmt_fetch(hstmt);
|
||||||
assert (rc == 0);
|
assert (rc == 0);
|
||||||
|
|
||||||
assert (0 == strncmp("111", chr[0], 3));
|
assert (0 == std::strncmp("111", chr[0], 3));
|
||||||
assert (0 == strncmp("222", chr[1], 3));
|
assert (0 == std::strncmp("222", chr[1], 3));
|
||||||
assert (0 == strncmp("333", chr[2], 3));
|
assert (0 == std::strncmp("333", chr[2], 3));
|
||||||
assert (4 == fourth);
|
assert (4 == fourth);
|
||||||
assert (1.5 == fifth);
|
assert (1.5 == fifth);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user