File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ print("CXX flags: ${CMAKE_CXX_FLAGS}")
49
49
print ("Using CMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} " )
50
50
51
51
option (TESTING "Build tests" ON )
52
+ option (TESTING_PROOFS "Build proofs tests" OFF )
52
53
option (CLANG_FORMAT "Enable clang-format target" ON )
53
54
option (CLANG_TIDY "Enable clang-tidy checks during compilation" OFF )
54
55
option (COVERAGE "Enable generation of coverage info" OFF )
Original file line number Diff line number Diff line change @@ -11,7 +11,11 @@ add_subdirectory(codec)
11
11
add_subdirectory (common )
12
12
add_subdirectory (crypto )
13
13
add_subdirectory (fslock )
14
- add_subdirectory (proofs )
14
+
15
+ if (TESTING_PROOFS )
16
+ add_subdirectory (proofs )
17
+ endif ()
18
+
15
19
add_subdirectory (power )
16
20
add_subdirectory (primitives )
17
21
add_subdirectory (storage )
Original file line number Diff line number Diff line change @@ -40,14 +40,12 @@ class ProofsTest : public test::BaseFS_Test {
40
40
ProofsTest () : test::BaseFS_Test(" fc_proofs_test" ) {}
41
41
};
42
42
43
- // TODO(artyom-yurin): [FIL-164]
44
43
/* *
45
- * disabled because it takes too long
46
44
* @given data of sector
47
45
* @when want to seal data and proof post
48
46
* @then success
49
47
*/
50
- TEST_F (ProofsTest, DISABLED_Lifecycle ) {
48
+ TEST_F (ProofsTest, Lifecycle ) {
51
49
uint64_t challenge_count = 2 ;
52
50
ActorId miner_id = 42 ;
53
51
Randomness randomness{{9 , 9 , 9 }};
You can’t perform that action at this time.
0 commit comments