changeset 20058:6babcfbe1a0a

test.m: Don't run interactive demo blocks in batch mode. * test.m: Only run demo blocks if "verbose" reporting is set and we are in interactive mode.
author Rik <rik@octave.org>
date Thu, 02 Apr 2015 14:21:43 -0700
parents 5bd3216748fc
children cf9b94a89620
files scripts/testfun/test.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/testfun/test.m	Thu Apr 02 16:51:35 2015 -0400
+++ b/scripts/testfun/test.m	Thu Apr 02 14:21:43 2015 -0700
@@ -174,7 +174,7 @@
     __verbose  = -1;
   elseif (strcmp (__flag, "verbose"))
     __grabdemo = false;
-    __rundemo  = true;
+    __rundemo  = ! __batch;
     __verbose  = 1;
   elseif (strcmp (__flag, "grabdemo"))
     __grabdemo = true;