Mercurial > hg > octave-max
diff scripts/testfun/test.m @ 7243:e8d7eed42935
[project @ 2007-12-04 02:10:17 by jwe]
author | jwe |
---|---|
date | Tue, 04 Dec 2007 02:10:18 +0000 |
parents | e4398e3903be |
children | 5a9561046b89 |
line wrap: on
line diff
--- a/scripts/testfun/test.m +++ b/scripts/testfun/test.m @@ -480,7 +480,8 @@ fputs (__fid, __msg); fflush (__fid); ## show the variable context - if (! strcmp (__type, "error") && ! all (__shared == " ")) + if (! strcmp (__type, "error") && ! strcmp (__type, "testif") && + ! all (__shared == " ")) fputs (__fid, "shared variables "); eval (sprintf ("fdisp(__fid,bundle(%s));", __shared)); fflush (__fid); @@ -618,9 +619,11 @@ %!testif OCTAVE_SOURCE %! ## This test should be run %! assert (true); -%!testif HAVE_FOOBAR -%! ## missing feature. Fail if this test is run -%! error("Failed missing feature test"); + +### Disable this test to avoid spurious skipped test for "make check" +% !testif HAVE_FOOBAR +% ! ## missing feature. Fail if this test is run +% ! error("Failed missing feature test"); ### Test for a known failure %!xtest error("This test is known to fail")