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

tests: ignore testdata folders in v test . too

This commit is contained in:
Delyan Angelov 2021-06-02 21:50:31 +03:00
parent bf623e191f
commit 0254a1ac76
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -80,6 +80,9 @@ pub fn should_test_dir(path string, backend string) ([]string, []string) { // re
for file in files {
p := path + local_path_separator + file
if os.is_dir(p) && !os.is_link(p) {
if file == 'testdata' {
continue
}
ret_files, ret_skip_files := should_test_dir(p, backend)
res_files << ret_files
skip_files << ret_skip_files