linux编译更新

This commit is contained in:
fasiondog 2017-11-14 23:21:41 +08:00
parent 41e30ce965
commit 28d4ac89f7
2 changed files with 14 additions and 7 deletions

View File

@ -1,5 +1,6 @@
[tmpdir]
[hikyuu]
tmpdir = ./data/tmp
logger = ./data/logger.properties
[block]
type = qianlong
@ -10,9 +11,6 @@ dir = ./data/block
概念板块 = gnbk.ini
self = self.ini
[logger]
properties = ./data/logger.properties
[preload]
day = 1
week = 0
@ -25,6 +23,15 @@ year = 0
type = sqlite3
db = ./data/stock.db
[kdata]
type = hdf5
sh_day = ./data/sh_day.h5
sh_min = ./data/sh_1min.h5
sh_min5 = ./data/sh_5min.h5
sz_day = ./data/sz_day.h5
sz_min = ./data/sz_1min.h5
sz_min5 = ./data/sz_5min.h5
[sh_day]
type = hdf5
file = ./data/sh_day.h5

View File

@ -146,9 +146,9 @@ BOOST_AUTO_TEST_CASE( test_StockManager_getAllMarket ) {
BOOST_CHECK(result[1] == "SH");
BOOST_CHECK(result[2] == "SZ");
#else
BOOST_CHECK(result[0] == "SZ");
BOOST_CHECK(result[1] == "SH");
BOOST_CHECK(result[2] == "TMP");
BOOST_CHECK(result[0] == "TMP");
BOOST_CHECK(result[1] == "SZ");
BOOST_CHECK(result[2] == "SH");
#endif
}