Skip to content

Commit 0a28b86

Browse files
committed
Gate task test behind env var
1 parent 7b30bc0 commit 0a28b86

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cpp/tests/testconfig.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ void Tests::runParseAllConfigsTest() {
382382
}
383383

384384
void Tests::runTaskParsingTests() {
385+
#ifdef BUILD_DISTRIBUTED
385386
{
386387
std::string jsonResponse = R"({
387388
"kind": "selfplay",
@@ -495,4 +496,5 @@ void Tests::runTaskParsingTests() {
495496

496497
std::cout << "All task parsing tests passed!" << std::endl;
497498
}
499+
#endif // BUILD_DISTRIBUTED
498500
}

0 commit comments

Comments
 (0)