Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0664539B2 - Data processing device testing method - Google Patents
[go: Go Back, main page]

JPH0664539B2 - Data processing device testing method - Google Patents

Data processing device testing method

Info

Publication number
JPH0664539B2
JPH0664539B2 JP61310750A JP31075086A JPH0664539B2 JP H0664539 B2 JPH0664539 B2 JP H0664539B2 JP 61310750 A JP61310750 A JP 61310750A JP 31075086 A JP31075086 A JP 31075086A JP H0664539 B2 JPH0664539 B2 JP H0664539B2
Authority
JP
Japan
Prior art keywords
test
data
instruction sequence
instruction
execution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP61310750A
Other languages
Japanese (ja)
Other versions
JPS63163641A (en
Inventor
博志 門田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61310750A priority Critical patent/JPH0664539B2/en
Publication of JPS63163641A publication Critical patent/JPS63163641A/en
Publication of JPH0664539B2 publication Critical patent/JPH0664539B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ処理装置のテスト方法に係り、特に加速
論理を有する大規模データ処理装置のテスト命令列によ
るテストにおいて、エラーとなった命令を局所化するこ
とにより、解析時間の短縮を可能とするのに好適なデー
タ処理装置のテスト方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test method for a data processing device, and more particularly to a test method using a test command sequence of a large-scale data processing device having an acceleration logic. The present invention relates to a test method for a data processing device suitable for enabling a reduction in analysis time by localizing.

〔従来の技術〕[Conventional technology]

データ処理装置における機能の正常性を確認する試験シ
ステムでは、ある1つのテストデータに1つの期待値を
用意して、試験対象装置でテストデータを実行し、その
処理結果を期待値と比較するのが一般的であった。
In a test system that confirms the normality of functions in a data processing device, one expected value is prepared for one piece of test data, the test data is executed by the device under test, and the processing result is compared with the expected value. Was common.

しかし、データ処理装置の大規模化に伴い、順序性をも
つ複数の命令の集合であるテスト命令列とこれに対する
1つの期待値によりテスト・データを構成する方式が採
られるようになってきている。この場合、従来のテスト
方式は次の如くであった。各テスト命令列を試験対象装
置上で実行し、当該装置の正常性を確認する。各テスト
命令列実行の処理結果とその期待値とを比較し、不一致
であれば、そのテスト命令列内のテスト命令にエラーが
生じていることになる。あるテスト命令列の実行結果に
異常が検出されたならば、そのテスト命令列内にどのテ
スト命令でエラーとなったのかを人手によって調査す
る。
However, with the increase in scale of the data processing apparatus, a method of forming test data by a test instruction sequence, which is a set of a plurality of ordered instructions, and one expected value for the test instruction sequence has been adopted. . In this case, the conventional test method is as follows. Each test instruction sequence is executed on the device under test to confirm the normality of the device. The processing result of each test instruction sequence execution is compared with its expected value, and if they do not match, it means that the test instruction in the test instruction sequence has an error. When an abnormality is detected in the execution result of a certain test instruction sequence, which test instruction in the test instruction sequence caused the error is manually investigated.

このテスト方式では、人手によって調査するため、多く
の調査時間を要したり、調査結果も調査者の能力に依存
するという問題があった。また、エラーとなったテスト
命令を判別するには、アセンブル・リストを参照した
り、異常結果となったテスト命令列を複数回実行した
り、またパッチして命令およびデータを変更する必要が
あった。
This test method has a problem that it takes a lot of time for the investigation because the investigation is done manually and the investigation result depends on the ability of the investigator. In order to determine the test instruction that caused an error, it is necessary to refer to the assemble list, execute the test instruction sequence that gives an abnormal result multiple times, or change the instruction and data by patching. It was

上記の問題を解決するテスト方式として、試験システム
内に試験対象装置のソフトシミュレータを設け、まずテ
ストデータに従ってテスト命令列を試験対象装置で実行
し、それが正常に終了しない場合、次にエラー解析処理
においてテスト命令列から1命令づつ切出しながらソフ
トシミュレータと試験対象装置の両方で実行し、その結
果を比較する方式がある。第4図はこの方式の処理フロ
ー例を示したものである。これによれば、テスト命令列
のどのテスト命令が正常に処理されなかったかを認識す
ることが容易に可能である。なお、このテスト方式に関
しては、例えば特開昭61−43351号公報に詳述さ
れている。
As a test method to solve the above problems, a soft simulator for the device under test is provided in the test system, and the test instruction sequence is executed by the device under test according to the test data.If it does not end normally, then error analysis is performed. In the processing, there is a method in which one instruction is cut out from a test instruction sequence and executed by both the soft simulator and the device under test, and the results are compared. FIG. 4 shows an example of the processing flow of this system. According to this, it is possible to easily recognize which test instruction in the test instruction sequence was not processed normally. The test method is described in detail, for example, in JP-A-61-43351.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

一般に大規模データ処理装置などでは、処理の高速化を
実現するために、先行制御論パイプライン制御に代表さ
れる加速論理が使用される。この種のデータ処理装置で
は、順序性を有する命令列がシリアルに実行されるので
はなく、先行する命令の実行途中でこれに引続く命令の
実行が開始されるとうように、ある時間軸で複数の命令
が並列に実行される。
Generally, in a large-scale data processing device or the like, an acceleration logic typified by advanced control theory pipeline control is used in order to realize high-speed processing. In this type of data processing device, an instruction sequence having an order is not serially executed, but execution of a subsequent instruction is started in the middle of execution of a preceding instruction. Multiple instructions are executed in parallel.

このような加速論理を有するデータ処理装置の試験に上
記テスト方式を適用しようとすると、次のような問題が
生じる。テスト時の試験対象装置でのテスト命令列の実
行は、テスト命令列を構成する命令が互いに有機的に結
合されて並列的に実行されるのに対し、エラー解析処理
においては、テスト命令列から1命令ずつ切出して逐一
実行するため、テスト命令列の実行環境が変化する。例
えば、テスト命令列のうち、先行する命令で引続き実行
される命令を書替えたり、または先行する命令の実行結
果を引続き実行する命令で使用する等、先行する命令の
実行結果が引続き実行される命令の実行に影響を及ぼす
(コンフリクト条件)ような有機的に結合された命令列
の実行でエラーを検出した場合も、エラー解析処理で
は、このテスト命令列を構成する各命令の有機的な結合
を無視して1命令ずつ切出して実行することゝなる。こ
のため、テスト命令を構成する命令を個別に逐次実行し
た場合と同じ結果を得てしまい、エラーを正確に指摘で
きないという問題が発生する。
When the above test method is applied to the test of the data processing device having such an acceleration logic, the following problems occur. Execution of the test instruction sequence in the test target device during the test is performed in parallel while the instructions that form the test instruction sequence are organically combined with each other and executed in parallel. Since the instructions are cut out one by one and executed one by one, the execution environment of the test instruction sequence changes. For example, in the test instruction sequence, an instruction that is continuously executed by the preceding instruction is rewritten, or an instruction that is executed by using the execution result of the preceding instruction is used. Even if an error is detected in the execution of an organically combined instruction sequence that affects the execution of a (conflict condition), the error analysis processing will organically combine the instructions that make up this test instruction sequence. Ignore and cut and execute one instruction at a time. For this reason, the same result as when the instructions constituting the test instruction are sequentially executed is obtained, and the problem that the error cannot be pointed out accurately occurs.

本発明の目的は、上記問題点の解決を図り、加速論理を
有するデータ処理装置においても、その加速論理特有の
処理によりテスト命令列の実行で異常を検出した場合
に、エラーとなったテスト命令を直接的に判断できるよ
うにして、人手による調査時間の短縮を可能とするデー
タ処理装置のテスト方法を提供することにある。
An object of the present invention is to solve the above-mentioned problems and, even in a data processing device having an acceleration logic, when an abnormality is detected in the execution of the test instruction sequence due to the processing peculiar to the acceleration logic, a test instruction that has an error occurs. It is an object of the present invention to provide a test method for a data processing device, which enables a user to directly determine the data processing time and reduce the time required for manual investigation.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、テスト命令列、テストデータから1命令分ず
つ取り出して蓄積していき、蓄積の過程において、順
次、それまで蓄積した分の命令列を試験対象データ処理
装置とシミュレーション処理部の両方で実行し、その実
行結果を比較することを特徴とする。
According to the present invention, the test instruction sequence and the test data are taken out one by one and accumulated, and in the process of accumulation, the instruction sequence accumulated up to that time is sequentially processed by both the test target data processing device and the simulation processing unit. It is characterized by executing and comparing the execution results.

〔作用〕[Action]

テスト命令列から1命令ずつ取り出して蓄積していき、
その都度、それまでの蓄積分の命令列を試験対象装置と
シミュレーション処理部の両方で実行し、その実行結果
を比較して、ある時点までに蓄積されたテスト命令列の
実行結果に異常を検出した場合、直前までに蓄積・実行
した命令列の結果に異常がなく、当該命令を命令列に蓄
積したことで異常を検出していることから、異常状態の
発生を当該命令に限定して異常内容を解析することが可
能となる。
One instruction is taken out from the test instruction sequence and accumulated,
Each time, the instruction sequence accumulated up to that point is executed by both the test target device and the simulation processing unit, the execution results are compared, and an abnormality is detected in the execution result of the test instruction sequence accumulated up to a certain point. If there is no abnormality in the result of the instruction sequence accumulated / executed until immediately before, and the abnormality is detected by accumulating the instruction in the instruction sequence, the occurrence of the abnormal condition is limited to the relevant instruction. It is possible to analyze the contents.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により詳細に説明
する。
An embodiment of the present invention will be described in detail below with reference to the drawings.

第1図は本発明のテスト方法を実現する試験システムの
一実施例の構成図を示す。第1図において、試験システ
ム1はテストデータ格納部5及び制御部11から構成さ
れる。テストデータ格納部5には、乱数値2、テスト命
令列とテストデータ3、期待値データ4等が格納され
る。制御部11はテスト命令列、テストデータを生成
し、テストの実行を制御するもので、テストデータ生成
部6、テストデータ設定部7、シミュレーション処理部
8、テスト結果判定部9、エラー出力部10を有する。
FIG. 1 shows a block diagram of an embodiment of a test system for implementing the test method of the present invention. In FIG. 1, the test system 1 includes a test data storage unit 5 and a control unit 11. The test data storage unit 5 stores a random number value 2, a test instruction string and test data 3, expected value data 4, and the like. The control unit 11 generates a test instruction sequence and test data and controls the execution of the test. The control data generation unit 6, the test data setting unit 7, the simulation processing unit 8, the test result determination unit 9, and the error output unit 10 are provided. Have.

テストデータ生成部6は乱数値2をもとにテスト命令列
3a、テストデータ3bを生成するものである。テスト
データ設定部7はテスト命令列3a、テストデータ3b
をシミュレーション処理部8と試験対象装置12に供給
するものである。試験対象装置12上のテスト命令及び
テストデータは、テスト命令列3a、テストデータ3b
から1命令分づつ蓄積しながら設定される。シミュレー
ション処理部8は、テストデータ設定部7から受けとっ
たテスト命令列及びテストデータをもとに試験対象装置
12の機能を擬似的に実行し、実行結果を期待値データ
4として作成する。テスト結果判定部9は、シミュレー
ション処理部7においてテスト命令列の実行結果作成さ
れた期待値と、試験対象装置12で実行されたテスト命
令列の実行結果との比較を行い、不一致が生じたとき異
常を検出するものである。エラー出力部10はテスト結
果判定部9で異常を検出したとき、エラーメッセージと
してテスト命令列、テストデータを期待値と試験対象装
置12での実行結果とに分離して出力するものである。
The test data generator 6 generates a test instruction sequence 3a and test data 3b based on the random value 2. The test data setting unit 7 includes a test instruction string 3a and test data 3b.
Is supplied to the simulation processing unit 8 and the test target device 12. The test instructions and test data on the test target device 12 are the test instruction sequence 3a and the test data 3b.
It is set while accumulating one instruction for each. The simulation processing unit 8 pseudo-executes the function of the test target device 12 based on the test instruction sequence and the test data received from the test data setting unit 7, and creates an execution result as expected value data 4. The test result determination unit 9 compares the expected value created by the simulation processing unit 7 with the execution result of the test instruction sequence with the execution result of the test instruction sequence executed by the test target device 12, and when a mismatch occurs. It detects an abnormality. When the test result determination unit 9 detects an abnormality, the error output unit 10 separates the test instruction string and the test data as an error message into an expected value and an execution result of the test target device 12 and outputs the result.

試験対象装置であるデータ処理装置12は、一般的なデ
ータ処理装置で、試験システム1から渡されたテスト命
令列13a、テストデータ13bを格納するテストデー
タ・メモリエリア13と、テスト命令列13aをテスト
データ13bに従って実行するテスト実行部14を含ん
でいる。一般にテストデータ・メモリエリア13は主記
憶装置上にあり、また、テスト実行部14は中央処理装
置自体である。
The data processing device 12 which is the device to be tested is a general data processing device, and includes a test data memory area 13 for storing the test instruction sequence 13a and the test data 13b passed from the test system 1 and a test instruction sequence 13a. It includes a test execution unit 14 that executes according to the test data 13b. In general, the test data memory area 13 is on the main storage device, and the test execution unit 14 is the central processing unit itself.

第2図は本実施例の処理フローを示す。まず、試験の開
始に先立って、処理201によりテスト命令列3a、テ
ストデータ3bを生成するが、このテスト命令列3a、
テストデータ3bは乱数値2をもとにテストデータ生成
部5で生成される。
FIG. 2 shows the processing flow of this embodiment. First, prior to the start of the test, the test instruction sequence 3a and the test data 3b are generated by the process 201.
The test data 3b is generated by the test data generator 5 based on the random value 2.

処理202では、テストデータ設定部6によりテスト命
令列とテストデータ3から1命令分ずつ取り出し、試験
対象装置12のテストデータ・メモリエリア13に設定
する。処理203では、試験対象装置12のテストデー
タ・メモリエリア13に設定された命令分をテストデー
タ設定部7によりテスト命令列・テストデータ3から取
り出し、シミュレーション処理部8で実行する。処理2
04では、シミュレーション処理部8での実行結果を期
待値データ4として退避する。処理205では、試験対
象装置12のテストデータ・メモリエリア13に設定さ
れたテスト命令列13aをテストデータ13bに従いテ
スト実行部14上で実行する。処理206では、テスト
結果判定部9により、処理204で退避しておいた期待
値と処理205によって実行した結果を比較し、試験対
象装置12のメモリエリア13に設定された命令列によ
るテスト実行部14での実行の正常性を確認する。正常
の場合、処理207でテスト命令列の全命令の実行を終
了したかチェックし、終了していない場合には処理20
2へ戻る。
In process 202, the test data setting unit 6 fetches one instruction from the test instruction string and the test data 3 and sets it in the test data memory area 13 of the device under test 12. In process 203, the test data setting unit 7 retrieves the command set in the test data / memory area 13 of the test target device 12 from the test command sequence / test data 3, and the simulation processing unit 8 executes the command. Process 2
In 04, the execution result in the simulation processing unit 8 is saved as expected value data 4. In step 205, the test instruction sequence 13a set in the test data memory area 13 of the device under test 12 is executed on the test execution unit 14 according to the test data 13b. In process 206, the test result determination unit 9 compares the expected value saved in process 204 with the result executed in process 205, and the test execution unit based on the instruction string set in the memory area 13 of the device under test 12 Verify normality of execution at 14. If it is normal, it is checked in step 207 whether the execution of all the instructions in the test instruction sequence is completed. If it is not completed, the process 20 is executed.
Return to 2.

上記処理202〜207を繰り返すことにより、試験対
象装置12のメモリエリア13にテスト命令列が蓄積さ
れていき、順次、その蓄積された分のテスト命令列の実
行がテスト実行部14上で繰り返されると共に、それと
全く同一のテスト命令列が試験システム1のシミュレー
ション処理部8で実行され、正常性の確認が行われる。
このことについて、第3図により更に詳しく説明する。
By repeating the processes 202 to 207, the test instruction sequence is accumulated in the memory area 13 of the test target device 12, and the execution of the accumulated test instruction sequence is repeated on the test execution unit 14. At the same time, the exact same test instruction sequence is executed by the simulation processing unit 8 of the test system 1 to confirm the normality.
This will be described in more detail with reference to FIG.

第3図は処理202〜207を繰り返して実行した場合
の試験対象装置12におけるテストデータ・メモリエリ
ア13上のテスト命令列13aの遷移を示したものであ
る。処理202の1回目の実行では、メモリエリア13
には220に示すように1命令のみの命令列が設定さ
れ、残りのエリアにはテスト命令の終了を示すためにト
ラップ(一般的にソフトウェア制御可能な割込み)を発
生させる命令コードが埋められる。処理202の2回目
の実行では、メモリエリア13には221に示すように
順次性を有する2命令列が設定され、残りのエリアには
テスト命令列の終了を示すためにトラップを発生させる
命令コードが埋められる。処理202をn回実行した状
態では、メモリエリア13には222に示すように順次
性を有するn個の命令による命令列が設定され、残りの
エリアにはテスト命令列の終了を示すためにトラップを
発生させる命令コードが埋められる。
FIG. 3 shows the transition of the test instruction sequence 13a on the test data memory area 13 in the test target device 12 when the processes 202 to 207 are repeatedly executed. In the first execution of the process 202, the memory area 13
, An instruction string of only one instruction is set as indicated by 220, and an instruction code for generating a trap (generally a software controllable interrupt) is filled in the remaining area to indicate the end of the test instruction. In the second execution of the process 202, the two instruction sequences having the sequentiality are set in the memory area 13 as indicated by 221 and the instruction code that causes the trap to indicate the end of the test instruction sequence in the remaining area. Is filled. In the state where the process 202 is executed n times, an instruction string consisting of n instructions having sequentiality is set in the memory area 13 as indicated by 222, and the remaining area is trapped to indicate the end of the test instruction string. The instruction code that generates

処理202により試験対象装置12のメモリエリア13
に蓄積されていくのと全く同一のテスト命令列が、処理
203のシミュレーションモードにより試験システム1
のシミュレーション処理部8で実行され、その実行結果
は処理204により期待値データとして退避される。次
に処理203のシミュレーションモードにより実行した
のと全く同一のテストデータによるテスト命令列が、処
理205により試験対象装置12のメモリエリア13の
命令列を用いてテスト実行部14上で実行される。
The memory area 13 of the device under test 12 is processed by the process 202.
The same test instruction sequence that is stored in the test system 1 is used in the simulation mode of the process 203.
Is executed by the simulation processing unit 8 and the execution result is saved as expected value data by the process 204. Next, a test instruction sequence based on the same test data as that executed in the simulation mode of the process 203 is executed on the test execution unit 14 by the process 205 using the command sequence of the memory area 13 of the device under test 12.

このようにして、第3図の222の状態では、n個のテ
スト命令からなる命令列の試験対象装置12での実行の
正常性が、処理206でテスト結果判定部9においてチ
ェックされる。この結果、異常を検出した場合は、n個
のテスト命令を蓄積した命令列を実行した結果のエラー
であることを処理209でエラー出力部10により出力
し、処理210により原因の調査を実施する。この場
合、n−1個までのテスト命令で構成された命令列での
実行は正常であったことから、n番目に蓄積したテスト
命令nに局所化して、異常の原因を追求することができ
る。
In this way, in the state of 222 in FIG. 3, the normality of the execution of the instruction sequence consisting of n test instructions in the test target device 12 is checked in the test result judging section 9 in the process 206. As a result, when an abnormality is detected, the error output unit 10 outputs in step 209 that the error is the result of executing the instruction sequence accumulating n test instructions, and the cause is investigated in step 210. . In this case, since the execution by the instruction sequence composed of up to n-1 test instructions was normal, the cause of the abnormality can be pursued by localizing to the nth accumulated test instruction n. .

n個のテスト命令を蓄積したテスト命令の実行でも異常
が検出されない場合は、処理208で全命令を含むテス
ト命令列の実行を終了したかチェックし、終了していな
いならば処理202に戻り、さらにn+1個というよう
に次の順序性のあるテスト命令列を試験対象装置12の
テストデータ・メモリエリア13に作成する。
If no abnormality is detected even when the test instructions accumulating n test instructions are detected, it is checked in step 208 whether the execution of the test instruction sequence including all the instructions has been completed. If not, the process returns to step 202, Further, the next ordered test instruction sequence such as n + 1 is created in the test data memory area 13 of the device under test 12.

以上の処理を繰返すことにより、複数の順序性のあるテ
スト命令によりテスト命令列を構成した状態での試験対
象装置12の動作の正常性を、テスト命令数を1命令づ
つ蓄積しながら確認することが可能となり、異常を検出
した場合にも当該蓄積命令に限定して異常内容を解析す
ることが可能になる。
By repeating the above processing, it is possible to confirm the normality of the operation of the test target device 12 in a state in which the test instruction sequence is composed of a plurality of test instructions having order, while accumulating the number of test instructions one by one. Therefore, even when an abnormality is detected, the content of the abnormality can be analyzed only in the accumulation instruction.

さらに処理201から処理207及び処理209,21
0を所定の回数実行したことを処理208でチェック
し、所定回数に達していなければ繰返し実行するが、テ
スト命令列、テストデータを乱数値から生成する際、テ
スト開始の乱数値を変えることにより、常に異った内容
でテストすることが可能である。
Further, processing 201 to processing 207 and processing 209, 21
It is checked in processing 208 that 0 has been executed a predetermined number of times, and if it has not reached the predetermined number of times, it is repeatedly executed. However, when the test instruction string and the test data are generated from the random number value, by changing the random number value of the test start , It is always possible to test with different content.

なお、上記処理において、テスト命令列、テストデータ
3、期待値4は乱数値から生成するのではなく、試験シ
ステムに予め組込んでおくことも可能である。この場合
は、処理201のテスト命令列、テストデータの生成処
理を設ける必要はない。また、シミュレーション処理部
8は、擬似的にテスト命令列を実行し期待値を求めるた
めのものであり、試験システム1内に試験対象装置12
の個々の命令仕様を満足するソフトシミュレータを設け
る方式、試験対象装置以外の動作の正常性が確認されて
いる実データ処理装置の実行による方式、または試験対
象装置の動作モードを固定することにより正常動作が保
証されるならば、試験対象装置12のモードを固定して
実行する方式の、いずれの方式も可能である。さらにテ
スト命令列を実行し異常を検出した場合の、エラー解析
処理として利用することも可能である。
In the above process, the test instruction sequence, the test data 3, and the expected value 4 may not be generated from the random number value but may be incorporated in the test system in advance. In this case, it is not necessary to provide the test instruction sequence and test data generation processing of the processing 201. The simulation processing unit 8 is for executing a pseudo test instruction sequence to obtain an expected value, and the test target device 12 is provided in the test system 1.
The method of providing a software simulator that satisfies the individual instruction specifications of the above, the method of executing an actual data processing device whose operation normality has been confirmed other than the test target device, or the operation mode of the test target device If the operation is guaranteed, any method of fixing the mode of the device under test 12 and executing the method is possible. Further, it can be used as an error analysis process when a test instruction sequence is executed and an abnormality is detected.

〔発明の効果〕〔The invention's effect〕

以上の説明から明らかなように、本発明によれば、n個
のテスト命令を蓄積してテスト命令列の実行結果異常を
検出した場合は、n−1個までのテスト命令の蓄積での
実行は正常であったことから、n番目に蓄積したテスト
命令に局所化して、異常の原因を追求することができ
る。また、順序性を有する複数の連続したテスト命令に
より構成するテスト命令列を実行することが可能なた
め、加速論理を有するデータ処理装置のテストとしてよ
り一層の効果を得ることができる。
As is clear from the above description, according to the present invention, when n test instructions are accumulated and an abnormal result of the execution of the test instruction sequence is detected, execution is performed by accumulating up to n-1 test instructions. Was normal, it is possible to pursue the cause of the abnormality by localizing it to the n-th accumulated test instruction. Moreover, since it is possible to execute a test instruction sequence composed of a plurality of consecutive test instructions having an order, it is possible to obtain a further effect as a test of a data processing device having an acceleration logic.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明のテスト方法を実現する試験システムの
一実施例を示す構成図、第2図は第1図の処理を説明す
るためのフローチャート、第3図は試験対象装置のテス
トデータ・メモリエリアに蓄積されるテスト命令列の遷
移を示す図、第4図は従来のテスト方式を説明するため
のフローチャートである。 1…試験システム、5…テストデータ格納部、6…テス
トデータ生成部、7…テストデータ設定部、8…シミュ
レーション処理部、9…テスト結果判定部、10…エラ
ー出力部、11…制御部、12…試験対象装置、13…
テストデータ・メモリエリア、14…テスト実行部。
FIG. 1 is a block diagram showing an embodiment of a test system for implementing the test method of the present invention, FIG. 2 is a flow chart for explaining the process of FIG. 1, and FIG. FIG. 4 is a diagram showing the transition of the test instruction sequence accumulated in the memory area, and FIG. 4 is a flowchart for explaining the conventional test method. DESCRIPTION OF SYMBOLS 1 ... Test system, 5 ... Test data storage part, 6 ... Test data generation part, 7 ... Test data setting part, 8 ... Simulation processing part, 9 ... Test result determination part, 10 ... Error output part, 11 ... Control part, 12 ... Device to be tested, 13 ...
Test data / memory area, 14 ... Test execution unit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】順序性を有するテスト命令列とテストデー
タを格納するテストデータ格納部と、前記テスト命令列
を擬似的に実行するシミュレーション処理部を有する試
験システムによって、試験対象のデータ処理装置の正常
性をテストする方法であって、 前記テストデータ格納部に格納されたテスト命令列とテ
ストデータから、順次、1命令分ずつ取り出して前記デ
ータ処理装置のメモリに蓄積していく処理と、 前記データ処理装置のメモリに1命令分を蓄積する毎
に、 前記メモリ中の、それまで蓄積された全命令分を前記デ
ータ処理装置で実行するステップと、 前記テストデータ格納部のテスト命令列とテストデータ
から、前記データ処理装置で実行される命令分を取り出
して前記シミュレーション処理部で実行するステップ
と、 前記データ処理装置の実行結果と前記シミュレーション
処理部の実行結果とを比較して、前記データ処理装置で
の実行の正常性を判定するステップと、 を繰り返し行う処理と、 からなることを特徴とするデータ処理装置のテスト方
法。
1. A test system having a test data storage unit for storing a test instruction sequence and test data having an order, and a simulation processing unit for quasi-executing the test instruction sequence. A method of testing normality, comprising a process of sequentially extracting one instruction from the test instruction sequence and test data stored in the test data storage unit and accumulating the same in a memory of the data processing device, Every time one instruction is stored in the memory of the data processing device, a step of executing all the stored instructions in the memory up to that time in the data processing device; a test instruction sequence and a test in the test data storage unit; Extracting from the data instructions for execution by the data processing device and executing the instructions by the simulation processing unit; A step of comparing the execution result of the data processing apparatus with the execution result of the simulation processing section to determine the normality of the execution in the data processing apparatus; Testing method for data processing equipment.
JP61310750A 1986-12-26 1986-12-26 Data processing device testing method Expired - Fee Related JPH0664539B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61310750A JPH0664539B2 (en) 1986-12-26 1986-12-26 Data processing device testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61310750A JPH0664539B2 (en) 1986-12-26 1986-12-26 Data processing device testing method

Publications (2)

Publication Number Publication Date
JPS63163641A JPS63163641A (en) 1988-07-07
JPH0664539B2 true JPH0664539B2 (en) 1994-08-22

Family

ID=18009031

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61310750A Expired - Fee Related JPH0664539B2 (en) 1986-12-26 1986-12-26 Data processing device testing method

Country Status (1)

Country Link
JP (1) JPH0664539B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009181370A (en) * 2008-01-31 2009-08-13 Fujitsu Ltd Computer test method, program, and information processing apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62203240A (en) * 1986-03-04 1987-09-07 Nec Corp Test system for information processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009181370A (en) * 2008-01-31 2009-08-13 Fujitsu Ltd Computer test method, program, and information processing apparatus

Also Published As

Publication number Publication date
JPS63163641A (en) 1988-07-07

Similar Documents

Publication Publication Date Title
US7055065B2 (en) Method, system, and computer program product for automated test generation for non-deterministic software using state transition rules
CN112100085B (en) Android application stability testing method, apparatus and device
US5345450A (en) Method of compressing and decompressing simulation data for generating a test program for testing a logic device
US6615379B1 (en) Method and apparatus for testing a logic device
CN108572892B (en) PowerPC multi-core processor-based offline test method and device
US6334199B1 (en) Method of generating test patterns for a logic circuit, a system performing the method, and a computer readable medium instructing the system to perform the method
US6845440B2 (en) System for preventing memory usage conflicts when generating and merging computer architecture test cases
US11347628B2 (en) Test case generation apparatus, test case generation method, and computer readable medium
JPH0664539B2 (en) Data processing device testing method
CN109144806B (en) Function verification method and device for register transmission stage circuit
JP7343197B2 (en) Information processing device, information processing system, information processing method and program
US5870316A (en) Methods of using simultaneous test verification software
JPH07334385A (en) How to verify the maintenance diagnostic function
JPH08166892A (en) Data processing device test method
JPH04260941A (en) Automatic formation device for test data
CN120805839A (en) Failure positioning method, device and program product in chip simulation test
Vedeshenkov A route-oriented self-diagnosis method for digital systems
JPS62122000A (en) Memory element
JPH02115942A (en) Information processor test system
US20090249303A1 (en) Random access to historical program state for enhanced debugging
JP2001051864A (en) Test execution method for data processing equipment
CN117370168A (en) Method for setting simulation restoration point of logic system design and related equipment
JPH02115941A (en) Information processor test system
JPH0561935A (en) Logical simulation system
JPH04102931A (en) Testing system for information processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees