Mercurial > octave
comparison scripts/testfun/test.m @ 25216:b72972ab83f1 stable
test: Add bug IDs to failing %!xtest blocks.
* gammainc.m, test.m, classdef.tst: Add bug ID to failing %!xtest blocks.
* jit.tst: Add bug ID to failing %!xtest blocks. Add code to immediately exit
from test if jit is not enabled. Need to do this because there is no %!xtestif
keyword.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 11 Apr 2018 11:52:49 -0700 |
parents | 6652d3823428 |
children | a87b4dca2ce3 |
comparison
equal
deleted
inserted
replaced
25215:7ca5f8c70879 | 25216:b72972ab83f1 |
---|---|
1008 %! error ("testif executed code despite not having feature"); | 1008 %! error ("testif executed code despite not having feature"); |
1009 | 1009 |
1010 ## Test 'xtest' keyword | 1010 ## Test 'xtest' keyword |
1011 %!xtest | 1011 %!xtest |
1012 %! assert (1, 1); # Test passes | 1012 %! assert (1, 1); # Test passes |
1013 %!xtest | 1013 %!xtest <53613> |
1014 %! assert (0, 1); # Test fails | 1014 %! assert (0, 1); # Test fails |
1015 | 1015 |
1016 ## Test comment block. It can contain anything. | 1016 ## Test comment block. It can contain anything. |
1017 %!## | 1017 %!## |
1018 %! it is the "#" as the block type that makes it a comment | 1018 %! it is the "#" as the block type that makes it a comment |