Test method and device for embedded program in rail transit vehicle

The invention discloses a test method and device for an embedded program in a rail transit vehicle. The method comprises the steps: S1, carrying out the program instrumentation of a tested program, enabling the tested program to cover each code block in the tested program, carrying out the compiling...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: QIN BOXIANG, HE BAIYING, ZHONG LI, HUANG WANG, TANG AIBIN, LIU MENGQI, PENG HUISHUI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a test method and device for an embedded program in a rail transit vehicle. The method comprises the steps: S1, carrying out the program instrumentation of a tested program, enabling the tested program to cover each code block in the tested program, carrying out the compiling and conversion of the program after instrumentation, and generating a target operation program; S2,running the target running program, collecting information sent by each probe of instrumentation in the running process of the target running program, and sending the information; S3, receiving the information sent by each probe, and obtaining the coverage state of completing the test in the tested program according to the received information; the device comprises a running program generation module, a probe information collection module and a test state collection module. The method is simple in test implementation, low in test cost, capable of achieving embedded program gray box test and obtaining the test coverag