mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
Improve testing coverage, remove unused code
a) Add further tests to CI to cover most features. This uncovered a potential race in case setoption was sent between two searches. As the UCI protocol requires this sent to be went the engine is not searching, setoption now ensures that this is the case. b) Remove some unused code closes https://github.com/official-stockfish/Stockfish/pull/4730 No functional change
This commit is contained in:
committed by
Stéphane Nicolet
parent
0d2ddb81ef
commit
8192945870
@@ -98,6 +98,8 @@ namespace {
|
||||
|
||||
void setoption(istringstream& is) {
|
||||
|
||||
Threads.main()->wait_for_search_finished();
|
||||
|
||||
string token, name, value;
|
||||
|
||||
is >> token; // Consume the "name" token
|
||||
|
||||
Reference in New Issue
Block a user