1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Various changes in TVM, github builds and tests (#793)

* Bugfixes in TVM and node

* Upgrade to C++17

* Improve GitHub builds

* Fix existing tests and partially integrate them into builds

---------

Co-authored-by: neodiX42 <namlem@gmail.com>
Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
This commit is contained in:
SpyCheese 2023-11-03 14:43:34 +03:00 committed by GitHub
parent 89700cb2aa
commit 5847897b37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
122 changed files with 2889 additions and 4100 deletions

View file

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
#SOURCE SETS
set(TDACTOR_SOURCE

View file

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
set(BENCHMARK_SOURCE
benchmark.cpp

View file

@ -720,7 +720,7 @@ TEST(Actor2, actor_function_result) {
}
TEST(Actor2, actor_ping_pong) {
Scheduler scheduler{{3}, Scheduler::Paused};
Scheduler scheduler{{3}, false, Scheduler::Paused};
sb.clear();
scheduler.start();
@ -799,7 +799,7 @@ TEST(Actor2, Schedulers) {
for (auto run_count : {0, 1, 2}) {
for (auto stop_count : {0, 1, 2}) {
for (size_t threads : {0, 1}) {
Scheduler scheduler({threads}, mode);
Scheduler scheduler({threads}, false, mode);
for (int i = 0; i < start_count; i++) {
scheduler.start();
}

View file

@ -210,7 +210,7 @@ TEST(Actor, promise_future) {
TEST(Actor2, actor_lost_promise) {
using namespace td::actor;
using namespace td;
Scheduler scheduler({1}, Scheduler::Paused);
Scheduler scheduler({1}, false, Scheduler::Paused);
auto watcher = td::create_shared_destructor([] {
LOG(ERROR) << "STOP";