mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
make sure "v test v" is run in the V repo
This commit is contained in:
parent
d180324413
commit
1c6cbdace5
@ -960,6 +960,10 @@ fn install_v(args[]string) {
|
||||
}
|
||||
|
||||
fn (v &V) test_v() {
|
||||
if !os.dir_exists('vlib') {
|
||||
println('run "v test v" next to the vlib/ directory')
|
||||
exit(1)
|
||||
}
|
||||
args := env_vflags_and_os_args()
|
||||
vexe := args[0]
|
||||
// Emily: pass args from the invocation to the test
|
||||
|
Loading…
Reference in New Issue
Block a user