# HG changeset patch # User Mike Miller # Date 1470937346 25200 # Node ID 16efd0403698c1736db5aeeeadf08738cfece1a8 # Parent 2c7acd39e9b78e6897cea3d49146109758917a5f Add %!error test pattern matches for disabled optional features * fftw.cc: Add regex to failing %!error tests when FFTW is not enabled. * xzip.cc: Add regex to failing %!error tests when bzip2 is not enabled. diff -r 2c7acd39e9b7 -r 16efd0403698 libinterp/dldfcn/fftw.cc --- a/libinterp/dldfcn/fftw.cc Thu Aug 11 09:56:12 2016 -0700 +++ b/libinterp/dldfcn/fftw.cc Thu Aug 11 10:42:26 2016 -0700 @@ -372,8 +372,8 @@ %! fftw ("threads", n); %! end_unwind_protect -%!error fftw () -%!error fftw ("planner", "estimate", "measure") +%!error fftw () +%!error fftw ("planner", "estimate", "measure") %!error fftw (3) %!error fftw ("invalid") %!error fftw ("planner", "invalid") diff -r 2c7acd39e9b7 -r 16efd0403698 libinterp/dldfcn/xzip.cc --- a/libinterp/dldfcn/xzip.cc Thu Aug 11 09:56:12 2016 -0700 +++ b/libinterp/dldfcn/xzip.cc Thu Aug 11 10:42:26 2016 -0700 @@ -568,7 +568,7 @@ /* %!error gzip () %!error gzip ("1", "2", "3") -%!error gzip (1) +%!error gzip (1) */ DEFUN_DLD (bzip2, args, ,