From c71afaf1f8fa3f333dc75b21ee413a1c90211d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 21 Jun 2006 11:03:57 +0000 Subject: tests now MUST return a value in order to stop (destroy) the specific test; this allows for tests that execute in non-zero logical time (e.g. signal-objects or timed objects) svn path=/trunk/externals/zexy/; revision=5279 --- tests/runtests_nogui.pd | 89 ++++++++++++++++++++++++++----------------------- 1 file changed, 47 insertions(+), 42 deletions(-) (limited to 'tests/runtests_nogui.pd') diff --git a/tests/runtests_nogui.pd b/tests/runtests_nogui.pd index 229874d..497368d 100644 --- a/tests/runtests_nogui.pd +++ b/tests/runtests_nogui.pd @@ -1,44 +1,49 @@ -#N canvas 209 168 427 557 10; -#X obj 86 209 testunit; -#X obj 86 130 textfile; -#X obj 86 56 t b b; -#X msg 116 84 read runtests.txt \, rewind; +#N canvas 338 0 512 588 10; +#X obj 86 269 testunit; +#X obj 86 190 textfile; +#X msg 104 144 read runtests.txt \, rewind; #X obj 86 34 loadbang; -#X msg 137 171 \; pd quit; -#X obj 86 110 until; -#X obj 86 233 select 0 1; -#X obj 111 259 + 1; -#X obj 171 259 + 1; -#X obj 87 312 i; -#X obj 130 312 i; -#X obj 130 381 print regression-test; -#X msg 130 356 \$1 tests passed; -#X msg 87 335 \$1 tests failed; -#X obj 87 291 t b b; -#X obj 137 150 t b b; -#X obj 86 259 i 1; -#X obj 146 259 i 1; -#X connect 0 0 7 0; +#X msg 137 231 \; pd quit; +#X obj 86 317 select 0 1; +#X obj 111 343 + 1; +#X obj 171 343 + 1; +#X obj 87 396 i; +#X obj 130 396 i; +#X obj 130 465 print regression-test; +#X msg 130 440 \$1 tests passed; +#X msg 87 419 \$1 tests failed; +#X obj 87 375 t b b; +#X obj 137 210 t b b; +#X obj 86 343 i 1; +#X obj 146 343 i 1; +#X obj 86 56 t b b b; +#X msg 123 98 \; pd dsp 1; +#X text 182 106 turn on dsp \, just in case an object crashes with +dsp enabled...; +#X obj 61 295 t b a; +#X connect 0 0 20 0; #X connect 1 0 0 0; -#X connect 1 1 16 0; -#X connect 2 0 6 0; -#X connect 2 1 3 0; -#X connect 3 0 1 0; -#X connect 4 0 2 0; -#X connect 6 0 1 0; -#X connect 7 0 17 0; -#X connect 7 1 18 0; -#X connect 8 0 17 1; -#X connect 9 0 18 1; -#X connect 10 0 14 0; -#X connect 11 0 13 0; -#X connect 13 0 12 0; -#X connect 14 0 12 0; -#X connect 15 0 10 0; -#X connect 15 1 11 0; -#X connect 16 0 5 0; -#X connect 16 1 15 0; -#X connect 17 0 8 0; -#X connect 17 0 10 1; -#X connect 18 0 9 0; -#X connect 18 0 11 1; +#X connect 1 1 14 0; +#X connect 2 0 1 0; +#X connect 3 0 17 0; +#X connect 5 0 15 0; +#X connect 5 1 16 0; +#X connect 6 0 15 1; +#X connect 7 0 16 1; +#X connect 8 0 12 0; +#X connect 9 0 11 0; +#X connect 11 0 10 0; +#X connect 12 0 10 0; +#X connect 13 0 8 0; +#X connect 13 1 9 0; +#X connect 14 0 4 0; +#X connect 14 1 13 0; +#X connect 15 0 6 0; +#X connect 15 0 8 1; +#X connect 16 0 7 0; +#X connect 16 0 9 1; +#X connect 17 0 1 0; +#X connect 17 1 2 0; +#X connect 17 2 18 0; +#X connect 20 0 1 0; +#X connect 20 1 5 0; -- cgit v1.2.1