We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
VTEST_KEEP_SESSION=1 ./v test vlib/math
1 parent 645e94e commit 1fb9c95Copy full SHA for 1fb9c95
1 file changed
cmd/tools/modules/testing/common.v
@@ -23,6 +23,8 @@ pub const github_job = os.getenv('GITHUB_JOB')
23
24
pub const runner_os = os.getenv('RUNNER_OS') // GitHub runner OS
25
26
+pub const keep_session = os.getenv('VTEST_KEEP_SESSION') == '1'
27
+
28
pub const show_cmd = os.getenv('VTEST_SHOW_CMD') == '1'
29
30
pub const show_start = os.getenv('VTEST_SHOW_START') == '1'
@@ -281,6 +283,11 @@ pub fn new_test_session(_vargs string, will_compile bool) TestSession {
281
283
silent_mode: _vargs.contains('-silent')
282
284
progress_mode: _vargs.contains('-progress')
285
}
286
+ if keep_session {
287
+ ts.rm_binaries = false
288
+ println('> vtmp_dir: ${new_vtmp_dir}')
289
+ }
290
291
ts.handle_test_runner_option()
292
return ts
293
0 commit comments