Skip to content

Commit a92165c

Browse files
full test coverage
1 parent de51a91 commit a92165c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/test/test_Xinit.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ void test_Xinit (void)
6161
//------------------------------------------------------------------------------
6262

6363
#if LAGRAPH_SUITESPARSE
64-
bool LG_init_has_been_called_from_Xinit ;
64+
bool LG_init_has_been_called ;
6565
void test_Xinit_brutal (void)
6666
{
6767
// no brutal memory failures, but test LG_brutal_malloc/calloc/realloc/free
@@ -131,7 +131,7 @@ void test_Xinit_brutal (void)
131131
{
132132
LG_brutal = nbrutal ;
133133
GB_Global_GrB_init_called_set (false) ;
134-
LG_init_has_been_called_from_Xinit = false ;
134+
LG_init_has_been_called = false ;
135135
int result = LAGr_Init (GrB_NONBLOCKING,
136136
LG_brutal_malloc, LG_brutal_calloc,
137137
LG_brutal_realloc, LG_brutal_free, msg) ;

src/test/test_minmax.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,13 @@ void test_minmax (void)
227227
{
228228
TEST_CHECK (result == GrB_SUCCESS) ;
229229
}
230+
231+
#if 0
230232
if (emin1 != emin2)
231233
{
232234
// failure on MSVC, OpenMP
233235
// https://github.com/DrTimothyAldenDavis/SuiteSparse/actions/runs/6763376325/job/18380420493?pr=503
236+
// now fixed.
234237
printf ("Test failure, k: %d name: %s\n", k, aname) ;
235238
printf ("emin1: %30.20g\n", emin1) ;
236239
printf ("emin2: %30.20g\n", emin2) ;
@@ -245,6 +248,8 @@ void test_minmax (void)
245248
printf ("emax2 int64: %" PRId64 "\n", emax2_int64) ;
246249

247250
}
251+
#endif
252+
248253
TEST_CHECK (emin1 == emin2) ;
249254

250255
result = GrB_Scalar_extractElement_FP64 (&emax2, G->emax) ;

0 commit comments

Comments
 (0)