1
0
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:
vitalyster 2019-09-03 20:15:08 +03:00 committed by Alexander Medvednikov
parent b4d033ff54
commit 38d26c8080
2 changed files with 3 additions and 1 deletions

View File

@ -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"

View File

@ -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
}