mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tests: add more -skip-unused cases to v test-all
This commit is contained in:
parent
94e35b710c
commit
5498a6c263
@ -85,6 +85,16 @@ fn get_all_commands() []Command {
|
|||||||
okmsg: 'V can output a .c file, without compiling further.'
|
okmsg: 'V can output a .c file, without compiling further.'
|
||||||
rmfile: 'hhww.c'
|
rmfile: 'hhww.c'
|
||||||
}
|
}
|
||||||
|
res << Command{
|
||||||
|
line: '$vexe -skip-unused examples/hello_world.v'
|
||||||
|
okmsg: 'V can compile hello world with -skip-unused.'
|
||||||
|
rmfile: 'examples/hello_world'
|
||||||
|
}
|
||||||
|
res << Command{
|
||||||
|
line: '$vexe -skip-unused -profile - examples/hello_world.v'
|
||||||
|
okmsg: 'V can compile hello world with both -skip-unused and -profile .'
|
||||||
|
rmfile: 'examples/hello_world'
|
||||||
|
}
|
||||||
$if linux || macos {
|
$if linux || macos {
|
||||||
res << Command{
|
res << Command{
|
||||||
line: '$vexe run examples/hello_world.v'
|
line: '$vexe run examples/hello_world.v'
|
||||||
|
Loading…
Reference in New Issue
Block a user