Files
pd-l2ork/scripts/regression_tests.pd
2021-04-15 12:01:21 -04:00

124 lines
3.9 KiB
Plaintext

#N canvas 128 123 771 392 12;
#X obj 465 281 r \$0-result;
#X obj 212 239 bng 15 250 50 0 empty empty Run_all 17 7 0 10 #fcfcfc
#000000 #000000;
#X obj 56 25 r init;
#X obj 345 191 route dollarzero;
#X obj 198 281 rtest msg_dollarzero;
#X obj 198 336 rtest msg_dollarzero_semi;
#X obj 198 392 rtest msg_click;
#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;
#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;
#N canvas 461 242 450 323 (subpatch) 0;
#X restore 201 2765 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;
#X obj 465 308 utils/print-result;
#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 obj 198 1701 rtest wrap~_compatibility_bug;
#X obj 198 1756 rtest select_bang;
#X obj 198 1811 rtest float_send_method;
#X obj 198 1866 rtest int_send_method;
#X obj 198 1921 rtest value_send_method;
#X obj 198 1976 rtest float_symbol_method;
#X obj 198 2031 rtest type_hint_coverage;
#X obj 198 2086 rtest route_reject_bang;
#X obj 198 2141 rtest text_sort;
#X obj 198 2196 rtest iemgui_color_symbolargs;
#X obj 198 2251 rtest log_right_inlet;
#X obj 198 2306 rtest log_base;
#X obj 198 2361 rtest inlet~_no_fwd;
#X obj 198 2416 rtest inlet~_fwd_large_message;
#X obj 198 2471 rtest pow~_negative_numbers;
#X obj 198 2526 rtest encapsulate;
#X obj 198 2581 rtest soundfiler_read_coverage;
#X obj 198 2636 rtest writesf~_open_coverage;
#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;
#X connect 5 0 6 0;
#X connect 6 0 14 0;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 16 0 17 0;
#X connect 17 0 18 0;
#X connect 18 0 19 0;
#X connect 19 0 21 0;
#X connect 21 0 22 0;
#X connect 22 0 23 0;
#X connect 23 0 24 0;
#X connect 24 0 25 0;
#X connect 25 0 26 0;
#X connect 26 0 29 0;
#X connect 29 0 30 0;
#X connect 30 0 31 0;
#X connect 31 0 32 0;
#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 37 0 45 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;
#X connect 45 0 46 0;
#X connect 46 0 47 0;
#X connect 47 0 48 0;
#X connect 48 0 49 0;
#X connect 49 0 50 0;
#X connect 50 0 51 0;
#X connect 51 0 52 0;
#X connect 52 0 53 0;
#X connect 53 0 54 0;
#X connect 54 0 55 0;
#X connect 55 0 56 0;
#X connect 56 0 57 0;
#X connect 57 0 58 0;
#X connect 58 0 59 0;
#X connect 59 0 60 0;
#X connect 60 0 61 0;
#X connect 61 0 62 0;