File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ const matrix_info files[] = {
2323};
2424
2525void test_IsolateSets (void ){
26+ #if LG_SUITESPARSE_GRAPHBLAS_V10
2627 LAGraph_Init (msg );
2728 printf ("\n" );
2829 for (int k = 0 ;;k ++ )
@@ -66,6 +67,7 @@ void test_IsolateSets(void){
6667 GrB_free (& MIset ) ;
6768
6869 }
70+ #endif
6971}
7072TEST_LIST = {
7173 {"Isolate Set" , test_IsolateSets },
Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ const matrix_info files[] = {
4040
4141void test_LouvainSeq (void )
4242{
43- LAGraph_Init (msg );
43+ #if LG_SUITESPARSE_GRAPHBLAS_V10
44+ LAGraph_Init (msg );
4445
4546 for (int k = 0 ;; k ++ )
4647 {
@@ -84,10 +85,12 @@ void test_LouvainSeq(void)
8485 OK (LAGraph_Delete (& G , msg ));
8586 }
8687 LAGraph_Finalize (msg );
88+ #endif
8789}
8890void test_LouvainIS (void )
8991{
90- LAGraph_Init (msg );
92+ #if LG_SUITESPARSE_GRAPHBLAS_V10
93+ LAGraph_Init (msg );
9194
9295 for (int k = 0 ;; k ++ )
9396 {
@@ -136,6 +139,7 @@ void test_LouvainIS(void)
136139 }
137140
138141 LAGraph_Finalize (msg );
142+ #endif
139143}
140144
141145TEST_LIST = {
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ const matrix_info files[] = {
2929 {"" , "" , -1 , -1 }};
3030void test_modularity (void )
3131{
32+ #if LG_SUITESPARSE_GRAPHBLAS_V10
3233 LAGraph_Init (msg );
3334 for (int k = 0 ;; k ++ )
3435 {
@@ -66,6 +67,7 @@ void test_modularity(void)
6667 OK (LAGraph_Delete (& G , msg ));
6768
6869 LAGraph_Finalize (msg );
70+ #endif
6971}
7072
7173//----------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments