Skip to content

Commit

Permalink
new tests for terse_avail
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcawood committed Jan 19, 2024
1 parent 11d5b4d commit a9876ac
Show file tree
Hide file tree
Showing 3 changed files with 129 additions and 2 deletions.
72 changes: 72 additions & 0 deletions rt/terse_avail/err.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
===========================
step 1
lua ProjectDIR/src/lmod.in.lua shell --regression_testing --version
===========================
Modules based on Lua: Version 8.7.34 2024-01-05 19:34 -07:00
by Robert McLay [email protected]
===========================
step 2
lua ProjectDIR/src/lmod.in.lua shell --regression_testing load intel
===========================
===========================
step 3
lua ProjectDIR/src/lmod.in.lua shell --regression_testing avail
===========================
ProjectDIR/rt/terse_avail/mf/Compiler/intel/19
python/3.7
ProjectDIR/rt/terse_avail/mf/Core
TACC gcc/9.4 intel/19.1 (L)
This is a list of module extensions. Use "module --nx avail ..." to not show extensions.
CC (E) DDD (E)
These extensions cannot be loaded directly, use "module spider extension_name" for more information.
Where:
E: Extension that is provided by another module
L: Module is loaded
If the avail list is too long consider trying:
"module --default avail" or "ml -d av" to just list the default modules.
"module overview" or "ml ov" to display the number of modules for each name.
Use "module spider" to find all possible modules and extensions.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".
===========================
step 4
lua ProjectDIR/src/lmod.in.lua shell --regression_testing --nx avail
===========================
ProjectDIR/rt/terse_avail/mf/Compiler/intel/19
python/3.7
ProjectDIR/rt/terse_avail/mf/Core
TACC gcc/9.4 intel/19.1 (L)
Where:
L: Module is loaded
If the avail list is too long consider trying:
"module --default avail" or "ml -d av" to just list the default modules.
"module overview" or "ml ov" to display the number of modules for each name.
Use "module spider" to find all possible modules and extensions.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".
===========================
step 5
lua ProjectDIR/src/lmod.in.lua shell --regression_testing --terse avail
===========================
ProjectDIR/rt/terse_avail/mf/Compiler/intel/19:
python/
python/3.7
ProjectDIR/rt/terse_avail/mf/Core:
TACC
gcc/
gcc/9.4
intel/
intel/19.1
===========================
step 6
lua ProjectDIR/src/lmod.in.lua shell --regression_testing --terse_show_extensions avail
===========================
ProjectDIR/rt/terse_avail/mf/Compiler/intel/19:
python/
python/3.7
ProjectDIR/rt/terse_avail/mf/Core:
TACC
gcc/
gcc/9.4
intel/
intel/19.1
# CC
# DDD
54 changes: 54 additions & 0 deletions rt/terse_avail/out.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
===========================
step 1
lua ProjectDIR/src/lmod.in.lua shell --regression_testing --version
===========================
===========================
step 2
lua ProjectDIR/src/lmod.in.lua shell --regression_testing load intel
===========================
LMOD_FAMILY_COMPILER=intel;
export LMOD_FAMILY_COMPILER;
LMOD_FAMILY_COMPILER_VERSION=19.1;
export LMOD_FAMILY_COMPILER_VERSION;
LOADEDMODULES=intel/19.1;
export LOADEDMODULES;
__LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/terse_avail/mf/Compiler/intel/19:1\;ProjectDIR/rt/terse_avail/mf/Core:1;
export __LMOD_REF_COUNT_MODULEPATH;
MODULEPATH=ProjectDIR/rt/terse_avail/mf/Compiler/intel/19:ProjectDIR/rt/terse_avail/mf/Core;
export MODULEPATH;
_LMFILES_=ProjectDIR/rt/terse_avail/mf/Core/intel/19.1.lua;
export _LMFILES_;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={compiler="intel",},mT={intel={fn="ProjectDIR/rt/terse_avail/mf/Core/intel/19.1.lua",fullName="intel/19.1",loadOrder=1,propT={},stackDepth=0,status="active",userName="intel",wV="000000019.000000001.*zfinal",},},mpathA={"ProjectDIR/rt/terse_avail/mf/Compiler/intel/19","ProjectDIR/rt/terse_avail/mf/Core",},systemBaseMPATH="ProjectDIR/rt/terse_avail/mf/Core",}';
export _ModuleTable_;
===========================
step 3
lua ProjectDIR/src/lmod.in.lua shell --regression_testing avail
===========================
MODULEPATH=ProjectDIR/rt/terse_avail/mf/Compiler/intel/19:ProjectDIR/rt/terse_avail/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={compiler="intel",},mT={intel={fn="ProjectDIR/rt/terse_avail/mf/Core/intel/19.1.lua",fullName="intel/19.1",loadOrder=1,propT={},stackDepth=0,status="active",userName="intel",wV="000000019.000000001.*zfinal",},},mpathA={"ProjectDIR/rt/terse_avail/mf/Compiler/intel/19","ProjectDIR/rt/terse_avail/mf/Core",},systemBaseMPATH="ProjectDIR/rt/terse_avail/mf/Core",}';
export _ModuleTable_;
===========================
step 4
lua ProjectDIR/src/lmod.in.lua shell --regression_testing --nx avail
===========================
MODULEPATH=ProjectDIR/rt/terse_avail/mf/Compiler/intel/19:ProjectDIR/rt/terse_avail/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={compiler="intel",},mT={intel={fn="ProjectDIR/rt/terse_avail/mf/Core/intel/19.1.lua",fullName="intel/19.1",loadOrder=1,propT={},stackDepth=0,status="active",userName="intel",wV="000000019.000000001.*zfinal",},},mpathA={"ProjectDIR/rt/terse_avail/mf/Compiler/intel/19","ProjectDIR/rt/terse_avail/mf/Core",},systemBaseMPATH="ProjectDIR/rt/terse_avail/mf/Core",}';
export _ModuleTable_;
===========================
step 5
lua ProjectDIR/src/lmod.in.lua shell --regression_testing --terse avail
===========================
MODULEPATH=ProjectDIR/rt/terse_avail/mf/Compiler/intel/19:ProjectDIR/rt/terse_avail/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={compiler="intel",},mT={intel={fn="ProjectDIR/rt/terse_avail/mf/Core/intel/19.1.lua",fullName="intel/19.1",loadOrder=1,propT={},stackDepth=0,status="active",userName="intel",wV="000000019.000000001.*zfinal",},},mpathA={"ProjectDIR/rt/terse_avail/mf/Compiler/intel/19","ProjectDIR/rt/terse_avail/mf/Core",},systemBaseMPATH="ProjectDIR/rt/terse_avail/mf/Core",}';
export _ModuleTable_;
===========================
step 6
lua ProjectDIR/src/lmod.in.lua shell --regression_testing --terse_show_extensions avail
===========================
MODULEPATH=ProjectDIR/rt/terse_avail/mf/Compiler/intel/19:ProjectDIR/rt/terse_avail/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={compiler="intel",},mT={intel={fn="ProjectDIR/rt/terse_avail/mf/Core/intel/19.1.lua",fullName="intel/19.1",loadOrder=1,propT={},stackDepth=0,status="active",userName="intel",wV="000000019.000000001.*zfinal",},},mpathA={"ProjectDIR/rt/terse_avail/mf/Compiler/intel/19","ProjectDIR/rt/terse_avail/mf/Core",},systemBaseMPATH="ProjectDIR/rt/terse_avail/mf/Core",}';
export _ModuleTable_;
5 changes: 3 additions & 2 deletions rt/terse_avail/terse_avail.tdesc
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ testdescript = {
runLmod --version # 1
runLmod load intel # 2
runLmod avail # 3
runLmod --terse avail # 4
runLmod --terse_show_extensions avail #5
runLmod --nx avail # 4
runLmod --terse avail # 5
runLmod --terse_show_extensions avail #6
HOME=$ORIG_HOME
Expand Down

0 comments on commit a9876ac

Please sign in to comment.