Travis: run msvc tests
parent
b4d033ff54
commit
38d26c8080
|
@ -45,6 +45,8 @@ script:
|
||||||
ls -la v.exe
|
ls -la v.exe
|
||||||
echo "Running v test v..."
|
echo "Running v test v..."
|
||||||
./v.exe 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"
|
##echo "Running only the repl tests directly"
|
||||||
##./v.exe ./compiler/tests/repl/repl_test.v
|
##./v.exe ./compiler/tests/repl/repl_test.v
|
||||||
echo "Testing gcc bootstrapping"
|
echo "Testing gcc bootstrapping"
|
||||||
|
|
|
@ -22,7 +22,7 @@ fn new_array(mylen, cap, elm_size int) array {
|
||||||
len: mylen
|
len: mylen
|
||||||
cap: cap
|
cap: cap
|
||||||
element_size: elm_size
|
element_size: elm_size
|
||||||
data: malloc(cap * elm_size)
|
data: calloc(cap * elm_size)
|
||||||
}
|
}
|
||||||
return arr
|
return arr
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue