File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 77// ===----------------------------------------------------------------------===//
88
99#include " llvm/CAS/ObjectStore.h"
10+ #include " llvm/Config/llvm-config.h"
1011#include " llvm/Support/Process.h"
1112#include " llvm/Support/RandomNumberGenerator.h"
1213#include " llvm/Support/ThreadPool.h"
@@ -268,6 +269,7 @@ TEST_P(CASTest, NodesBig) {
268269 ASSERT_THAT_ERROR (CAS->validate (CAS->getID (ID)), Succeeded ());
269270}
270271
272+ #if LLVM_ENABLE_THREADS
271273// / Common test functionality for creating blobs in parallel. You can vary which
272274// / cas instances are the same or different, and the size of the created blobs.
273275static void testBlobsParallel (ObjectStore &Read1, ObjectStore &Read2,
@@ -342,4 +344,5 @@ TEST_P(CASTest, BlobsBigParallel) {
342344 uint64_t Size = 100ULL * 1024 ;
343345 ASSERT_NO_FATAL_FAILURE (testBlobsParallel1 (*CAS, Size));
344346}
345- #endif
347+ #endif // EXPENSIVE_CHECKS
348+ #endif // LLVM_ENABLE_THREADS
You can’t perform that action at this time.
0 commit comments