1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fix v test v

This commit is contained in:
Alexander Medvednikov 2019-08-17 01:15:35 +03:00
parent 1c1c3925fc
commit 37a607dce5
2 changed files with 4 additions and 12 deletions

View File

@ -2,7 +2,7 @@
*16 Aug 2019*
- Built-in ORM (`uk_customers = db.select from Customer where country == 'uk' && nr_orders > 0`)
- Map initialization syntax: `m := { foo: bar, baz: kek }`
- Map initialization syntax: `m := { foo: bar, baz: foo }`
- `map.delete(key)`.
- `libcurl` dependency was removed from the `http` module.
- All function arguments are now immutable by default (previously they could be
@ -27,15 +27,6 @@
## V 0.1.17
*29 Jul 2019*
- `vweb` module for developing web apps in V.

View File

@ -1434,10 +1434,11 @@ fn update_v() {
}
fn test_v() {
vexe := os.args[0]
test_files := os.walk_ext('.', '_test.v')
for file in test_files {
print(file + ' ')
if os.system('v $file') != 0 {
if os.system('$vexe $file') != 0 {
println('failed')
exit(1)
} else {
@ -1448,7 +1449,7 @@ fn test_v() {
examples := os.walk_ext('examples', '.v')
for file in examples {
print(file + ' ')
if os.system('v $file') != 0 {
if os.system('$vexe $file') != 0 {
println('failed')
exit(1)
} else {