mirror of
https://github.com/envmodules/modules.git
synced 2026-05-30 00:12:31 +08:00
ts: improve coverage of getCmpSpecFromVersSpec proc
Some checks failed
easybuild-tests / framework (Tcl) (push) Has been cancelled
lint-tests / lint-all (push) Has been cancelled
linux-tests / tcl86-nolibtclenvmodules (push) Has been cancelled
linux-tests / tcl85-nolibtclenvmodules (push) Has been cancelled
linux-tests / tcl85-2 (push) Has been cancelled
linux-tests / tcl86 (push) Has been cancelled
linux-tests / tcl85 (push) Has been cancelled
linux-tests / tcl87 (push) Has been cancelled
linux-tests / tcl90 (push) Has been cancelled
windows-tests / native-cmd (push) Has been cancelled
windows-tests / native-pwsh (push) Has been cancelled
windows-tests / cygwin (push) Has been cancelled
windows-tests / msys (push) Has been cancelled
Some checks failed
easybuild-tests / framework (Tcl) (push) Has been cancelled
lint-tests / lint-all (push) Has been cancelled
linux-tests / tcl86-nolibtclenvmodules (push) Has been cancelled
linux-tests / tcl85-nolibtclenvmodules (push) Has been cancelled
linux-tests / tcl85-2 (push) Has been cancelled
linux-tests / tcl86 (push) Has been cancelled
linux-tests / tcl85 (push) Has been cancelled
linux-tests / tcl87 (push) Has been cancelled
linux-tests / tcl90 (push) Has been cancelled
windows-tests / native-cmd (push) Has been cancelled
windows-tests / native-pwsh (push) Has been cancelled
windows-tests / cygwin (push) Has been cancelled
windows-tests / msys (push) Has been cancelled
Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>
This commit is contained in:
@@ -690,4 +690,8 @@ if {[info exists env(TESTSUITE_ENABLE_SITECONFIG_GETHELPLINES)]} {
|
||||
report [string length [getModuleHelpLines]]
|
||||
}
|
||||
|
||||
if {[info exists env(TESTSUITE_ENABLE_SITECONFIG_GETCMPSPECFROMVERSSPEC)]} {
|
||||
report [getCmpSpecFromVersSpec unk]
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -762,6 +762,13 @@ lappend ans $vers_reportre
|
||||
testouterr_cmd_re sh -V OK [join $ans \n]
|
||||
unsetenv_var TESTSUITE_ENABLE_SITECONFIG_GETHELPLINES
|
||||
|
||||
setenv_var TESTSUITE_ENABLE_SITECONFIG_GETCMPSPECFROMVERSSPEC 1
|
||||
set ans [list]
|
||||
lappend ans eq
|
||||
lappend ans $vers_reportre
|
||||
testouterr_cmd_re sh -V OK [join $ans \n]
|
||||
unsetenv_var TESTSUITE_ENABLE_SITECONFIG_GETCMPSPECFROMVERSSPEC
|
||||
|
||||
} elseif {$verbose} {
|
||||
send_user "\tSkip tests relying on an excepted siteconfig file installed\n"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user