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

tests: sort the test files before further processing in valgrind_test.v

This commit is contained in:
Delyan Angelov 2022-03-25 09:41:29 +02:00
parent ddc2c49365
commit 347db755c8
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -63,7 +63,8 @@ fn test_all() {
vroot := os.dir(vexe)
valgrind_test_path := 'vlib/v/tests/valgrind'
dir := os.join_path(vroot, valgrind_test_path)
files := os.ls(dir) or { panic(err) }
mut files := os.ls(dir) or { panic(err) }
files.sort()
//
wrkdir := os.join_path(os.temp_dir(), 'vtests', 'valgrind')
os.mkdir_all(wrkdir) or { panic(err) }