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

ci: os.chdir() fixes for windows jobs

This commit is contained in:
Delyan Angelov
2021-08-28 16:21:46 +03:00
parent f41939f005
commit 25bf68e2f1
3 changed files with 5 additions and 5 deletions

View File

@@ -14,9 +14,9 @@ fn find_diff_cmd() string {
return diff.find_working_diff_command() or { '' }
}
fn test_vet() {
fn test_vet() ? {
os.setenv('VCOLORS', 'never', true)
os.chdir(vroot)
os.chdir(vroot) ?
test_dir := 'cmd/tools/vdoc/tests/testdata'
main_files := get_main_files_in_dir(test_dir)
fails := check_path(vexe, test_dir, main_files)