Running diagnostic
The Self-Diagnostic Test is used to perform function coverage testing. Running on Linux, it is a UI framework to merge/involve different test diagnostic programs including Open-Source tools (included BSD/GPL v2.0 license), Vendor Tools/Drivers, and some diagnostic tools from ODM.
The user can utilize selftest.py to merge various diagnostic utilities, packages, and scripts for conducting function testing. ODM can set up and build a package that includes selftest.py and diagnostic utilities for customers to perform interaction testing.
Environment requirement
No. | Item | Version |
---|---|---|
1 | UbuntuĀ® | 22.04.2 |
2 | Python | 3.10.12 |
3 | smartctl | 7.2 |
4 | xterm | 372 |
How to execute test program in Linux console
Execute the following Self-Diagnostic test commands:
-
sudo chmod -R +x *
-
sudo ./selftest
User interface
Main window

System Summary
It displays system, memory, CPU, Hard Disk information.

Test
Switch to the Test path, press Start button to start the testing.

![]() Note |
You will need to perform all the test items defined in the sequence.xml. |
Test Status
Switch to the Status path.
You can check the test status and press Cancel button to stop the test during testing.

Test Log
Switch to the Log path to review the test log directly and find the complete Logs from the selftest tool path.

Log - Process Log

Log - Error Log
