mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tests: sort the .vv files in vlib/v/slow_tests/inout/compiler_test.v, before testing them, to have more predictable output
This commit is contained in:
parent
877a1e511a
commit
2b4c60d07f
@ -21,7 +21,8 @@ fn test_all() {
|
|||||||
os.chdir(vroot) or {}
|
os.chdir(vroot) or {}
|
||||||
diff_cmd := diff.find_working_diff_command() or { '' }
|
diff_cmd := diff.find_working_diff_command() or { '' }
|
||||||
dir := 'vlib/v/slow_tests/inout'
|
dir := 'vlib/v/slow_tests/inout'
|
||||||
files := os.ls(dir) or { panic(err) }
|
mut files := os.ls(dir) or { panic(err) }
|
||||||
|
files.sort()
|
||||||
tests := files.filter(it.ends_with('.vv') || it.ends_with('.vsh'))
|
tests := files.filter(it.ends_with('.vv') || it.ends_with('.vsh'))
|
||||||
if tests.len == 0 {
|
if tests.len == 0 {
|
||||||
println('no compiler tests found')
|
println('no compiler tests found')
|
||||||
|
Loading…
Reference in New Issue
Block a user