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