diff --git a/vlib/v/tests/valgrind/valgrind_test.v b/vlib/v/tests/valgrind/valgrind_test.v index 75f894dda2..d5ac7fdf4a 100644 --- a/vlib/v/tests/valgrind/valgrind_test.v +++ b/vlib/v/tests/valgrind/valgrind_test.v @@ -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) }