Execute A Batch Test Via Tcl Script; Figure 52: Execute Cpu_Ver Diagnostic Function - Advantech FWA-T011 Getting Started Manual

Quickstart linux image
Hide thumbs Also See for FWA-T011:
Table of Contents

Advertisement

| 10:23:54 07/16/2018 | [INFO] | service name: CPU
| 10:23:54 07/16/2018 | [INFO] | function name: cpu_ver
| 10:23:54 07/16/2018 | [INFO] | cpu_id : GenuineIntel
| 10:23:54 07/16/2018 | [INFO] | cpu_model : N4200
| 10:23:54 07/16/2018 | [INFO] | frequency : 1.10
| 10:23:54 07/16/2018 | [INFO] | core_count: 4
| 10:23:54 07/16/2018 | [INFO] | Verify core count OK!
| 10:23:54 07/16/2018 | [INFO] | Verify vendor_id OK!
| 10:23:54 07/16/2018 | [INFO] | Verify frequency OK!
| 10:23:54 07/16/2018 | [INFO] | Verify model_name OK!
| 10:23:54 07/16/2018 | [RESULT] | [PASS]
| 10:23:54 07/16/2018 |
| 10:23:54 07/16/2018 | Test Summary: PASSED
| 10:23:54 07/16/2018 | Test ID: cpu_ver
| 10:23:54 07/16/2018 | Report Name: cpu_ver
| 10:23:54 07/16/2018 | File Name: /var/log/dui_01_03_20180716_102354488.log
| 10:23:54 07/16/2018 | Sub Tests: cpu_ver
| 10:23:54 07/16/2018 | Failed Sub Tests:
| 10:23:54 07/16/2018 | Start Time: 2018-07-16 10:23:54
| 10:23:54 07/16/2018 | End Time: 2018-07-16 10:23:54
| 10:23:54 07/16/2018 | Board Manufacturer: Advantech
| 10:23:54 07/16/2018 | Board Name: ACPI6-B

Figure 52: Execute cpu_ver Diagnostic Function

3.10.5.2 Execute a Batch Test via Tcl Script

A Tcl script can be configured to execute multiple diagnostic functions with a single
command based on your hardware platform.
*Please note that test items, test coverage and acceptance criteria (PASS/FAIL) of DUI are
platform dependent and are configurable. Contact your local Advantech representative for
further support for running DUI on your Advantech platform.
The following shows an example of how to run a Tcl Script. Firstly, create a Tcl script in your
file system (please note that the Tcl file should be located in your current directory).
# vim run_tcl.tcl
Write down the test items in the Tcl script. In this example, we select 4 test items:
puts stdout "Run DUI functions from Tcl script!"
Page 67
Copyright 2017. All rights reserved. Advantech Co. Ltd.

Advertisement

Table of Contents
loading

Table of Contents