taucmdr.cf.tests.test_platforms module¶
Unit tests for taucmdr.cf.platforms
- class taucmdr.cf.tests.test_platforms.PlatformsTest(methodName='runTest')[source]¶
Bases:
TestCaseUnit tests for taucmdr.cf.platforms
- _classSetupFailed = False¶
- _class_cleanups = []¶
- _run_patched(machine, system, code, cray=False)[source]¶
Run code in a new process after patching platform.machine and platform.system.
- test_arm64_alias()[source]¶
macOS reports Apple silicon as arm64, which is the same architecture as aarch64.
- test_cray_login_aprun()[source]¶
A Cray node with aprun on PATH is still a login node outside a job.
- test_cray_login_in_job()[source]¶
Inside a Slurm, PBS, PALS, Flux, Cobalt or LSF job, a Cray node isn’t treated as a login node.
- test_removed_platforms()[source]¶
Architectures and operating systems that TAU Commander doesn’t support aren’t defined.