'tests' added

This commit is contained in:
Petar Mitchev
2016-09-17 15:10:32 +03:00
parent 0d5f1f58de
commit 0c6394b7a9
2 changed files with 29 additions and 11 deletions
+28 -10
View File
@@ -84,16 +84,6 @@
""
]
}
},
{
"action": "add_bellow",
"marker": "bi.bi_coins = *(uint64_t *)v.mv_data;",
"parameters": {
"text": [
" // Don't really need this",
" bi.bi_txs = 0;"
]
}
}
]
},
@@ -735,6 +725,34 @@
}
}
]
},
{
"path": "/tests/unit_tests/blockchain_db.cpp",
"changes": [
{
"action": "add_bellow",
"marker": "ASSERT_EQ(t_coins[0], this->m_db->get_block_already_generated_coins(0));",
"parameters": {
"text": [
" ASSERT_EQ(t_coins[0], this->m_db->get_block_already_generated_transactions(0));"
]
}
}
]
},
{
"path": "/tests/unit_tests/hardfork.cpp",
"changes": [
{
"action": "add_bellow",
"marker": "virtual uint64_t get_block_already_generated_coins(const uint64_t& height) const { return 10000000000; }",
"parameters": {
"text": [
" virtual uint64_t get_block_already_generated_transactions(const uint64_t& height) const { return 100; }"
]
}
}
]
}
]
}
+1 -1
View File
@@ -85,7 +85,7 @@ function installUbuntu {
if [[ $DISTRIB_RELEASE == 16* ]] ; then
sudo apt-get update
sudo apt-get -y install build-essential python-dev gcc-4.9 g++-4.9 git cmake pkg-config libboost1.58-all-dev libunbound-dev libevent-dev
sudo apt-get -y install build-essential python-dev gcc-4.9 g++-4.9 git cmake pkg-config libboost1.58-all-dev libunbound-dev libevent-dev libssl-dev
export CXXFLAGS="-std=gnu++11"
doneMessage