mirror of
https://github.com/vlang/v.git
synced 2025-09-16 19:06:24 -04:00
tests: fix v test-all
This commit is contained in:
parent
b734197714
commit
9effbec648
@ -117,7 +117,7 @@ fn get_all_commands() []Command {
|
||||
line: '${vexe} -o calling_c.exe run examples/call_c_from_v/main.c.v'
|
||||
okmsg: 'V can run main.c.v files'
|
||||
runcmd: .execute
|
||||
contains: 'V can call C functions like puts too.'
|
||||
contains: 'V can call C functions like `puts` too.'
|
||||
}
|
||||
$if linux || macos {
|
||||
res << Command{
|
||||
|
@ -17,7 +17,8 @@ fn testsuite_end() {
|
||||
|
||||
fn test_conditional_executable_removal() {
|
||||
os.chdir(test_path)!
|
||||
os.execute_or_exit('${os.quoted_path(vexe)} init')
|
||||
os.mkdir_all('src')!
|
||||
os.write_file('src/main.v', 'fn main(){\n\tprintln("Hello World!")\n}\n')!
|
||||
|
||||
mut executable := 'run_check'
|
||||
$if windows {
|
||||
|
Loading…
x
Reference in New Issue
Block a user