mirror of
https://github.com/envmodules/modules.git
synced 2026-06-18 00:06:53 +08:00
ts: ensure implicit requirement is enabled for tests
This commit is contained in:
@@ -52,6 +52,9 @@ if {[info exists install_quarlist]} {
|
||||
# clean any automated handling mode configuration
|
||||
catch {unset env(MODULES_AUTO_HANDLING)}
|
||||
|
||||
# ensure tests are run with implicit requirement enabled
|
||||
set env(MODULES_IMPLICIT_REQUIREMENT) 1
|
||||
|
||||
# clean any in depth mode configuration
|
||||
catch {unset env(MODULES_AVAIL_INDEPTH)}
|
||||
|
||||
|
||||
@@ -49,6 +49,9 @@ foreach var [array names env] {
|
||||
# clean any automated handling mode configuration
|
||||
catch {unset env(MODULES_AUTO_HANDLING)}
|
||||
|
||||
# ensure tests are run with implicit requirement enabled
|
||||
setenv_var MODULES_IMPLICIT_REQUIREMENT 1
|
||||
|
||||
# clean any in depth mode configuration
|
||||
catch {unset env(MODULES_AVAIL_INDEPTH)}
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
unsetenv_var MODULES_VERBOSITY
|
||||
unsetenv_var MODULES_EXTENDED_DEFAULT
|
||||
unsetenv_var MODULES_COLOR
|
||||
unsetenv_var MODULES_IMPLICIT_REQUIREMENT
|
||||
unsetenv_var MODULERCFILE
|
||||
if {[info exists env(MODULES_ICASE)]} {
|
||||
set saved_icase $env(MODULES_ICASE)
|
||||
@@ -377,6 +378,7 @@ unsetenv_var MODULES_RUNENV_FOO
|
||||
setenv_var MODULES_VERBOSITY normal
|
||||
setenv_var MODULES_EXTENDED_DEFAULT 0
|
||||
setenv_var MODULES_COLOR never
|
||||
setenv_var MODULES_IMPLICIT_REQUIREMENT 1
|
||||
setenv_var MODULERCFILE $env(TESTSUITEDIR)/etc/empty
|
||||
if {[info exists saved_icase]} {
|
||||
setenv_var MODULES_ICASE $saved_icase
|
||||
|
||||
Reference in New Issue
Block a user