Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions testsuite/config/base-config.exp
Original file line number Diff line number Diff line change
Expand Up @@ -1390,10 +1390,12 @@ proc is_quick_mode {} {
$::env(QUICKTEST)]}]
}

# if quick test mode is running stop processing of current test file
proc skip_if_quick_mode {} {
# if quick test mode is running stop processing of current test file after
# removing given fixture paths
proc skip_if_quick_mode {args} {
if {[is_quick_mode]} {
send_user "\tSkipping tests as quick test mode is enabled\n"
file delete -force {*}$args
reset_test_env
return -code 0 -level 2 0
}
Expand Down
2 changes: 1 addition & 1 deletion testsuite/modules.20-locate/180-modulepath-ignore.exp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ unsetenv_var MODULES_MODULEPATH_IGNORE
# execution
testouterr_cmd sh {--no-modulepath-ignore avail -a -t -o } OK $tserr

skip_if_quick_mode
skip_if_quick_mode $mp1

# ignore all accept some idiom with negated patterns
file mkdir $mp2/app
Expand Down
2 changes: 1 addition & 1 deletion testsuite/modules.30-cache/060-cachebuild-ignore.exp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ testouterr_cmd sh {--no-modulepath-ignore --ignore-cache is-avail bar/2.0}\

file delete $mp1cache

skip_if_quick_mode
skip_if_quick_mode $mp1

# every element is recorded in cache when modulepath_ignore is disabled
setenv_var MODULES_MODULEPATH_IGNORE 0
Expand Down