regression_tests.pd 2.79 KB
Newer Older
1
#N canvas 9 118 749 571 12;
2
#X obj 465 281 r \$0-result;
3
#X obj 212 239 bng 31 250 50 0 empty empty Run_all 39 13 0 12 -262144
4
5
6
-1 -1;
#X obj 56 25 r init;
#X obj 345 191 route dollarzero;
7
8
9
#X obj 198 281 rtest msg_dollarzero;
#X obj 198 336 rtest msg_dollarzero_semi;
#X obj 198 392 rtest msg_click;
10
11
12
13
14
15
16
17
18
19
20
#X obj 345 216 rtest binbuf_dollarzero;
#X text 117 25 <- we start Pd with the -send "init etc." flag. This
will automatically start the tests and allow us to send a comma-separated
list of messages which will be evaluated by Pd without a target. This
is handy for some binbuf tests.;
#X text 345 120 To run this test we use the following startup-flag:
;
#X text 345 150 -send "init dollarzero \$0";
#X text 536 150 <- we have to escape the arg;
#X text 556 190 escape it in a comment.;
#X text 556 170 in bash but we can't;
21
22
23
24
25
26
#X obj 198 448 rtest unpost_sanity;
#X obj 198 504 rtest unpost_error;
#X obj 198 555 rtest unpost_print;
#X obj 198 606 rtest unpost_long_message;
#X obj 198 659 rtest makefilename_double_percent;
#X obj 198 710 rtest makefilename_code_coverage;
27
#N canvas 461 242 450 323 (subpatch) 0;
28
29
30
31
32
33
34
#X restore 201 1715 pd;
#X obj 198 761 rtest makefilename_default;
#X obj 198 812 rtest makefilename_default_bang;
#X obj 198 863 rtest makefilename_float;
#X obj 198 914 rtest makefilename_symbol;
#X obj 198 965 rtest makefilename_bang;
#X obj 198 1016 rtest drawtext-typecheck;
35
#X obj 465 308 utils/print-result;
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#X obj 56 231 utils/quit-if-nogui;
#X obj 198 1071 rtest list_cat_clear;
#X obj 198 1126 rtest list_cat_anything;
#X obj 198 1181 rtest list_cat_reentrancy;
#X obj 198 1236 rtest canvas_f;
#X obj 198 1406 rtest cxc_hex2dec_empty_symbol;
#X obj 198 1466 rtest cxc_hex2dec_invalid;
#X obj 198 1526 rtest cxc_hex2dec_overflow;
#X obj 198 1586 rtest cxc_hex2dec_small_list;
#X obj 198 1646 rtest cxc_hex2dec_underflow;
#X obj 198 1347 rtest cxc_hex2dec_big_list;
#X obj 198 1291 rtest cxc_hex2dec_load;
#X obj 56 199 f 0;
#X text 88 199 <- 0 exit code for "success";
#X obj 56 120 trigger bang bang bang anything;
#X msg 127 146 all tests succeeded.;
#X obj 127 172 print Done;
#X connect 0 0 27 0;
#X connect 1 0 4 0;
#X connect 2 0 42 0;
#X connect 3 0 7 0;
#X connect 4 0 5 0;
58
#X connect 5 0 6 0;
59
60
#X connect 6 0 14 0;
#X connect 14 0 15 0;
61
#X connect 15 0 16 0;
62
63
#X connect 16 0 17 0;
#X connect 17 0 18 0;
64
#X connect 18 0 19 0;
65
66
#X connect 19 0 21 0;
#X connect 21 0 22 0;
67
68
69
70
#X connect 22 0 23 0;
#X connect 23 0 24 0;
#X connect 24 0 25 0;
#X connect 25 0 26 0;
71
72
#X connect 26 0 29 0;
#X connect 29 0 30 0;
73
#X connect 30 0 31 0;
74
#X connect 31 0 32 0;
75
76
77
78
79
80
81
82
83
84
85
86
87
#X connect 32 0 39 0;
#X connect 33 0 34 0;
#X connect 34 0 35 0;
#X connect 35 0 36 0;
#X connect 36 0 37 0;
#X connect 38 0 33 0;
#X connect 39 0 38 0;
#X connect 40 0 28 0;
#X connect 42 0 40 0;
#X connect 42 1 43 0;
#X connect 42 2 4 0;
#X connect 42 3 3 0;
#X connect 43 0 44 0;