diff --git a/vlib/v/tests/valgrind/valgrind_test.v b/vlib/v/tests/valgrind/valgrind_test.v index 9d4ecd2756..10e2c4a5dc 100644 --- a/vlib/v/tests/valgrind/valgrind_test.v +++ b/vlib/v/tests/valgrind/valgrind_test.v @@ -4,12 +4,16 @@ import term fn test_all() { $if !linux { println('Valgrind tests can only be run on Linux.') - exit(1) + exit(0) } exe := os.executable() dir := os.dir(exe) - files := os.ls('$dir/vlib/v/tests/valgrind/') or { + println(dir) + println(111) + // files := os.ls('$dir/vlib/v/tests/valgrind/') or { + files := os.ls(dir) or { panic(err) } - println(files) + tests := files.filter(it.ends_with('.vv')) + println(tests) }