From: David B. <ad...@us...> - 2006-08-30 23:13:14
|
Update of /cvsroot/octave/octave-forge/main/comm/inst In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31154 Modified Files: comms.m Log Message: simple but stupid conversion of test code to test/assert Index: comms.m =================================================================== RCS file: /cvsroot/octave/octave-forge/main/comm/inst/comms.m,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- comms.m 20 Aug 2006 14:34:29 -0000 1.1 +++ comms.m 30 Aug 2006 23:13:12 -0000 1.2 @@ -74,7 +74,7 @@ tests = 'all'; endif - infofile = 'comms.info'; + if strcmp(tests,"all") nodename = "Top"; elseif strcmp(tests,"random") @@ -661,3 +661,7 @@ usage("comms: Unknown argument"); endif endfunction + +%!test +%! try comms("test"); +%! catch disp(lasterr()); end |