mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
Travis: run msvc tests
This commit is contained in:
parent
b4d033ff54
commit
38d26c8080
@ -45,6 +45,8 @@ script:
|
||||
ls -la v.exe
|
||||
echo "Running v test v..."
|
||||
./v.exe test v
|
||||
echo "Running v -os msvc test v..."
|
||||
./v -os msvc test v
|
||||
##echo "Running only the repl tests directly"
|
||||
##./v.exe ./compiler/tests/repl/repl_test.v
|
||||
echo "Testing gcc bootstrapping"
|
||||
|
@ -22,7 +22,7 @@ fn new_array(mylen, cap, elm_size int) array {
|
||||
len: mylen
|
||||
cap: cap
|
||||
element_size: elm_size
|
||||
data: malloc(cap * elm_size)
|
||||
data: calloc(cap * elm_size)
|
||||
}
|
||||
return arr
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user