From da97e0a2e49bac9ef8146fdb5bb7b54362b5eaee Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 21 Jun 2025 17:49:50 +0300 Subject: [PATCH] tools: fix for `v build-tools` and `v build-examples` running on a i686 (the problem was discovered by @tankf33der) --- cmd/tools/modules/testing/common.v | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/tools/modules/testing/common.v b/cmd/tools/modules/testing/common.v index 56858533bd..75134adb9a 100644 --- a/cmd/tools/modules/testing/common.v +++ b/cmd/tools/modules/testing/common.v @@ -824,6 +824,9 @@ pub mut: pub fn get_test_details(file string) TestDetails { mut res := TestDetails{} + if !os.is_file(file) { + return res + } lines := os.read_lines(file) or { [] } for idx, line in lines { if line.starts_with('// vtest retry:') {