JPH04241640A - Testing method for information processor - Google Patents

Testing method for information processor

Info

Publication number
JPH04241640A
JPH04241640A JP3002509A JP250991A JPH04241640A JP H04241640 A JPH04241640 A JP H04241640A JP 3002509 A JP3002509 A JP 3002509A JP 250991 A JP250991 A JP 250991A JP H04241640 A JPH04241640 A JP H04241640A
Authority
JP
Japan
Prior art keywords
test
instruction
error
test instruction
instruction sequence
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.)
Pending
Application number
JP3002509A
Other languages
Japanese (ja)
Inventor
Hiroko Nakaso
中曽 浩子
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP3002509A priority Critical patent/JPH04241640A/en
Publication of JPH04241640A publication Critical patent/JPH04241640A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To effectively utilize a generated instruction string at the time of performing tests by analyzing a test instruction and detecting an error factor instruction. CONSTITUTION:A means which restarts an error instruction detecting means 4 from the instruction immediately after an error factor instruction in a test instruction string by resetting a device to be tested, fetching the simulated result of a simulator 21 obtained until an error factor instruction is detected, and setting the simulated result to the device to be tested as data for execution when an error instruction detecting means 3 detects the error factor instruction, is provided.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、複数個の命令を無作為
に組合せて生成した試験命令列の実行による情報処理装
置の試験方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for testing an information processing apparatus by executing a test instruction sequence generated by randomly combining a plurality of instructions.

【0002】0002

【従来の技術】従来、複数個の命令を無作為に組合せて
生成した試験命令列の実行による情報処理装置の試験方
法において、試験命令列の被試験装置での実行結果とシ
ミュレータでのシミュレート結果との比較によりエラー
が検出された場合、エラー命令検出手段において、図7
に示すように該試験命令列内の命令を被試験装置及びシ
ミュレータで個別に実行した結果を比較することにより
エラー要因命令を検出し、該エラー要因命令の検出によ
り以降のエラー要因命令の検出を終了していた。
[Background Art] Conventionally, in a method for testing an information processing device by executing a test instruction sequence generated by randomly combining a plurality of instructions, the execution result of the test instruction sequence on a device under test and the simulation using a simulator are used. If an error is detected by comparison with the result, the error instruction detection means detects the error instruction as shown in FIG.
As shown in , the error-causing instruction is detected by comparing the results of individually executing the instructions in the test instruction sequence on the device under test and the simulator, and the detection of the error-causing instruction enables the detection of subsequent error-causing instructions. It had ended.

【0003】0003

【発明が解決しようとする課題】複数個の命令を無作為
に組合せて生成した試験命令列の実行による情報処理装
置の試験方法において、試験命令列の被試験装置での実
行結果とシミュレータでのシミュレート結果との比較に
よりエラーが検出された場合、従来のエラー命令検出手
段では、エラー要因命令を1つ検出した以降のエラー要
因命令の検出は実行されない為、同一試験命令列内に複
数個のエラー要因命令が含まれていても2つめ以降のエ
ラー要因命令は検出されず、試験命令列が有効に試験さ
れないという問題があった。
[Problem to be Solved by the Invention] In a method for testing an information processing device by executing a test instruction sequence generated by randomly combining a plurality of instructions, the execution result of the test instruction sequence on the device under test and the simulator are compared. If an error is detected by comparison with the simulation results, conventional error instruction detection means will not detect the error-causing instructions after one error-causing instruction is detected. Even if an error-causing instruction is included, the second and subsequent error-causing instructions are not detected, resulting in a problem that the test instruction sequence is not effectively tested.

【0004】0004

【課題を解決するための手段】本発明は、試験命令列生
成手段と、ソフトウェアにより命令動作を模擬するシミ
ュレータと、試験命令列生成手段により生成された試験
命令列の被試験装置での実行結果と、シミュレータによ
るシミュレート結果との比較によりエラー検出を行うエ
ラー検出手段と、エラー検出手段によるエラー検出時に
、試験命令列中の各個別命令の被試験装置での実行結果
とシミュレータによるシミュレート結果との比較を行い
、エラー要因命令を検出するエラー命令検出手段とを有
する情報処理装置の試験方法において、エラー命令検出
手段によるエラー要因命令検出時に、被試験装置のリセ
ットを行い、エラー要因命令検出までのシミュレータに
よるシミュレート結果を取り出し、実行用データとして
被試験装置に設定し、試験命令列中のエラー要因命令直
後の命令からエラー命令検出手段を再開する手段を有す
ることを特徴とするものである。
[Means for Solving the Problems] The present invention provides a test instruction sequence generation means, a simulator that simulates instruction operation using software, and an execution result of a test instruction sequence generated by the test instruction sequence generation means on a device under test. and an error detection means that detects an error by comparing it with the simulation result by the simulator, and when the error detection means detects an error, the execution result of each individual instruction in the test instruction sequence on the device under test and the simulation result by the simulator. In the method for testing an information processing device, the device under test is reset when the error instruction detection means detects the instruction causing the error, and the error instruction detection means detects the instruction causing the error. The present invention is characterized by having means for extracting the simulation results by the simulator up to the present time, setting them in the device under test as execution data, and restarting the error instruction detection means from the instruction immediately after the error-causing instruction in the test instruction sequence. be.

【0005】[0005]

【実施例】次に本発明の一実施例である情報処理装置の
試験方法について図面を参照して詳細に説明する。
Embodiment Next, a method for testing an information processing apparatus, which is an embodiment of the present invention, will be described in detail with reference to the drawings.

【0006】図1は本試験方法の処理を示す流れ図、図
2は試験命令列生成手段内の処理を示すブロック図、図
3は試験命令列実行手段内の処理を示すブロック図、図
4はエラー命令検出手段内の処理を示す流れ図、図5は
生成された試験命令列を示す図、図6は試験命令列実行
用データを示す図である。
FIG. 1 is a flowchart showing the processing of this test method, FIG. 2 is a block diagram showing the processing within the test instruction string generation means, FIG. 3 is a block diagram showing the processing within the test instruction string execution means, and FIG. 4 is a block diagram showing the processing within the test instruction string execution means. FIG. 5 is a flowchart showing the processing within the error instruction detection means, FIG. 5 is a diagram showing a generated test instruction string, and FIG. 6 is a diagram showing data for executing the test instruction string.

【0007】図1を見ると、本試験方法では、試験命令
列生成手段1と、試験命令列実行手段2と、エラー検出
手段3と、エラー命令検出手段4が順次、繰り返し実行
される。
Referring to FIG. 1, in this test method, test instruction string generation means 1, test instruction string execution means 2, error detection means 3, and error instruction detection means 4 are sequentially and repeatedly executed.

【0008】図2を見ると、試験命令列生成手段1は、
試験命令列生成処理11と、試験命令列実行用データ生
成処理12と、試験命令列実行用データ設定処理13と
を有している。
Looking at FIG. 2, the test instruction sequence generation means 1
It has a test instruction sequence generation process 11, a test instruction sequence execution data generation process 12, and a test instruction sequence execution data setting process 13.

【0009】図3を見ると、試験命令列実行手段2は、
シミュレータ21と、被試験装置上で試験命令列を実行
する実行処理22と、シミュレータ21上で試験命令列
を実行する実行処理23とを有している。
Looking at FIG. 3, the test instruction sequence execution means 2
It has a simulator 21, an execution process 22 that executes a test instruction sequence on the device under test, and an execution process 23 that executes the test instruction sequence on the simulator 21.

【0010】図4を見ると、エラー命令検出手段4は、
試験命令列実行用データ設定処理41と、試験命令解析
終了判別処理42と、試験命令列からの解析対象命令抽
出処理43と、試験命令列実行手段2の呼び出し処理4
4と、エラー検出手段3の呼び出し処理45と、エラー
情報編集及び出力処理46と、被試験装置のリセット処
理47と、被試験装置上での試験命令列実行用  デー
タにシミュレータ上での試験命令列実行用データを複写
するデータ設定処理48とを有している。
Looking at FIG. 4, the error instruction detection means 4
Test instruction sequence execution data setting process 41, test instruction analysis completion determination process 42, analysis target instruction extraction process 43 from the test instruction sequence, and test instruction sequence execution means 2 calling process 4
4, a call process 45 for the error detection means 3, an error information editing and output process 46, a reset process 47 for the device under test, and a test command on the simulator for the data for executing the test command sequence on the device under test. The data setting process 48 also includes a data setting process 48 for copying column execution data.

【0011】今、エラー要因となる命令を2箇所に含む
図5の試験命令列51が試験命令列生成手段1において
生成されるとする。
Now, it is assumed that the test instruction string generation means 1 generates a test instruction string 51 shown in FIG. 5 that includes instructions causing an error in two places.

【0012】先ず、試験命令列生成手段1における試験
命令列生成処理11によって試験命令列51が生成され
る。次いで、この試験命令列51の実行用データ52が
、試験命令列実行用データ生成処理12によって生成さ
れ、試験命令列実行用データ設定処理13によって、被
試験装置上での試験命令列実行用データ空間53、シミ
ュレータ21上での試験命令列実行用データ空間54に
それぞれ設定される。尚、試験命令列生成処理11によ
って生成される試験命令列は、必ず被試験装置上での試
験命令列実行用データ空間53、シミュレータ21上で
の試験命令列実行用データ空間54内のデータのみを実
行時のデータとして使用するように生成される。その後
、試験命令列実行手段2における被試験装置上での試験
命令列実行処理22とシミュレータ21上での試験命令
列実行処理23により、試験命令列51が、実行用デー
タ空間53及び54内のデータを用いて実行される。
First, a test instruction string 51 is generated by a test instruction string generation process 11 in the test instruction string generation means 1 . Next, the execution data 52 of this test instruction sequence 51 is generated by the test instruction sequence execution data generation process 12, and the test instruction sequence execution data on the device under test is generated by the test instruction sequence execution data setting process 13. These are set in a space 53 and a data space 54 for executing a test instruction sequence on the simulator 21, respectively. Note that the test instruction string generated by the test instruction string generation process 11 is always limited to the data in the test instruction string execution data space 53 on the device under test and the test instruction string execution data space 54 on the simulator 21. generated to be used as runtime data. Thereafter, by the test instruction string execution process 22 on the device under test in the test instruction string execution means 2 and the test instruction string execution process 23 on the simulator 21, the test instruction string 51 is stored in the execution data spaces 53 and 54. Executed using data.

【0013】試験命令列実行手段2による試験命令列5
1の実行が終了した後、試験命令列51を被試験装置上
及びシミュレータ21上とで実行した結果として、試験
命令列実行用データ空間53と54内のデータの比較が
、エラー検出手段3において実行され、エラーの有無が
判別される。試験命令列実行用データ空間53と54内
のデータは、それぞれ試験命令列実行用データ生成処理
12において生成されたデータを試験命令列実行用デー
タ設定処理13によって設定したものであり、初期値は
同値であるから、試験命令列51が正しく実行されれば
、試験命令列51実行後の試験命令列実行用データ空間
53と54内のデータも同値となる。しかし、試験命令
列51の場合、2つのエラー要因命令が含まれている為
、試験命令列51を実行した後の試験命令列実行用デー
タ空間53と54内のデータは異なる値となり、エラー
検出手段3による試験命令列51の実行結果はエラーと
いう判定を受ける。このエラー検出手段3での判定結果
が、エラー非発生であれば、試験命令列生成手段1によ
り、再度試験命令列51とは異なる命令列を生成し、異
なる試験命令列による試験を継続して実行するが、試験
命令列51の実行の場合、エラー検出手段3による判定
結果がエラーである為、続いてエラー命令検出手段4で
の処理を行う。
Test instruction string 5 by test instruction string execution means 2
1, the error detection means 3 compares the data in the test instruction sequence execution data spaces 53 and 54 as a result of executing the test instruction sequence 51 on the device under test and on the simulator 21. It is executed to determine whether there are any errors. The data in the test instruction sequence execution data spaces 53 and 54 are the data generated in the test instruction sequence execution data generation process 12 and set by the test instruction sequence execution data setting process 13, and the initial values are as follows. Since they have the same value, if the test instruction sequence 51 is executed correctly, the data in the test instruction sequence execution data spaces 53 and 54 after the test instruction sequence 51 is executed will also have the same value. However, in the case of the test instruction sequence 51, since two error-causing instructions are included, the data in the test instruction sequence execution data spaces 53 and 54 after the test instruction sequence 51 is executed will have different values, and the error will be detected. The execution result of the test instruction sequence 51 by means 3 is determined to be an error. If the judgment result of the error detection means 3 is that no error has occurred, the test instruction sequence generation means 1 generates an instruction sequence different from the test instruction sequence 51 again, and continues the test using the different test instruction sequence. However, in the case of execution of the test instruction sequence 51, since the determination result by the error detection means 3 is an error, the error instruction detection means 4 subsequently performs processing.

【0014】エラー命令検出手段4では、先ず、試験命
令列実行用データ設定処理41によって、被試験装置上
での試験命令列実行用データ空間53とシミュレータ2
1上での試験命令列実行用データ空間54を再設定する
。データ設定の後は、試験命令解析終了判別処理42に
より試験命令列51中に含まれる全試験命令の解析が終
了したかどうかの判別をしながら、全試験命令の解析終
了の検出まで試験命令列51の試験命令を個別に抽出し
、順に試験命令の実行結果のエラー判定を行いながら実
行していく。
In the error instruction detection means 4, first, a data space 53 for executing a test instruction sequence on the device under test and a data space 53 for executing a test instruction sequence on the device under test are set by a data setting process 41 for executing a test instruction sequence.
The data space 54 for executing the test instruction sequence on 1 is reset. After setting the data, the test instruction analysis completion determination process 42 determines whether the analysis of all test instructions included in the test instruction string 51 has been completed, and continues until the end of analysis of all test instructions is detected. 51 test instructions are extracted individually and executed in sequence while making error judgments on the execution results of the test instructions.

【0015】試験命令列51の場合、解析対象命令抽出
処理43により、先ず試験命令1が抽出され、試験命令
列実行手段2の呼び出し処理44によって呼び出された
試験命令列実行手段2により被試験装置上及びシミュレ
ータ21上で実行される。試験命令1の実行後、エラー
検出手段3の呼び出し処理45によってエラー検出手段
3が呼び出され、試験命令1の実行後のエラー発生/非
発生の判定が行われる。試験命令1は正しく実行される
為、試験命令列実行用データ空間53と54内のデータ
は同値となり、従ってエラー検出手段3による試験命令
1での被試験装置のエラーは検出されず、そのまま試験
命令解析終了判別処理42により試験命令解析終了か否
かが判別され、次いで試験命令2のエラー解析が行われ
る。以上の様にして、試験命令列51中の試験命令個別
の被試験装置のエラー検出有無を解析していく。
In the case of the test instruction sequence 51, the test instruction 1 is first extracted by the analysis target instruction extraction process 43, and then the test instruction sequence execution means 2 called by the test instruction sequence execution means 2 called by the test instruction sequence execution means 2 calls the device under test. and on the simulator 21. After the test instruction 1 is executed, the error detection means 3 is called by the error detection means 3 calling process 45, and it is determined whether an error has occurred or not after the test instruction 1 has been executed. Since test instruction 1 is executed correctly, the data in the test instruction string execution data spaces 53 and 54 have the same value, so the error detection means 3 does not detect an error in the device under test with test instruction 1, and the test continues as is. The instruction analysis completion determination process 42 determines whether or not the test instruction analysis has been completed, and then error analysis of the test instruction 2 is performed. In the manner described above, the presence or absence of error detection in the device under test for each test command in the test command sequence 51 is analyzed.

【0016】順次、試験命令列51から試験命令を抽出
しエラー解析を行っていき、被試験装置のエラーを検出
する試験命令iを実行したとする。それまでに抽出され
た試験命令と異なり、試験命令iを実行した場合、被試
験装置上において試験命令iが誤動作する為に、試験命
令iの実行後では試験命令列実行用データ空間53と5
4内のデータは不一致となり、エラー検出手段3による
エラー発生/非発生の判定はエラーとなり、エラー情報
収集及び出力処理46によってエラー発生命令及びエラ
ーデータの編集と出力が行われる。
Assume that test commands are sequentially extracted from the test command sequence 51, error analysis is performed, and test command i is executed to detect an error in the device under test. Unlike the test instructions extracted so far, when test instruction i is executed, test instruction i will malfunction on the device under test.
The data in 4 do not match, and the determination of error occurrence/non-occurrence by the error detection means 3 is an error, and the error information collection and output processing 46 edits and outputs the error occurrence command and error data.

【0017】なお、試験命令iの後にも試験命令列51
には解析対象命令が残っており、試験命令(i+1)以
降も解析する必要があるが、試験命令(i+1)の実行
の前に、試験命令iの実行によって値が異なってしまっ
た、被試験装置上及びシミュレータ21上での試験命令
列実行用データ空間53及び54内のデータを一致させ
る必要がある。その為、被試験装置のリセット処理47
によって先ず被試験装置をリセットした後、被試験装置
上での実行用データへのシミュレータ実行用データ設定
処理48によって、シミュレータ21上での試験命令列
実行用データ空間54内のデータを取り出し、被試験装
置上での試験命令列実行用データ空間53に設定する。 被試験装置上での実行用データへのシミュレータ実行用
データ設定処理48によって、被試験装置上での試験命
令列実行用データ空間53と、シミュレータ21上での
試験命令列実行用データ空間54内のデータを一致させ
た後は、続く試験命令(i+1)からの試験命令のエラ
ー解析を継続する。被試験装置のエラーを検出する試験
命令jが解析対象命令となった場合も先の試験命令iの
場合と同様の処理が行われ、以降試験命令列51中の試
験命令の解析が全部終了するまでエラー命令検出手段4
によるエラー解析がおこなわれる。エラー解析終了後は
、エラーが検出されない場合と同様、再度試験命令列生
成手段1に制御が戻り、試験命令列51とは異なる試験
命令列が生成され、引き続いて試験が行われる。本試験
方法は、以上のようにエラー検出時にはエラー解析を行
いながら、試験実行終了の指示がオペレータから行われ
るまで連続して実行される。
Note that the test instruction sequence 51 also appears after the test instruction i.
There are still instructions to be analyzed, and it is necessary to analyze the instructions after test instruction (i+1), but before the execution of test instruction (i+1), there is It is necessary to match the data in the test instruction sequence execution data spaces 53 and 54 on the device and on the simulator 21. Therefore, the reset process 47 of the device under test
After first resetting the device under test, the data in the data space 54 for executing the test instruction string on the simulator 21 is retrieved by the simulator execution data setting process 48 to the execution data on the device under test, and It is set in the data space 53 for executing the test instruction sequence on the test device. By the simulator execution data setting process 48 to the execution data on the device under test, the data space 53 for executing the test instruction string on the device under test and the data space 54 for executing the test instruction string on the simulator 21 are set. After matching the data, error analysis of the test commands starting from the test command (i+1) continues. When the test instruction j that detects an error in the device under test becomes an instruction to be analyzed, the same process as in the case of the test instruction i is performed, and the analysis of all test instructions in the test instruction sequence 51 is thereafter completed. up to error instruction detection means 4
Error analysis is performed by After the error analysis is completed, as in the case where no error is detected, control is returned to the test instruction string generation means 1 again, a test instruction string different from the test instruction string 51 is generated, and the test is subsequently performed. As described above, this test method performs error analysis when an error is detected, and is continuously executed until the operator issues an instruction to end the test execution.

【0018】[0018]

【発明の効果】本発明における複数個の命令を無作為に
組合せて生成した試験命令列の実行による情報処理装置
の試験方法は、試験対象となる複数個の命令を無作為に
取り出して試験命令列を生成し、実行することによって
、被試験装置のハードウェア、ファームウェアの正常動
作を確認する為の試験である。従って、試験命令列の生
成、実行、評価は繰り返し行われ、また試験命令列の生
成も試験命令列の実行の度に異なる。その為、一度生成
された試験命令列内の命令の組合せが、再度試験命令列
内に出現するかどうかは予想出来ず、試験命令列は有効
に試験される必要がある。
Effects of the Invention The method of testing an information processing device according to the present invention by executing a test instruction sequence generated by randomly combining a plurality of instructions is such that a plurality of instructions to be tested are randomly selected and a test instruction sequence is executed. This is a test to confirm the normal operation of the hardware and firmware of the device under test by generating and executing a sequence. Therefore, generation, execution, and evaluation of the test instruction sequence are performed repeatedly, and the generation of the test instruction sequence also differs each time the test instruction sequence is executed. Therefore, it is impossible to predict whether a combination of instructions in a test instruction string once generated will appear in the test instruction string again, and the test instruction string needs to be tested effectively.

【0019】本発明では、エラー命令検出手段によるエ
ラー要因命令検出時に、被試験装置のリセットを行い、
エラー要因命令検出までのシミュレータによるシミュレ
ート結果を取り出し、実行用データとして被試験装置に
設定し、試験命令列中のエラー要因命令直後の命令から
エラー命令検出手段を再開する手段を有することにより
、試験命令列中に複数のエラー要因命令が存在している
場合にも、全試験命令を解析し、エラー要因命令を検出
することを可能とする為、試験において生成された命令
列が有効に利用されるという効果がある。
In the present invention, the device under test is reset when the error instruction detection means detects the instruction causing the error,
By having a means for extracting the simulation results by the simulator up to the detection of the error-causing instruction, setting it in the device under test as execution data, and restarting the error-instruction detection means from the instruction immediately after the error-causing instruction in the test instruction sequence, Even if there are multiple error-causing instructions in a test instruction sequence, all test instructions can be analyzed and the error-causing instruction can be detected, so the instruction sequence generated during the test can be effectively used. It has the effect of being

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の一実施例の試験方法の動作を示す流れ
図である。
FIG. 1 is a flowchart showing the operation of a test method according to an embodiment of the present invention.

【図2】図1中の試験命令列生成手段内の処理を示すブ
ロック図である。
FIG. 2 is a block diagram showing processing within a test instruction sequence generation means in FIG. 1;

【図3】図1中の試験命令列実行手段内の処理を示すブ
ロック図である。
FIG. 3 is a block diagram showing processing within a test instruction sequence execution means in FIG. 1;

【図4】図1中のエラー命令検出手段内の処理を示す流
れ図である。
FIG. 4 is a flowchart showing processing within the error instruction detection means in FIG. 1;

【図5】図2中の試験命令列生成処理によって生成され
た試験命令列を示す図である。
FIG. 5 is a diagram showing a test instruction string generated by the test instruction string generation process in FIG. 2;

【図6】図2中の試験命令列実行用データ生成処理によ
って生成された試験命令列実行用データを示す図である
6 is a diagram showing test instruction string execution data generated by the test instruction string execution data generation process in FIG. 2; FIG.

【図7】本発明が適用されるまでの従来のエラー命令検
出手段内の処理を示す流れ図である。
FIG. 7 is a flowchart showing processing within a conventional error instruction detection means until the present invention is applied.

【符号の説明】[Explanation of symbols]

1    試験命令列生成手段 2    試験命令列実行手段 3    エラー検出手段 4    エラー命令検出手段 11    試験命令列生成処理 12    試験命令列実行用データ生成処理13  
  試験命令列実行用データ設定処理21    シミ
ュレータ 22    被試験装置上での試験命令列実行処理23
    シミュレータ上での試験命令列実行処理41 
   試験命令列実行用データ設定処理42    試
験命令解析終了判別処理43    解析対象命令抽出
処理 44    試験命令列実行手段2の呼び出し処理45
    エラー検出手段3の呼び出し処理46    
エラー情報編集及び出力処理47    被試験装置の
リセット処理48    シミュレータ実行用データ設
定処理51    試験命令列 52    試験命令列実行用データ 53    被試験装置上での試験命令列実行用データ
空間54    シミュレータ上での試験命令列実行用
データ空間
1 Test instruction sequence generation means 2 Test instruction sequence execution means 3 Error detection means 4 Error instruction detection means 11 Test instruction sequence generation processing 12 Test instruction sequence execution data generation processing 13
Data setting process for test instruction sequence execution 21 Simulator 22 Test instruction sequence execution process on the device under test 23
Test instruction sequence execution process on simulator 41
Test instruction sequence execution data setting process 42 Test instruction analysis completion determination process 43 Analysis target instruction extraction process 44 Test instruction sequence execution means 2 calling process 45
Calling process 46 of error detection means 3
Error information editing and output processing 47 Device under test reset processing 48 Simulator execution data setting processing 51 Test instruction string 52 Test instruction string execution data 53 Data space for test instruction string execution on the device under test 54 Data space for test instruction sequence execution

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  試験命令列生成手段と、ソフトウェア
により命令動作を模擬するシミュレータと、前記試験命
令列生成手段により生成された試験命令列の被試験装置
での実行結果と、前記シミュレータによるシミュレート
結果との比較によりエラー検出を行うエラー検出手段と
、該エラー検出手段によるエラー検出時に、前記試験命
令列中の各個別命令の被試験装置での実行結果と前記シ
ミュレータによるシミュレート結果との比較を行い、エ
ラー要因命令を検出するエラー命令検出手段とを有する
情報処理装置の試験方法において、前記エラー命令検出
手段によるエラー要因命令検出時に、被試験装置のリセ
ットを行い、前記エラー要因命令検出までの前記シミュ
レータによるシミュレート結果を取り出し、実行用デー
タとして被試験装置に設定し、前記試験命令列中のエラ
ー要因命令直後の命令から前記エラー命令検出手段を再
開する手段を有することを特徴とする情報処理装置の試
験方法。
1. A test instruction sequence generation means, a simulator for simulating instruction operations using software, an execution result of the test instruction sequence generated by the test instruction sequence generation means on a device under test, and a simulation performed by the simulator. an error detection means for detecting an error by comparison with the result; and a comparison of the execution result of each individual instruction in the test instruction sequence in the device under test and the simulation result by the simulator when the error detection means detects the error. and error instruction detection means for detecting an error-causing instruction, the device under test is reset when the error-causing instruction is detected by the error-causing instruction, until the error-causing instruction is detected. The method further comprises means for extracting simulation results by the simulator, setting them in the device under test as execution data, and restarting the error instruction detection means from the instruction immediately after the error-causing instruction in the test instruction sequence. Test method for information processing equipment.
【請求項2】  前記エラー命令検出手段で、被試験装
置上での試験命令列実行用データ空間と前記シミュレー
タ上での試験命令列実行用データ空間を再設定し、デー
タ設定の後は、試験命令列中に含まれる全試験命令の解
析が終了したかどうかの判別をしながら、全試験命令の
解析終了の検出まで前記試験命令列の試験命令を個別に
抽出し、順に試験命令の実行結果のエラー判定を行いな
がら実行していくことを特徴とする請求項1記載の情報
処理装置の試験方法。
2. The error instruction detection means resets a data space for executing a test instruction sequence on the device under test and a data space for executing a test instruction sequence on the simulator, and after setting the data, While determining whether the analysis of all test instructions included in the instruction string has been completed, the test instructions of the test instruction string are individually extracted until the analysis of all test instructions is detected, and the execution results of the test instructions are sequentially extracted. 2. The method for testing an information processing device according to claim 1, wherein the test method is executed while making an error determination.
JP3002509A 1991-01-14 1991-01-14 Testing method for information processor Pending JPH04241640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3002509A JPH04241640A (en) 1991-01-14 1991-01-14 Testing method for information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3002509A JPH04241640A (en) 1991-01-14 1991-01-14 Testing method for information processor

Publications (1)

Publication Number Publication Date
JPH04241640A true JPH04241640A (en) 1992-08-28

Family

ID=11531344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3002509A Pending JPH04241640A (en) 1991-01-14 1991-01-14 Testing method for information processor

Country Status (1)

Country Link
JP (1) JPH04241640A (en)

Similar Documents

Publication Publication Date Title
US8966449B2 (en) Test case pattern matching
US4984239A (en) Automatic verification system for maintenance/diagnosis facility in computer system
US10162742B2 (en) System and method for end to end performance response time measurement based on graphic recognition
CN110196801B (en) Code coverage rate based test method and device
CN109359003A (en) Game server method for testing pressure, device and equipment
CN111143188A (en) Method and equipment for automatically testing application
CN108572892B (en) PowerPC multi-core processor-based offline test method and device
CN105912467B (en) Performance test method and device
CN109101355B (en) Processor debugging method for extracting error site characteristic test excitation
CN107402883B (en) A kind of data test treating method and apparatus
JPH04241640A (en) Testing method for information processor
TWI650710B (en) Test process detection method
JPH0497440A (en) Testing system for information processor
JP2001051864A (en) Test conducting system for data processor
US5870316A (en) Methods of using simultaneous test verification software
JP2002024052A (en) Error reproduction test method of computer peripheral equipment
CN112527672B (en) Detection method and equipment for shell adding tool
JPH0713809A (en) Program evaluation system
JPH05298204A (en) Test circut for input/output processor
JPH04102931A (en) Testing system for information processor
JP2953029B2 (en) Test method for logic integrated circuits
JP2523692B2 (en) Electronic computer adjustment failure analysis support system
CN115374005A (en) Automatic testing method and system for application program
CN117370168A (en) Method for setting simulation restoration point of logic system design and related equipment
CN114741303A (en) Test script generation method and device and electronic equipment