Skip to content

Commit

Permalink
tests: sort the test files before further processing in valgrind_test.v
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Mar 25, 2022
1 parent ddc2c49 commit 347db75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vlib/v/tests/valgrind/valgrind_test.v
Expand Up @@ -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) }
Expand Down

0 comments on commit 347db75

Please sign in to comment.