* Use `RZ_CMD_ARG_TYPE_FILE` in all the `dir` tags for `dts` * Convert `pg` commands to newshell * Add cmd_print.yaml to the corresponding meson.build * Add tests for `pgm`, `pg*` and `pg-*` * Run cmd_descs_generate.py and update cmd_descs.c
28 lines
No EOL
304 B
Text
28 lines
No EOL
304 B
Text
NAME=test pg* and pg-* print gadgets
|
|
FILE=--
|
|
CMDS=<<EOF
|
|
pg 10 10 10 10 s
|
|
pg 2 2 2 2 iE
|
|
pg*
|
|
pg-*
|
|
pg*
|
|
EOF
|
|
EXPECT=<<EOF
|
|
"pg 10 10 10 10 s"
|
|
"pg 2 2 2 2 iE"
|
|
EOF
|
|
RUN
|
|
|
|
NAME=test pgm move gadgets
|
|
FILE=--
|
|
CMDS=<<EOF
|
|
pg 10 10 10 10 s
|
|
pg*
|
|
pgm 0 5 5 5 5
|
|
pg*
|
|
EOF
|
|
EXPECT=<<EOF
|
|
"pg 10 10 10 10 s"
|
|
"pg 5 5 5 5 s"
|
|
EOF
|
|
RUN |