# HG changeset patch # User Markus Mützel # Date 1664960113 -7200 # Node ID e39634a768e753ffe787c89c4ccdcacd1ad09b13 # Parent 473ac0a602b9e188e8c66c8c36b6496441c53137 qr.cc: Run test with sparse input only if built with necessary libraries (bug #63069). * libinterp/corefcn/qr.cc: Skip test if Octave was built without necessary libraries for sparse input for qr. diff -r 473ac0a602b9 -r e39634a768e7 libinterp/corefcn/qr.cc --- a/libinterp/corefcn/qr.cc Wed Oct 05 10:34:31 2022 +0200 +++ b/libinterp/corefcn/qr.cc Wed Oct 05 10:55:13 2022 +0200 @@ -806,7 +806,7 @@ %! assert (qr (zeros (1, 0)), zeros (1, 0)) %! assert (qr (zeros (0, 1)), zeros (0, 1)) -%!test <*63069> +%!testif ; (__have_feature__ ("SPQR") && __have_feature__ ("CHOLMOD")) || __have_feature__ ("CXSPARSE") <*63069> %! assert (qr (sparse (0, 0)), sparse (0, 0)) %! assert (qr (sparse (1, 0)), sparse (1, 0)) %! assert (qr (sparse (0, 1)), sparse (0, 1))