45 lines
961 B
Text
45 lines
961 B
Text
|
|
# This is in here because debug plugins differ depending on the platform
|
|
NAME=Print the debug plugins
|
|
FILE==
|
|
CMDS=Ld
|
|
EXPECT=<<EOF
|
|
0 --- bf LGPL3
|
|
1 --- bochs LGPL3
|
|
2 --- dmp LGPL3
|
|
3 --- gdb LGPL3
|
|
4 --- io MIT
|
|
5 dbg native LGPL3
|
|
6 --- null MIT
|
|
7 --- qnx LGPL3
|
|
8 --- winkd LGPL3
|
|
EOF
|
|
RUN
|
|
|
|
NAME=Print the debug plugins in JSON
|
|
FILE==
|
|
CMDS=<<EOF
|
|
Ldj~{[0]}
|
|
Ldj~{[1]}
|
|
Ldj~{[2]}
|
|
Ldj~{[3]}
|
|
Ldj~{[4]}
|
|
Ldj~{[5]}
|
|
Ldj~{[6]}
|
|
Ldj~{[7]}
|
|
Ldj~{[8].name}
|
|
Ldj~{[8].license}
|
|
EOF
|
|
EXPECT=<<EOF
|
|
{"arch":"bf","name":"bf","license":"LGPL3"}
|
|
{"arch":"x86","name":"bochs","license":"LGPL3"}
|
|
{"arch":"x86,arm","name":"dmp","license":"LGPL3"}
|
|
{"arch":"x86,arm,sh,mips,avr,lm32,v850,ba2,tricore","name":"gdb","license":"LGPL3"}
|
|
{"arch":"any","name":"io","license":"MIT"}
|
|
{"arch":"x86","name":"native","license":"LGPL3"}
|
|
{"arch":"any","name":"null","license":"MIT"}
|
|
{"arch":"x86,arm","name":"qnx","license":"LGPL3"}
|
|
winkd
|
|
LGPL3
|
|
EOF
|
|
RUN
|