From bafea57622ae3ffba9316a990876a4c3cec9c143 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sun, 27 Jun 2021 10:50:17 +0300 Subject: [PATCH] tests: move the test.bin output of macho_test.v to os.temp_dir() --- vlib/v/gen/native/macho_test.v | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vlib/v/gen/native/macho_test.v b/vlib/v/gen/native/macho_test.v index 469e8ea973..849b4e3a00 100644 --- a/vlib/v/gen/native/macho_test.v +++ b/vlib/v/gen/native/macho_test.v @@ -1,8 +1,10 @@ +import os import v.gen.native import v.pref import v.ast fn test_macho() { + os.chdir(os.temp_dir()) mut g := native.Gen{ pref: &pref.Preferences{} out_name: 'test.bin'