JPH05250202A - Test device for information processor - Google Patents

Test device for information processor

Info

Publication number
JPH05250202A
JPH05250202A JP4049067A JP4906792A JPH05250202A JP H05250202 A JPH05250202 A JP H05250202A JP 4049067 A JP4049067 A JP 4049067A JP 4906792 A JP4906792 A JP 4906792A JP H05250202 A JPH05250202 A JP H05250202A
Authority
JP
Japan
Prior art keywords
test
instruction
instruction sequence
group number
error
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.)
Withdrawn
Application number
JP4049067A
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 JP4049067A priority Critical patent/JPH05250202A/en
Publication of JPH05250202A publication Critical patent/JPH05250202A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To easily search for the fault of a device to be tested when an error is detected by applying a start-small test method which starts its operation at first with a combination of a small number of instructions and then gradually increases the subject instructions. CONSTITUTION:A tested device 1 is connected to an information processor 2 and consists of a test instruction train generating means 5 including a test execution pass time timer 3 and an instruction group number pointer 4, a test instruction train executing means 7 including a simulator 6, an error detecting means 8 to detect error, an error information output means 9 which outputs the detected error information to the outside, and a storage part 10 which stores the information on all test subject instructions. Then the device 1 divides all test subject instructions into (n) groups to add the group numbers into the information on these instructions and selects a test subject instruction among those instructions having the group numbers following the group number (i) shown by a pointer. Then '1' is added to the number of the number (i) stored in the pointer at each fixed time for generation of a new test instruction train.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は情報処理装置の試験装置
に関し、特に複数個の命令を乱数により組み合わせて生
成した試験命令列を実行し試験を行う情報処理装置の試
験装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test apparatus for an information processing apparatus, and more particularly to a test apparatus for an information processing apparatus for executing a test by executing a test instruction sequence generated by combining a plurality of instructions with random numbers.

【0002】[0002]

【従来の技術】従来の情報処理装置の試験装置は、全試
験対象命令の情報を保持し、この全試験対象命令の中か
ら試験命令列生成手段が擬似乱数列に従って命令を逐次
選択して試験命令列を生成し、被試験装置に印加すると
共に、シミュレータで命令動作を模擬し、試験命令列生
成手段の生成した試験命令列の被試験装置での実行結果
と、シミュレータによるシミュレート結果とをエラー検
出手段で比較しエラーの検出を行うようになっていた。
2. Description of the Related Art A conventional tester for an information processing apparatus holds information on all test target instructions, and a test command sequence generating means sequentially selects a test from all the test target instructions according to a pseudo random number sequence for testing. The instruction sequence is generated and applied to the device under test, the simulator simulates the instruction operation, and the test instruction sequence generated by the test instruction sequence generation means is executed by the device under test and the simulation result by the simulator. The error was detected by comparing with the error detecting means.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の情報処
理装置の試験装置は、試験命令列の生成時に全試験対象
命令の中から複数個の命令を乱数により組み合わせて試
験命令列を生成し、実行する方法で実施しているため、
試験命令列を構成する命令は全試験対象命令が対象とな
り、最初は少数の命令の組合せから始まり、次第に対象
命令を増加させていくというスタートスモールの試験方
法ではないので、最も悪い状態を想定すると、エラーが
検出された時の試験命令列に含まれるすべての試験命令
で動作が不正となっている可能性があり、被試験装置の
障害探索に困難をきたすことがあるという問題点があ
る。
The above-described conventional information processing apparatus testing apparatus generates a test instruction sequence by combining a plurality of instructions from all test target instructions by random numbers when generating the test instruction sequence, Because it is carried out by the method to execute,
The instructions that make up the test instruction sequence are all test target instructions.First, it is not a start small test method that starts with a combination of a small number of instructions and gradually increases the target instructions, so assuming the worst condition However, there is a problem in that all the test instructions included in the test instruction sequence when the error is detected may be illegal in operation, which may make it difficult to search for a failure in the device under test.

【0004】本発明の目的は、最初は少数の命令の組合
せから始まり、次第に対象命令を増加させていくという
スタートスモールの試験方法を可能とし、エラーの検出
時に被試験装置の障害探索の容易な情報処理装置の試験
装置を提供することにある。
An object of the present invention is to enable a start small test method in which a combination of a small number of instructions is first started and the number of target instructions is gradually increased, and it is easy to search for a fault in a device under test when an error is detected. It is to provide a test device for an information processing device.

【0005】[0005]

【課題を解決するための手段】本発明の情報処理装置の
試験装置は、予め記憶部に全試験対象命令の情報を保持
し、この全試験対象命令の中から試験命令列生成手段が
擬似乱数列に従って命令を逐次選択して試験命令列を生
成し、被試験装置に前記試験命令列を印加すると共にシ
ミュレータで命令動作を模擬し、前記試験命令列生成手
段の生成した試験命令列の被試験装置での実行結果と前
記シミュレータによるシミュレート結果とをエラー検出
手段で比較しエラーの検出を行う情報処理装置の試験装
置において、前記全試験対象命令をn個の群に分け、前
記全試験対象命令の情報中に各試験対象命令群ごとに異
なる1からnまでの群番号を附加し、前記試験命令列生
成手段に前記1からnまでの群番号の中の1つの群番号
iを保持するポインタおよび試験実行の経過時間を測る
タイマ機構を設けることにより、前記ポインタの示す群
番号i以下の群番号を持つ命令の中から試験対象命令を
選択して試験命令列の生成を行い、前記タイマ機構が予
め定める一定時間の経過ごとに前記ポインタに格納する
群番号iの値に1を加算し新たな試験命令列の生成を行
う構成である。
A test apparatus for an information processing apparatus according to the present invention holds information of all test target instructions in a storage unit in advance, and a test instruction sequence generating means selects pseudo random numbers from all the test target instructions. The test instruction sequence is sequentially selected according to the sequence to generate the test instruction sequence, the test instruction sequence is applied to the device under test, and the simulator simulates the instruction operation, and the test instruction sequence generated by the test instruction sequence generation means is tested. In a test apparatus of an information processing apparatus for detecting an error by comparing an execution result in the apparatus and a simulation result in the simulator with an error detecting means, all the test target instructions are divided into n groups, and all the test target are tested. A group number from 1 to n, which is different for each test target instruction group, is added to the instruction information, and one group number i among the group numbers 1 to n is held in the test instruction sequence generation means. Poi By providing a timer mechanism for measuring the elapsed time of the test and test execution, a test target instruction is selected from the instructions having a group number less than or equal to the group number i indicated by the pointer to generate a test instruction sequence, and the timer is generated. The configuration is such that a new test instruction sequence is generated by adding 1 to the value of the group number i stored in the pointer every time a predetermined time set by the mechanism elapses.

【0006】本発明の情報処理装置の試験装置は、予め
記憶部に全試験対象命令の情報を保持し、この全試験対
象命令の中から試験命令列生成手段が擬似乱数列に従っ
て命令を逐次選択して試験命令列を生成し、被試験装置
に前記試験命令列を印加すると共にシミュレータで命令
動作を模擬し、前記試験命令列生成手段の生成した試験
命令列の被試験装置での実行結果と前記シミュレータに
よるシミュレート結果とをエラー検出手段で比較しエラ
ーの検出を行う情報処理装置の試験装置において、前記
全試験対象命令をn個の群に分け、前記全試験対象命令
の情報中に各試験対象命令群ごとに異なる1からnまで
の群番号を附加し、前記試験命令列生成手段に前記1か
らnまでの群番号の中の1つの群番号iを保持するポイ
ンタおよび試験命令列の生成回数を計るカウンタ機構を
設けることにより、前記ポインタの示す群番号i以下の
群番号を持つ命令の中から試験対象命令を選択して試験
命令列の生成を行い、前記カウンタ機構が予め定める生
成回数を計数するごとに前記ポインタに格納する群番号
iの値に1を加算し新たな試験命令列の生成を行う構成
である。
The test apparatus of the information processing apparatus according to the present invention holds the information of all the test target instructions in the storage unit in advance, and the test instruction sequence generating means sequentially selects the instructions from the all test target instructions according to the pseudo random number sequence. To generate a test instruction sequence, apply the test instruction sequence to the device under test and simulate the instruction operation with a simulator, and execute the test instruction sequence generated by the test instruction sequence generation means on the device under test. In a test apparatus of an information processing apparatus that compares an error detection means with a simulation result by the simulator to detect an error, all the test target instructions are divided into n groups, and each of the test target instructions contains information on each test target. A group number from 1 to n, which is different for each test target instruction group, is added, and a pointer and a test instruction for holding one group number i among the group numbers from 1 to n in the test instruction sequence generation means. By providing a counter mechanism that counts the number of times a column is generated, a test target instruction is selected from instructions having a group number i or less indicated by the pointer to generate a test instruction sequence, and the counter mechanism preliminarily operates. Each time the predetermined number of generations is counted, 1 is added to the value of the group number i stored in the pointer to generate a new test instruction sequence.

【0007】本発明の情報処理装置の試験装置は、試験
命令列生成手段がエラー検出手段のエラー検出以後は必
ずエラー検出時の群番号である群番号iの命令を含めて
試験命令列の生成を行ってもよい。
In the test apparatus for the information processing apparatus of the present invention, the test instruction sequence generation means always generates the test instruction sequence including the instruction of the group number i which is the group number at the time of error detection after the error detection means detects the error. You may go.

【0008】本発明の情報処理装置の試験装置は、試験
命令列生成手段がエラー検出手段のエラー検出以後はエ
ラー検出時の群番号である群番号iの命令を除外して試
験命令列の生成を行ってもよい。
In the test apparatus for the information processing apparatus according to the present invention, the test instruction sequence generating means generates the test instruction sequence after excluding the instruction of the group number i which is the group number at the time of error detection after the error detection means detects the error. You may go.

【0009】[0009]

【実施例】次に、本発明の第1の実施例について図面を
参照して説明する。
Next, a first embodiment of the present invention will be described with reference to the drawings.

【0010】図1は本発明の第1の実施例のブロック図
である。
FIG. 1 is a block diagram of a first embodiment of the present invention.

【0011】本発明の試験装置1は、情報処理装置2に
接続し、試験実行経過時間タイマ3および命令群番号ポ
インタ4を有する試験命令列生成手段5と、シミュレー
タ6を有する試験命令列実行手段7と、エラーを検出す
るエラー検出手段8と、検出したエラー情報を外部に出
力するエラー情報出力手段9と、全試験対象命令の情報
を保持する記憶部10とを含んでいる。
The test apparatus 1 of the present invention is connected to the information processing apparatus 2 and has a test instruction sequence generation means 5 having a test execution elapsed time timer 3 and an instruction group number pointer 4, and a test instruction sequence execution means having a simulator 6. 7, an error detection unit 8 for detecting an error, an error information output unit 9 for outputting the detected error information to the outside, and a storage unit 10 for holding information of all test target instructions.

【0012】図2は本発明の試験装置の基本的動作を示
す流れ図である。以下名称および符号は図1のものを使
用して説明する。
FIG. 2 is a flow chart showing the basic operation of the test apparatus of the present invention. The names and reference numerals will be described below using those in FIG.

【0013】本発明の情報処理装置の試験装置1は、試
験を開始すると、ステップ(以下Sと記す)1で試験命
令列生成手段5が試験命令列を生成し、S2で試験命令
列実行手段7が情報処理装置2上およびシミュレータ6
上においてS1で生成した試験命令列を実行し、S3で
情報処理装置2上およびシミュレータ6上でそれぞれ実
行された同一試験命令列の実行結果を比較することによ
りエラー検出手段8がエラーの検出を行い、実行結果不
一致によりエラーが検出された場合はS4でエラー情報
出力手段9がエラー情報を出力してS1に戻り、S3で
エラーが発生していなければ即座にS1に戻り、以上の
処理の流れを1サイクルとし、オペレータによる実行停
止の指示があるまで以上の試験が繰り返し、試験命令列
をその都度擬似乱数により作り直しながら実行すること
で種々の命令の組み合わせによる被試験装置のエラー検
出を行う。また、試験実行経過時間タイマ3は“0”
に、命令群番号ポインタ4は“1”に、試験実行開始時
にすべて初期化しておき、試験実行経過時間タイマ4が
1時間を越える値を取った場合に一定時間経過と判断す
るものとする。
In the test apparatus 1 of the information processing apparatus of the present invention, when the test is started, the test instruction sequence generating means 5 generates a test instruction sequence in step (hereinafter referred to as S) 1 and the test instruction sequence executing means in S2. 7 is on the information processing device 2 and the simulator 6
The error detecting means 8 detects the error by executing the test instruction sequence generated in S1 and comparing the execution results of the same test instruction sequence executed on the information processing device 2 and the simulator 6 in S3. If an error is detected due to a mismatch in execution results, the error information output means 9 outputs the error information in S4 and returns to S1. If an error does not occur in S3, the process immediately returns to S1. The flow is set as one cycle, the above test is repeated until the operator gives an instruction to stop the execution, and the test instruction sequence is recreated by a pseudo-random number each time to be executed to detect the error of the device under test by the combination of various instructions. .. Also, the test execution elapsed time timer 3 is "0".
Further, the instruction group number pointer 4 is initialized to "1" at the start of the test execution, and when the test execution elapsed time timer 4 takes a value exceeding 1 hour, it is determined that the predetermined time has elapsed.

【0014】図3は本発明の第1の実施例の試験命令列
生成手段内の動作を示す流れ図である。
FIG. 3 is a flow chart showing the operation in the test instruction sequence generating means of the first embodiment of the present invention.

【0015】試験命令列生成手段5は、試験命令列生成
動作に入ると、S5で全試験対象命令追加が終了したか
否かを判別し、終了していなければ次にS6で試験実行
経過時間タイマ3を確認して試験実行経過時間が経過し
たか否かを判別し、経過していればS7で命令群番号ポ
インタ4を“1”歩進させ、S8で試験実行経過時間タ
イマ3を初期化し、次にS9で試験命令列の組み立て処
理を行う。又、先にS5で全試験対象命令追加が終了し
ていた場合およびS6で試験実行経過時間タイマ3が1
時間を経過していない場合は、即座にS9に飛び試験命
令列の組み立て処理を行う。
When the test instruction sequence generating means 5 enters the test instruction sequence generation operation, it determines in S5 whether or not the addition of all test target instructions has been completed. If not, then in S6 the test execution elapsed time is determined. The timer 3 is checked to determine whether or not the test execution elapsed time has elapsed. If it has elapsed, the instruction group number pointer 4 is incremented by "1" in S7, and the test execution elapsed time timer 3 is initialized in S8. Then, in S9, a test instruction sequence assembling process is performed. In addition, if the addition of all test target instructions has been completed in S5 and the test execution elapsed time timer 3 is set to 1
If the time has not passed, the process immediately jumps to S9 to assemble the test instruction sequence.

【0016】図4は図3内の試験命令列組み立て処理の
動作を示す流れ図である。
FIG. 4 is a flow chart showing the operation of the test instruction sequence assembling process in FIG.

【0017】試験命令列組み立て処理は、S10で擬似
乱数jを発生し、次にS11で今発生した群番号(試験
対象命令j)と命令群番号ポインタ4の値とを比較し大
小を判別する。ここで試験対象命令jの値が命令群番号
ポインタ4の値より大であれば再度S10で擬似乱数j
を発生する。又、試験対象命令jの値が命令群番号ポイ
ンタ4の値以下であれば、S12で試験対象命令jの命
令列組み込み処理を行い、次にS13で試験命令列組み
立てが終了したか否かを判別処理している。
In the test instruction sequence assembling process, a pseudo random number j is generated in S10, and then the group number (test target instruction j) that has just occurred is compared with the value of the instruction group number pointer 4 in S11 to determine the magnitude. .. If the value of the test target instruction j is larger than the value of the instruction group number pointer 4, the pseudo random number j is again determined in S10.
To occur. If the value of the test target instruction j is less than or equal to the value of the command group number pointer 4, the instruction string assembling process of the test target instruction j is performed in S12, and then it is determined in S13 whether the test instruction string assembly is completed. Discrimination processing is in progress.

【0018】図5は本発明の第1の実施例の記憶部10
に格納する全試験対象命令情報のデータの記憶形式図で
ある。
FIG. 5 shows the storage unit 10 according to the first embodiment of the present invention.
5 is a storage format diagram of data of all test target instruction information stored in FIG.

【0019】記憶部10内の全試験対象命令情報は、各
試験対象命令群に応じた群番号と、降順に付けられた命
令番号データと、オペレーションコード等の試験対象命
令個別情報とを有している。
All test target instruction information in the storage unit 10 has a group number corresponding to each test target instruction group, instruction number data added in descending order, and test target instruction individual information such as an operation code. ing.

【0020】次に、本発明の第1の実施例の動作につい
て、図1と図3と図4とを用いて詳細に説明する。特に
図番を示さないものは図1のものである。
Next, the operation of the first embodiment of the present invention will be described in detail with reference to FIGS. 1, 3 and 4. Those not shown in FIG. 1 are those in FIG.

【0021】試験装置1における試験開始後、先ず、試
験命令列生成処理手段5では、全試験対象命令追加終了
判別処理(図3:S5)により、実行中の試験が全試験
対象命令を試験命令列生成に使用しているかどうかの判
別を行う。このとき命令群番号ポインタ4の初期値は
“1”であるため、全試験対象命令追加未終了と判別
し、試験実行経過時間判別処理(図3:S6)を行う。
この試験実行経過時間判別処理では、試験実行経過時間
タイマ3が1時間以上の値になっていないため、未経過
と判別し、命令群番号ポインタ歩進処理(図3:S7)
の実行を回避し、試験命令列組み立て処理(図3:S
9)を実行する。この試験命令列組み立て処理では、擬
似乱数j発生処理(図4:S10)により擬似乱数jを
発生させ、擬似乱数jを対応付けることにより試験命令
列に使用する命令jを選別し、群番号(試験対象命令
j)と命令群番号ポインタ比較判別処理(図4:S1
1)により選別された命令jが命令群番号ポインタ4に
格納されている値以下の群番号を持つ命令かどうかを判
別する。命令jが命令群番号ポインタ4に格納されてい
る値より大きい群番号を有する命令であり、試験命令列
生成において使用不可能と判別された場合は、再度擬似
乱数j発生処理(図4:S10)により擬似乱数を発生
させ、一方、命令jが命令群番号ポインタ4に格納され
ている値以下の群番号を有する命令であり、試験命令列
生成(図3:S5〜S9)において使用可能と判別され
た場合は、試験対象命令jの命令列組み込み処理(図
4:S12)により試験命令列に命令jを組み込み、続
いて試験命令列組み立て終了判別処理(図4:S13)
による試験命令列組み立て終了の判別を行う。この試験
命令列組み立て終了判別処理による判別の結果、試験命
令列組み立てが終了していない場合は、再度擬似乱数j
発生処理(図4:S10)に戻り、試験命令列組み立て
終了と判別した場合は、試験命令列組み立て処理(図
3:S9)を終了し、試験命令列生成手段5の実行を終
了する。生成した試験命令列は、試験命令列実行手段7
が実行し、エラー検出手段8がエラー発生有無の判別を
行う。以上の試験命令列生成手段5、試験命令列実行手
段7およびエラー検出手段8の実行は、繰り返し、試験
実行経過時間タイマ3が1時間を越える値になるまで行
われる。連続実行の結果、試験実行が1時間を越え、試
験実行経過時間タイマ3が1時間を越えた場合、試験実
行経過時間判別処理(図3:S6)での判別によって、
命令群番号ポインタ歩進処理(図3:S7)の実行が選
別され、命令群番号ポインタ4の値を“1”から“2”
に歩進する。 命令群番号ポインタ4の更新により、以
降の試験命令列生成において更新後の命令群番号ポイン
タ4の値以下の試験対象命令が使用されるようになり、
試験対象命令の追加が行われる。
After the test is started in the test apparatus 1, first, the test instruction sequence generation processing means 5 executes the test instruction for all the test target instructions by the test being executed by the all test target instruction addition end determination processing (FIG. 3: S5). Determine whether it is used for column generation. At this time, since the initial value of the instruction group number pointer 4 is "1", it is determined that the addition of all test target instructions has not been completed, and the test execution elapsed time determination processing (FIG. 3: S6) is performed.
In this test execution elapsed time determination processing, since the test execution elapsed time timer 3 has not reached a value of 1 hour or more, it is determined that the test execution elapsed time timer 3 has not elapsed, and the instruction group number pointer stepping processing (FIG. 3: S7).
Of the test instruction sequence (FIG. 3: S
Execute 9). In this test instruction sequence assembling process, a pseudo random number j is generated by the pseudo random number j generation process (FIG. 4: S10), and the pseudo random number j is associated to select the instruction j to be used for the test instruction sequence, and the group number (test Target instruction j) and instruction group number pointer comparison / discrimination processing (FIG. 4: S1
It is determined whether the instruction j selected in 1) is an instruction having a group number equal to or less than the value stored in the instruction group number pointer 4. When the instruction j is an instruction having a group number larger than the value stored in the instruction group number pointer 4 and it is determined that the test instruction sequence cannot be used, the pseudo random number j generation process (FIG. 4: S10) is performed again. ), The instruction j is an instruction having a group number equal to or less than the value stored in the instruction group number pointer 4, and can be used in test instruction sequence generation (FIG. 3: S5 to S9). If determined, the instruction j is incorporated into the test instruction sequence by the instruction sequence incorporation process of the test target instruction j (FIG. 4: S12), and subsequently the test instruction sequence assembly end determination process (FIG. 4: S13).
Is used to determine the end of test instruction sequence assembly. As a result of the determination by the test instruction sequence assembly completion determination process, if the test instruction sequence assembly is not completed, the pseudo random number j is again generated.
Returning to the generation process (FIG. 4: S10), when it is determined that the test instruction sequence assembly is completed, the test instruction sequence assembly process (FIG. 3: S9) is completed and the execution of the test instruction sequence generation means 5 is completed. The generated test instruction sequence is used as the test instruction sequence execution means 7
The error detection means 8 determines whether or not an error has occurred. The test instruction sequence generation means 5, the test instruction sequence execution means 7, and the error detection means 8 are repeatedly executed until the test execution elapsed time timer 3 reaches a value exceeding 1 hour. As a result of continuous execution, if the test execution exceeds 1 hour and the test execution elapsed time timer 3 exceeds 1 hour, the test execution elapsed time determination process (FIG. 3: S6) determines that
Execution of the instruction group number pointer stepping process (FIG. 3: S7) is selected, and the value of the instruction group number pointer 4 is changed from “1” to “2”.
Advance to. By updating the instruction group number pointer 4, the test target instruction whose value is equal to or less than the updated value of the instruction group number pointer 4 is used in the subsequent test instruction sequence generation,
Instructions to be tested are added.

【0022】命令群番号ポインタ歩進処理(図3:S
7)による命令群番号ポインタ4の更新後、試験実行経
過時間タイマ初期化処理(図3:S8)により試験実行
経過時間タイマ3の値は初期化され、再度試験の連続実
行が1時間を越えるまで群番号2以下の試験対象命令を
試験命令列生成に使用し、試験命令列組み立て処理(図
3:S9)による試験命令列生成を行う。
Instruction group number pointer stepping process (FIG. 3: S
After the instruction group number pointer 4 is updated by 7), the value of the test execution elapsed time timer 3 is initialized by the test execution elapsed time timer initialization processing (FIG. 3: S8), and the continuous execution of the test again exceeds 1 hour. The test target instructions having the group number 2 or less are used to generate the test instruction sequence, and the test instruction sequence is generated by the test instruction sequence assembling process (FIG. 3: S9).

【0023】以降の試験の実行も、上記の通り、一定時
間経過後の命令群番号ポインタ歩進処理(図3:S7)
による試験対象命令追加、試験実行経過時間タイマ初期
化処理(図3:S8)による試験実行経過時間タイマ3
の初期化を行いながら行われる。なお、上記処理の繰り
返しによって、命令群番号ポインタ4に格納する値が
“n”まで更新され、全試験対象命令が試験命令列生成
に使用されるようになった後は、全試験対象命令追加終
了判別処理(図3:S5)による判別によって、これ以
上の試験対象命令の追加を行わず、オペレータによる実
行中断の指示が行われるまで、全試験対象命令を試験命
令列に使用して試験を継続実行する。
Also in the execution of the subsequent tests, as described above, the instruction group number pointer stepping process after the elapse of a certain time (FIG. 3: S7).
Test target elapsed time timer 3 by test target instruction addition and test execution elapsed time timer initialization process (FIG. 3: S8)
Is performed while initializing. By repeating the above processing, the value stored in the instruction group number pointer 4 is updated to "n", and after all the test target instructions are used for generating the test instruction sequence, all test target instructions are added. According to the determination by the end determination process (FIG. 3: S5), all the test target instructions are used for the test instruction sequence until the operator gives an instruction to suspend the execution without further adding the test target instruction, and the test is performed. Continue to run.

【0024】次に本発明の第2の実施例について図面を
参照して説明する。但し、前述の本発明の第1の実施例
と比較すると試験実行経過時間タイマを試験命令列実行
回数カウンタに変更したことによる処理が異なるだけで
あるので、相違点についてのみ説明する。
Next, a second embodiment of the present invention will be described with reference to the drawings. However, as compared with the above-described first embodiment of the present invention, only the processing by changing the test execution elapsed time timer to the test instruction string execution frequency counter is different, and therefore only the differences will be described.

【0025】図6は本発明の第2の実施例のブロック図
である。
FIG. 6 is a block diagram of the second embodiment of the present invention.

【0026】本発明の試験装置11は、情報処理装置2
に接続し、試験命令列実行回数カウンタ13および命令
群番号ポインタ4を有する試験命令列生成手段15と、
シミュレータ6を有する試験命令列実行手段7と、エラ
ーを検出するエラー検出手段8と、検出したエラー情報
を外部に出力するエラー情報出力手段9と、全試験対象
命令の情報を保持する記憶部10とを含んでいる。
The test apparatus 11 of the present invention is the information processing apparatus 2
And a test instruction sequence generation means 15 having a test instruction sequence execution counter 13 and an instruction group number pointer 4.
A test instruction sequence execution means 7 having a simulator 6, an error detection means 8 for detecting an error, an error information output means 9 for outputting the detected error information to the outside, and a storage section 10 for holding information of all test target instructions. Includes and.

【0027】また、試験命令列実行回数カウンタ13は
“0”に、命令群番号ポインタ4は“1”に、試験実行
開始時にすべて初期化するものとする。
It is also assumed that the test instruction sequence execution count counter 13 is initialized to "0", the instruction group number pointer 4 is initialized to "1", and all are initialized at the start of the test execution.

【0028】図7は本発明の第2の実施例の試験命令列
生成手段内の動作を示す流れ図である。
FIG. 7 is a flow chart showing the operation in the test instruction sequence generating means of the second embodiment of the present invention.

【0029】試験命令列生成手段15は、試験命令列生
成動作に入ると、S21で全試験対象命令追加が終了し
たか否かを判別し、終了していなければ次にS22で試
験命令列実行回数カウンタ13を確認して試験命令列実
行回数が予め定める回数を超過したか否かを判別し、超
過していればS23で命令群番号ポインタ4を“1”歩
進させ、S24で試験命令列実行回数カウンタ13を初
期化し、次にS25で試験命令列の組み立て処理を行
い、S26で試験命令列実行回数カウンタ13の値に
“1”を加えて更新する。又、先にS21で全試験対象
命令追加が終了していた場合およびS22で試験命令列
実行回数カウンタ13が試験命令列実行回数が予め定め
る回数を超過していない場合は、即座にS25に飛び試
験命令列の組み立て処理を行い、S26で試験命令列実
行回数カウンタ13の値に“1”を加えて更新する。
When the test instruction sequence generation operation is started, the test instruction sequence generation means 15 determines in S21 whether or not the addition of all test target instructions has been completed, and if not completed, next executes the test instruction sequence in S22. The number-of-times counter 13 is checked to determine whether or not the number of executions of the test instruction sequence has exceeded a predetermined number. If the number has been exceeded, the instruction group number pointer 4 is incremented by "1" in S23, and the test instruction is issued in S24. The column execution frequency counter 13 is initialized, then the test instruction sequence is assembled in S25, and the value of the test instruction sequence execution frequency counter 13 is updated by adding "1" in S26. If all test target instruction additions have been completed in S21 and the test instruction sequence execution count counter 13 does not exceed the predetermined number of test instruction sequence executions in S22, the process immediately jumps to S25. The test instruction sequence is assembled, and the value of the test instruction sequence execution counter 13 is updated by adding "1" in S26.

【0030】次に、本発明の第2の実施例の動作につい
て、図6および図7とを用いて詳細に説明する。特に図
番を示さないものは図6のものである。
Next, the operation of the second embodiment of the present invention will be described in detail with reference to FIGS. 6 and 7. Those not shown in FIG. 6 are those in FIG.

【0031】試験装置11における試験開始後、先ず、
試験命令列生成手段5では、全試験対象命令追加終了判
別処理(図7:S21)により、実行中の試験が全試験
対象命令を試験命令列生成に使用しているかどうかの判
別を行う。このとき命令群番号ポインタ4の初期値は
“1”であるため、全試験対象命令追加未終了と判別
し、試験命令列実行回数判別処理(図7:S22)を行
う。この試験命令列実行回数カウンタ13の初期値
“0”により、未超過と判別し、命令群番号ポインタ歩
進処理(図7:S23)の実行を回避し、試験命令列組
み立て処理(図7:S25)により全試験対象命令中群
番号1以下の試験対象命令のみを乱数により組み合わせ
て試験命令列を生成する。試験命令列生成後は試験命令
列実行回数カウンタ更新処理(図7:S26)により試
験命令列実行回数カウンタ13を歩進し、その後試験命
令列を試験命令列実行手段7が実行し、エラー検出手段
8によりエラー発生の有無を判別する。以上説明したよ
うに、第1の実施例と異なるのは、試験対象命令追加を
行う契機となるのが試験実行経過時間ではなく試験命令
列生成および実行の回数である、ということのみであ
る。
After starting the test in the test apparatus 11, first,
The test instruction sequence generation means 5 determines whether or not the test being executed uses all the test target instructions for the test instruction sequence generation by the all test target instruction addition end determination process (FIG. 7: S21). At this time, since the initial value of the instruction group number pointer 4 is "1", it is determined that the addition of all the test target instructions has not been completed, and the test instruction string execution count determination process (FIG. 7: S22) is performed. Based on the initial value “0” of the test instruction string execution count counter 13, it is determined that the test instruction string is not exceeded, the execution of the instruction group number pointer stepping process (FIG. 7: S23) is avoided, and the test instruction string assembling process (FIG. 7: In S25), only the test target instructions of group number 1 or less among all the test target instructions are combined by random numbers to generate the test instruction sequence. After the test instruction sequence is generated, the test instruction sequence execution counter is incremented by the test instruction sequence execution counter updating process (FIG. 7: S26), and then the test instruction sequence execution means 7 executes the test instruction sequence to detect an error. The means 8 determines whether or not an error has occurred. As described above, the only difference from the first embodiment is that the trigger for adding a test target instruction is not the test execution elapsed time but the number of test instruction sequence generations and executions.

【0032】続いて、第3の実施例について図面を参照
して説明する。但し、本実施例の骨子は第1および第2
の実施例に示す構成内で、エラー検出時に検出の直前に
追加された試験対象命令を試験命令列に必ず追加する処
理を付加したことにあるので、説明は第1の実施例に対
して適用した場合の相違点に重点を置いて説明する。
Next, a third embodiment will be described with reference to the drawings. However, the main points of this embodiment are the first and second
In the configuration shown in the second embodiment, the processing for adding the test target instruction added immediately before the detection at the time of error detection to the test instruction sequence is added. Therefore, the description applies to the first embodiment. The explanation will focus on the differences between the cases.

【0033】図8は本発明の第3の実施例のブロック図
である。
FIG. 8 is a block diagram of the third embodiment of the present invention.

【0034】本発明の試験装置21は、情報処理装置2
に接続し、試験命令列実行回数カウンタ3および命令群
番号ポインタ4に加えて、エラー検出手段がエラーを検
出するとフラグを立てるためのエラー検出フラグ26を
有する試験命令列生成手段25と、シミュレータ6を有
する試験命令列実行手段7と、エラーを検出するエラー
検出手段8と、検出したエラー情報を外部に出力するエ
ラー情報出力手段9と、全試験対象命令の情報を保持す
る記憶部10とを含んでいる。
The test apparatus 21 of the present invention is the information processing apparatus 2
Connected to the test instruction string execution number counter 3 and the instruction group number pointer 4, and a test instruction string generating means 25 having an error detection flag 26 for raising a flag when the error detecting means detects an error, and the simulator 6. A test instruction sequence executing means 7, an error detecting means 8 for detecting an error, an error information outputting means 9 for outputting the detected error information to the outside, and a storage section 10 for holding information of all test target instructions. Contains.

【0035】図9は本発明の第3の実施例の試験命令列
生成手段内の動作を示す流れ図である。
FIG. 9 is a flow chart showing the operation in the test instruction sequence generating means of the third embodiment of the present invention.

【0036】試験命令列生成手段25は、試験命令列生
成動作に入ると、S31で全試験対象命令追加が終了し
たか否かを判別し、終了していなければ次にS32でエ
ラー検出フラグ26を確認し、エラーを検出したか否か
を判別し、未検出であれば次にS33で試験実行経過時
間タイマ3を確認して試験実行経過時間が経過したか否
かを判別し、経過していればS34で命令群番号ポイン
タ4を“1”歩進させ、S35で試験実行経過時間タイ
マ3を初期化し、次にS36で試験命令列の組み立て処
理を行い、続いてS37でエラー検出フラグ26を確認
し、エラーを検出したか否かを判別し、エラーを検出し
ていればS38で以後の試験対象命令列生成処理で先に
S36で組み立てに使用した群番号iの命令を必ず含め
て試験命令列を生成するよう試験対象命令挿入処理を行
う。又、先にS31で全試験対象命令追加が終了してい
たと判別したか、S32でエラー検出フラグ26を確認
してエラーを検出したと判別したか、S33で試験実行
経過時間タイマ3が試験実行経過時間を経過していない
と判別した場合には、即座にS36に飛び試験命令列の
組み立て処理を行う。
When the test instruction sequence generating means 25 starts the test instruction sequence generation operation, it determines in S31 whether or not the addition of all the test target instructions has been completed. If not, then in S32 the error detection flag 26 is detected. Is checked to determine whether an error has been detected. If not detected, the test execution elapsed time timer 3 is checked in S33 to determine whether the test execution elapsed time has elapsed. If so, the instruction group number pointer 4 is incremented by “1” in S34, the test execution elapsed time timer 3 is initialized in S35, the test instruction sequence is assembled in S36, and then the error detection flag is generated in S37. 26, it is determined whether or not an error is detected, and if an error is detected, the instruction of the group number i used for assembly in S36 in the subsequent test target instruction sequence generation processing is always included in S38. Test instruction sequence The test subject instruction insertion process to perform. In addition, whether it is determined in S31 that the addition of all test target instructions has been completed first, or whether it is determined in S32 that an error has been detected by checking the error detection flag 26, the test execution elapsed time timer 3 executes the test execution in S33. If it is determined that the elapsed time has not elapsed, the process immediately jumps to S36 and the test instruction sequence assembling process is performed.

【0037】このように構成することにより、試験装置
に特別な計時機構が不要となるため、安価に試験装置を
構成できるという効果がある。
With this configuration, the test device does not require a special time-measuring mechanism, and thus the test device can be constructed at low cost.

【0038】次に、本発明の第3の実施例の動作につい
て、図8と図9とを用いて詳細に説明する。特に図番を
示さないものは図8のものである。
Next, the operation of the third embodiment of the present invention will be described in detail with reference to FIGS. 8 and 9. Those not shown in FIG. 8 are those in FIG.

【0039】なお、試験命令列生成手段25では、試験
実行経過時間タイマ3を“0”に、命令群番号ポインタ
4を“1”に、それぞれ試験実行開始時にすべて初期化
しておき、試験実行経過時間判別処理(図9:S33)
では、試験実行経過時間タイマ3が1時間を越える値を
取った場合に一定時間経過と判断するものとする。
In the test instruction sequence generation means 25, the test execution elapsed time timer 3 is set to "0", the instruction group number pointer 4 is set to "1", and all are initialized at the start of the test execution. Time discrimination processing (FIG. 9: S33)
Then, when the test execution elapsed time timer 3 takes a value exceeding 1 hour, it is determined that a predetermined time has elapsed.

【0040】試験装置21における試験開始後、先ず、
試験命令列生成処理手段25では、全試験対象命令追加
終了判別処理(図9:S31)により、実行中の試験が
全試験対象命令を試験命令列生成に使用しているかどう
かの判別を行う。このとき命令群番号ポインタ4の初期
値は“1”であるため、全試験対象命令追加未終了と判
別し、次にエラー検出判別処理(図9:S32)を行
う。試験実行の最初でありエラーは未だ検出されていな
いので、エラー検出フラグ26は“エラー未検出”状態
のままであり、判別は未検出となり、次いで試験実行経
過時間判別処理(図9:S33)を行い、試験実行経過
時間タイマ3が1時間を越えていないため、未経過と判
別し、命令群番号ポインタ歩進処理(図9:S34)の
実行を回避し、試験命令列組み立て処理(図9:S3
6)により全試験対象命令中群番号1までの試験対象命
令のみを乱数により組み合わせて試験命令列を生成す
る。試験命令列生成後、再度エラー検出判別処理(図
9:S37)を実行し、先の場合と同様エラー検出フラ
グ26が“エラー未検出”状態のままであれば、試験対
象命令挿入処理(図9:S38)の実行を回避する。
After starting the test in the test apparatus 21, first,
The test instruction sequence generation processing means 25 determines whether or not the test being executed uses all the test target instructions for the test instruction sequence generation by the all test target instruction addition end determination process (FIG. 9: S31). At this time, since the initial value of the instruction group number pointer 4 is "1", it is determined that the addition of all test target instructions has not been completed, and then the error detection determination process (FIG. 9: S32) is performed. Since the test execution is started and no error has been detected yet, the error detection flag 26 remains in the “error undetected” state, the judgment is not detected, and the test execution elapsed time judgment process (FIG. 9: S33). Since the test execution elapsed time timer 3 has not exceeded 1 hour, it is determined that the test execution elapsed time timer 3 has not elapsed, the execution of the instruction group number pointer stepping process (FIG. 9: S34) is avoided, and the test instruction sequence assembling process (FIG. 9: S3
According to 6), only the test target instructions up to the group number 1 of all the test target instructions are combined by the random number to generate the test instruction sequence. After the test instruction sequence is generated, the error detection determination process (FIG. 9: S37) is executed again, and if the error detection flag 26 remains in the “error undetected” state as in the previous case, the test target instruction insertion process (FIG. 9: The execution of S38) is avoided.

【0041】なお、生成した試験命令列は、エラー検出
判別処理(図9:S37)の後試験命令列実行手段7が
実行し、エラー検出手段8がエラー発生有無の判別を行
う。以上の試験命令列生成手段25と、試験命令列実行
手段7およびエラー検出手段8の実行は、繰り返し実施
され、試験実行経過時間タイマ3が1時間を越えるか、
もしくはエラー検出手段8によりエラーを検出するまで
行われる。
The generated test instruction sequence is executed by the test instruction sequence execution means 7 after the error detection determination process (FIG. 9: S37), and the error detection means 8 determines whether or not an error has occurred. The test instruction sequence generation means 25, the test instruction sequence execution means 7 and the error detection means 8 are repeatedly executed, and the test execution elapsed time timer 3 exceeds 1 hour.
Alternatively, the process is performed until the error is detected by the error detecting means 8.

【0042】連続実行の結果、エラー未検出のまま試験
実行が1時間を越え、試験実行経過時間タイマ3が1時
間を越えた場合は、以後の動作が上記の処理の流れと同
一の処理となるので、説明を省略し、命令群番号ポイン
タ4が値“i”をとっている時にエラー検出手段8でエ
ラーを検出した場合について以下に説明する。
As a result of the continuous execution, when the test execution exceeds 1 hour while the error is not detected and the test execution elapsed time timer 3 exceeds 1 hour, the subsequent operation is the same as the above processing flow. Therefore, the description will be omitted, and the case where the error detecting means 8 detects an error when the instruction group number pointer 4 is taking the value "i" will be described below.

【0043】エラー検出手段8によるエラー検出時には
試験命令列生成手段25内のエラー検出フラグ26を
“エラー検出”状態に設定し、エラー情報出力手段9の
実行後、再度試験命令列生成手段25を実行する。試験
命令列実行手段25内では、先ず、全試験対象命令追加
終了判別処理(図9:S31)により全試験命令が試験
命令列生成に使用されているかどうかの判別を行い、こ
の場合、エラー検出時の命令群番号ポインタ4の値は
“i”であるため未終了と判別し、次いでエラー検出判
別処理(図9:S32)を実行する。ここでは、エラー
検出手段8でエラーを検出しエラー検出フラグ26を
“エラー検出”状態に設定した後の実行であるから、こ
こでの判別は先の処理とは異なり検出と判別し、それ以
上の命令群番号ポインタ歩進処理(図9:S34)で命
令群番号ポインタ4を歩進させての試験対象命令の追加
は行われず、それまでの群番号i以下の試験対象命令を
使用して試験命令列組み立てを行う。試験命令列組み立
て処理(図9:S36)による試験命令列組み立て後、
再度エラー検出判別処理(図9:S37)を実行し、こ
こでの判別もエラー検出となり、試験対象命令挿入処理
(図9:S38)を実行することになり、命令群番号ポ
インタ4が示す群番号iの試験対象命令を、試験命令列
組み立て処理(図9:S36)の組み立てる試験命令列
に挿入する。
When an error is detected by the error detection means 8, the error detection flag 26 in the test instruction sequence generation means 25 is set to the "error detection" state, and after the error information output means 9 is executed, the test instruction sequence generation means 25 is restarted. Run. In the test instruction sequence execution means 25, first, it is determined whether or not all the test instructions are used to generate the test instruction sequence by the all test target instruction addition end determination process (FIG. 9: S31), and in this case, an error is detected. Since the value of the instruction group number pointer 4 at that time is "i", it is determined that the instruction has not ended, and then the error detection determination process (FIG. 9: S32) is executed. Here, since the execution is performed after the error is detected by the error detection means 8 and the error detection flag 26 is set to the "error detection" state, the determination here is different from the previous processing and is determined to be the detection, and further In the instruction group number pointer stepping process (Fig. 9: S34), the instruction group number pointer 4 is not stepped to add the test target instruction, and the test target instruction up to the group number i up to that point is used. Assemble the test instruction sequence. After assembling the test instruction sequence by the test instruction sequence assembling process (FIG. 9: S36),
The error detection determination process (FIG. 9: S37) is executed again, the determination here also becomes an error detection, and the test target instruction insertion process (FIG. 9: S38) is executed, and the group indicated by the instruction group number pointer 4 is executed. The test target instruction of number i is inserted into the test instruction sequence to be assembled in the test instruction sequence assembly process (FIG. 9: S36).

【0044】試験対象命令挿入処理(図9:S38)に
よる試験命令の挿入は、命令群番号i中の命令を順々
に、生成した試験命令列の中に追加することにより行
う。以降の処理は、すべてエラー検出判別処理(図9:
S37)によるエラー検出の判別により、群番号i以降
の試験対象命令の追加は行われず、必ず群番号iの試験
対象命令を含む試験命令列を実行することによる試験実
行を継続し、試験命令列生成を繰り返すことにより命令
群番号i中の全命令を試験命令列に含ませる。なお、試
験の実行を、オペレータによる実行中断の指示が行われ
るまで継続するのは他の実施例と同様である。
The test instruction insertion by the test target instruction insertion process (FIG. 9: S38) is performed by sequentially adding the instructions in the instruction group number i to the generated test instruction sequence. All the subsequent processing is error detection determination processing (FIG. 9:
By the determination of the error detection in S37), the test target instruction after the group number i is not added, and the test execution sequence by always executing the test instruction sequence including the test target instruction of the group number i is continued. By repeating the generation, all the instructions in the instruction group number i are included in the test instruction sequence. Note that the execution of the test is continued until the operator gives an instruction to interrupt the execution, as in the other embodiments.

【0045】また、エラー検出が例えば命令群番号ポイ
ンタ4が値“n”をとっている時に行われた場合も、前
述の実施例における群番号iの試験対象命令が群番号n
の試験対象命令に替るだけで他の動作は同様である。
Also, when the error detection is performed, for example, when the instruction group number pointer 4 is taking the value "n", the instruction to be tested of the group number i in the above-mentioned embodiment is the group number n.
Other operations are the same except that the instruction to be tested is replaced.

【0046】このように構成することにより、エラー検
出後の試験実行においてその直前に試験命令として追加
された命令を繰り返し試験する手段を採ることにより、
どのような命令の組み合わせにおいてエラーが発生する
のか、種々の条件での試験対象命令の実施を可能とし、
よりエラーの解析を容易にするという効果がある。
With this configuration, by adopting a means for repeatedly testing the instruction added immediately before that in the test execution after the error detection,
It is possible to execute the test target instruction under various conditions as to what kind of instruction combination causes the error.
This has the effect of facilitating error analysis.

【0047】なお、これまでの説明は、第1の実施例に
対して適用した場合について行っているが、第2の実施
例に対しても適用可能であり、動作もほとんど同一であ
るので、冗長を避けるため説明を省略する。
Although the above description is applied to the first embodiment, it can be applied to the second embodiment and the operation is almost the same. Description is omitted to avoid redundancy.

【0048】最後に、本発明の第4の実施例について図
面を参照して説明する。 但し、既に説明した本発明の
第3の実施例とは、エラー検出時およびエラー検出以降
の処理が異なるだけであるので、その相違点に重点をお
いて説明する。
Finally, a fourth embodiment of the present invention will be described with reference to the drawings. However, since only the processing at the time of error detection and the processing after the error detection is different from the third embodiment of the present invention which has already been described, the explanation will be given with an emphasis on the difference.

【0049】図10は本発明の第4の実施例のブロック
図である。
FIG. 10 is a block diagram of the fourth embodiment of the present invention.

【0050】本発明の試験装置31は、情報処理装置2
に接続し、試験命令列実行回数カウンタ3および命令群
番号ポインタ4に加えて、エラー検出手段がエラーを検
出するとフラグを立てるためのエラー検出フラグ26を
有する試験命令列生成手段35と、シミュレータ6を有
する試験命令列実行手段7と、エラーを検出するエラー
検出手段8と、検出したエラー情報を外部に出力するエ
ラー情報出力手段9と、全試験対象命令の情報を保持す
る記憶部10とを含んでいる。
The test apparatus 31 of the present invention is the information processing apparatus 2
Connected to the test instruction string execution number counter 3 and the instruction group number pointer 4, and a test instruction string generating means 35 having an error detection flag 26 for raising a flag when the error detecting means detects an error, and the simulator 6. A test instruction sequence executing means 7, an error detecting means 8 for detecting an error, an error information outputting means 9 for outputting the detected error information to the outside, and a storage section 10 for holding information of all test target instructions. Contains.

【0051】図11は本発明の第4の実施例の試験命令
列生成処理内の動作を示す流れ図である。
FIG. 11 is a flow chart showing the operation in the test instruction sequence generation processing of the fourth embodiment of the present invention.

【0052】試験命令列生成手段35は、試験命令列生
成動作に入ると、S41で全試験対象命令追加が終了し
たか否かを判別し、終了していなければ次にS42でエ
ラー検出フラグ26を確認し、エラーを検出したか否か
を判別し、検出であれば次にS43で試験対象命令削除
処理を行い、S44で試験実行経過時間タイマ3を初期
化し、次にS45で試験実行経過時間タイマ3を確認し
て試験実行経過時間が経過したか否かを判別し、経過し
ていればS46で命令群番号ポインタ4を“1”歩進さ
せ、S47で試験実行経過時間タイマ3を初期化し、次
にS48で試験命令列の組み立て処理を行う。又、先に
S41で全試験対象命令追加が終了していたと判別した
か、S45で試験実行経過時間タイマ3が試験実行経過
時間を経過していないと判別した場合には、即座にS4
8に飛び試験命令列の組み立て処理を行う。又、S42
でエラー検出フラグ26を確認してエラーは未検出と判
別した場合には、即座にS45に飛び試験実行経過時間
タイマ3を確認して試験実行経過時間が経過したか否か
を判別する。以後の動作は既に説明してあるので省略す
る。
When the test instruction sequence generation means 35 starts the test instruction sequence generation operation, it determines whether or not the addition of all the test target instructions has been completed in S41, and if not completed, then the error detection flag 26 in S42. Is checked, it is determined whether or not an error is detected, and if detected, the test target instruction deletion processing is performed in S43, the test execution elapsed time timer 3 is initialized in S44, and the test execution progress is performed in S45. The time timer 3 is checked to determine whether or not the test execution elapsed time has elapsed. If the test execution elapsed time has elapsed, the instruction group number pointer 4 is incremented by "1" in S46, and the test execution elapsed time timer 3 is set in S47. Initialization is carried out, and then a test instruction sequence assembling process is performed in S48. If it is determined in S41 that the addition of all test target instructions has been completed, or if it is determined in S45 that the test execution elapsed time timer 3 has not elapsed the test execution elapsed time, immediately S4 is executed.
Step 8 is executed to assemble the test instruction sequence. Also, S42
If the error detection flag 26 is checked and it is determined that no error is detected, the process immediately jumps to S45 to check the test execution elapsed time timer 3 to determine whether the test execution elapsed time has elapsed. The subsequent operation has already been described, and will be omitted.

【0053】図12は本発明の第4の実施例の試験命令
列組み立て処理内の動作を示す流れ図である。
FIG. 12 is a flow chart showing the operation in the test instruction sequence assembling process of the fourth embodiment of the present invention.

【0054】試験命令列組み立て処理は、S51で擬似
乱数jを発生し、次にS52で今発生した群番号(試験
対象命令j)と命令群番号ポインタ4の値とを比較し大
小を判別する。ここで試験対象命令jの群番号が命令群
番号ポインタ4の値より大であれば再度S51で擬似乱
数jを発生する。又、試験対象命令jの群番号が命令群
番号ポインタ4の値以下であれば、S53で後述する記
憶部10に格納するデータ内の実行可能フラグを確認し
試験対象命令jの値が群番号として選択可能か否かを判
別し、選択可能であればS54で試験対象命令jの命令
列組み込み処理を行い、次にS55で試験命令列組み立
てが終了したか否かを判別処理している。
In the test instruction sequence assembling process, a pseudo random number j is generated in S51, and then the group number (test target instruction j) that has just occurred is compared with the value of the instruction group number pointer 4 in S52 to determine the magnitude. .. If the group number of the test target instruction j is larger than the value of the instruction group number pointer 4, the pseudo random number j is generated again in S51. If the group number of the test target instruction j is less than or equal to the value of the command group number pointer 4, the executable flag in the data stored in the storage unit 10 described later is confirmed in S53, and the value of the test target instruction j is the group number. Is selected. If it is selectable, an instruction sequence assembling process of the test target instruction j is performed in S54, and then it is determined in S55 whether the test instruction sequence assembly is completed.

【0055】図13は本発明の第4の実施例の記憶部1
0に格納する全試験対象命令情報のデータの記憶形式図
である。
FIG. 13 shows a storage unit 1 according to the fourth embodiment of the present invention.
3 is a storage format diagram of data of all test target instruction information stored in 0. FIG.

【0056】記憶部10内の全試験対象命令情報は、各
試験対象命令群に応じた群番号と、群番号ごとの選択の
可能性を示す実行可能フラグと、降順に付けられた命令
番号データと、オペレーションコード等の試験対象命令
個別情報とを有している。
All test target instruction information in the storage unit 10 includes a group number corresponding to each test target instruction group, an executable flag indicating a possibility of selection for each group number, and instruction number data added in descending order. And the test target instruction individual information such as an operation code.

【0057】次に、本発明の第4の実施例の動作につい
て、図10ないし図12を用いて詳細に説明する。特に
図番を示さないものは図10のものである。
Next, the operation of the fourth embodiment of the present invention will be described in detail with reference to FIGS. Those not shown in FIG. 10 are those in FIG.

【0058】なお、試験命令列生成手段35では、試験
実行経過時間タイマ3を“0”に、命令群番号ポインタ
4を“1”に、エラー検出フラグ26は“エラー未検
出”状態に、記憶部10内の全試験対象命令情報の実行
可能フラグは“実行可能”状態にそれぞれ試験実行開始
時にすべて初期化しておき、試験実行経過時間判別処理
(図11:S45)では試験実行経過時間タイマ3が1
時間を越える値を取った場合に一定時間経過と判断する
ものとする。
In the test instruction sequence generation means 35, the test execution elapsed time timer 3 is set to "0", the instruction group number pointer 4 is set to "1", and the error detection flag 26 is set to "error not detected" state. The executability flags of all test target instruction information in the unit 10 are all initialized to "executable" at the start of test execution, and the test execution elapsed time timer 3 is used in the test execution elapsed time determination process (FIG. 11: S45). Is 1
If a value exceeding the time is taken, it is judged that a certain time has passed.

【0059】試験装置31における試験開始後、先ず、
試験命令列生成処理手段35では、全試験対象命令追加
終了判別処理(図11:S41)により、実行中の試験
が全試験対象命令を試験命令列生成に使用しているかど
うかの判別を行う。このとき命令群番号ポインタ4の初
期値は“1”であるため、全試験対象命令追加未終了と
判別し、次にエラー検出判別処理(図11:S42)を
行う。試験実行の最初でありエラーは未だ検出されてい
ないので、エラー検出フラグ26は“エラー未検出”状
態のままであり、判別は未検出となり、試験対象命令削
除処理(図11:S43)の実行を回避し、次いで試験
実行経過時間判別処理(図11:S45)を行い、試験
実行経過時間タイマ3が1時間を越えていないため、未
経過と判別し、命令群番号ポインタ歩進処理(図11:
S46)の実行を回避し、試験命令列組み立て処理(図
11:S48)により全試験対象命令中群番号1までの
試験対象命令のみを乱数により組み合わせて試験命令列
を生成する。
After starting the test in the test apparatus 31, first,
The test instruction sequence generation processing unit 35 determines whether or not the test being executed uses all the test target instructions for the test instruction sequence generation by the all test target instruction addition end determination process (FIG. 11: S41). At this time, since the initial value of the instruction group number pointer 4 is "1", it is determined that the addition of all test target instructions has not been completed, and then the error detection determination process (FIG. 11: S42) is performed. Since the test execution is started and no error has been detected yet, the error detection flag 26 remains in the “error undetected” state, the determination becomes undetected, and the test target instruction deletion process (FIG. 11: S43) is executed. Then, the test execution elapsed time determination process (FIG. 11: S45) is performed. Since the test execution elapsed time timer 3 has not exceeded 1 hour, it is determined that the test execution elapsed time timer 3 has not elapsed, and the instruction group number pointer stepping process (FIG. 11:
By avoiding the execution of S46), the test instruction sequence assembling process (FIG. 11: S48) is used to generate a test instruction sequence by combining only the test subject instructions up to the group number 1 of all the test subject instructions with random numbers.

【0060】試験命令列組み立て処理(図11:S4
8)の詳細は、図12に示すように、擬似乱数j発生処
理(図12:S51)により擬似乱数jを発生させ、擬
似乱数jを対応付けることにより試験命令列に使用する
命令jを選別し、群番号(試験対象命令j)と命令群番
号ポインタ比較判別処理(図12:S52)により選別
した命令jが命令群番号ポインタ4の値以下の群番号を
持つ命令かどうかを判別し、命令jが命令群番号ポイン
タ4の値より大きい群番号を有する命令であり試験命令
列生成において使用不可能と判別された場合は、再度擬
似乱数j発生処理(図12:S51)により擬似乱数を
発生させ、一方、命令jが命令群番号ポインタ4の値以
下の群番号を有する命令であり、試験命令列生成におい
て使用可能と判別された場合は、次に、実行可能フラグ
(群番号(試験対象命令j))判別処理(図12:S5
3)により命令jが含まれている群番号に対応した実行
可能フラグが“実行可能”状態かどうかを判別する。こ
の結果、実行可能フラグが“実行不可能”を示し、該当
の群番号の命令が試験命令列生成において選択不可と判
別された場合は、再度擬似乱数j発生処理(図12:S
51)により擬似乱数を発生させることになるが、現時
点での実行可能フラグは“実行可能”状態を示し、試験
命令列生成において選択可能であるため、試験対象命令
jの命令列組み込み処理(図12:S54)により試験
命令列に命令jを組み込み、試験命令列組み立て終了判
別処理(図12:S55)による試験命令列組み立て終
了の判別を行う。判別の結果、試験命令列組み立てが終
了していない場合は、再度擬似乱数j発生処理(図1
2:S51)に戻り、試験命令列組み立て終了と判別し
た場合は、試験命令列組み立て処理(図11:S48)
を終了することで試験命令列生成手段35の実行を終了
し、生成した試験命令列は、試験命令列実行手段7が実
行し、続いてエラー検出手段8によるエラー発生有無の
判別が行われる。
Test instruction string assembly processing (FIG. 11: S4
For details of 8), as shown in FIG. 12, a pseudo random number j is generated by the pseudo random number j generation process (FIG. 12: S51), and the pseudo random number j is associated with the instruction j to be used for the test instruction sequence. , The group number (test target instruction j) and the instruction group number pointer comparison / discrimination processing (FIG. 12: S52) determine whether the instruction j selected is an instruction having a group number less than or equal to the value of the instruction group number pointer 4, When j is an instruction having a group number larger than the value of the instruction group number pointer 4 and it is determined that the test instruction sequence cannot be used, a pseudo random number j is generated again by the pseudo random number j generation process (FIG. 12: S51). On the other hand, if the instruction j is an instruction having a group number less than or equal to the value of the instruction group number pointer 4 and it is determined that the instruction can be used in the test instruction sequence generation, the executable flag (group number (test pair Instruction j)) determination process (FIG. 12: S5
By 3), it is determined whether the executable flag corresponding to the group number including the instruction j is in the "executable" state. As a result, when the executability flag indicates "unexecutable" and it is determined that the instruction of the corresponding group number cannot be selected in the test instruction sequence generation, the pseudo random number j generation process (FIG. 12: S) is performed again.
51), a pseudo-random number will be generated, but the executable flag at this point indicates the “executable” state and can be selected in the generation of the test instruction sequence, so the instruction sequence incorporation processing of the test target instruction j (see FIG. 12: S54), the instruction j is incorporated into the test instruction sequence, and the test instruction sequence assembly end determination process (FIG. 12: S55) is performed to determine the end of the test instruction sequence assembly. As a result of the discrimination, if the assembly of the test instruction sequence is not completed, the pseudo random number j generation process (see FIG.
2: S51) and if it is determined that the test instruction sequence assembly is completed, the test instruction sequence assembly process (FIG. 11: S48).
The test instruction sequence generation means 35 terminates the execution of the test instruction sequence generation means 35, the test instruction sequence execution means 7 executes the generated test instruction sequence, and the error detection means 8 subsequently determines whether or not an error has occurred.

【0061】以上説明した試験命令列生成手段35と試
験命令列実行手段7およびエラー検出手段8との実行
は、繰り返し、試験実行経過時間タイマ3が1時間を越
える値になるか、もしくはエラー検出手段8によりエラ
ーが検出されるまで行われる。
The execution of the test instruction sequence generation means 35, the test instruction sequence execution means 7 and the error detection means 8 described above is repeated, and the test execution elapsed time timer 3 has a value exceeding 1 hour, or an error is detected. This is carried out until the error is detected by the means 8.

【0062】連続実行の結果、エラー未検出のまま試験
実行が1時間を経過し、試験実行経過時間タイマ3が1
時間を計測した場合は、上記の処理の流れと同一の処理
となるので、命令群番号ポインタ4の値が“i−1”を
とっている時にエラー検出手段8によりエラーが検出さ
れた場合について以下に説明する。
As a result of the continuous execution, the test execution has passed one hour with no error detected, and the test execution elapsed time timer 3 is set to 1
When the time is measured, the processing is the same as the above-described processing flow. Therefore, in the case where the error detection means 8 detects an error while the value of the instruction group number pointer 4 is "i-1". This will be described below.

【0063】エラー検出手段8によるエラー検出時には
試験命令列生成手段35内のエラー検出フラグ26が
“エラー検出”状態に設定され、エラー情報出力手段9
の実行後、再度試験命令列生成手段35を実行する。試
験命令列実行手段35内では、先ず、全試験対象命令追
加終了判別処理(図11:S41)により全試験命令が
試験命令列生成に使用されているかどうかの判別を行
い、この場合エラー検出により命令群番号ポインタ4の
値は“i−1”であるため、次いでエラー検出判別処理
(図11:S42)が実行される。先のエラー検出手段
8でエラーを検出しエラー検出フラグ26が“エラー検
出”状態に設定された後の実行であるから、ここでの判
別は先の処理とは異なり検出と判別し、試験対象命令削
除処理(図11:S43)が実行される。
When the error detection means 8 detects an error, the error detection flag 26 in the test instruction sequence generation means 35 is set to the "error detection" state, and the error information output means 9
After execution of, the test instruction sequence generating means 35 is executed again. In the test instruction sequence execution means 35, first, it is determined whether or not all the test instructions are used to generate the test instruction sequence by the all test target instruction addition end determination process (FIG. 11: S41), and in this case, an error is detected. Since the value of the instruction group number pointer 4 is "i-1", the error detection determination process (FIG. 11: S42) is then executed. Since the execution is performed after the error is detected by the error detection means 8 and the error detection flag 26 is set to the "error detection" state, the determination here is different from the previous processing and is determined as the detection, and the test target Instruction deletion processing (FIG. 11: S43) is executed.

【0064】試験対象命令削除処理(図11:S43)
では、命令群番号ポインタ4の示す群番号i−1の全試
験対象命令情報内実行可能フラグを“実行不可能”状態
に設定し、更に命令群番号ポインタ4の値をiに歩進処
理した後、エラー検出フラグ26を“エラー未検出”状
態に設定し、次いで試験実行経過時間タイマ初期化処理
(図11:S44)により試験実行経過時間タイマ3を
“0”に初期設定し直す。試験実行経過時間タイマ3の
初期化の結果、続く試験実行経過時間判別処理(図1
1:S45)による判別は未経過となり、群番号i以前
の試験対象命令の、但し全試験対象命令情報内の実行可
能フラグが“実行可能”状態に設定されている試験対象
命令を使用して、試験命令列組み立て処理(図11:S
48)による試験命令列組み立てが行われる。全試験対
象命令情報中実行可能フラグが“実行不可能”状態に設
定されている試験対象命令を使用しない、ということを
除けば、以降の処理もすべて同様に行われる。なお、命
令群番号ポインタ4が“n”になり、全試験対象命令情
報中実行可能フラグが“実行不可能”状態となっている
命令を除く全試験対象命令が試験の対象として使用さ
れ、以降の試験実行がオペレータによる実行中断の指示
が行われるまで継続されるのは先の実施例と同じであ
る。
Test target instruction deletion processing (FIG. 11: S43)
Then, the executable flag in all test target instruction information of the group number i-1 indicated by the instruction group number pointer 4 is set to the "unexecutable" state, and the value of the instruction group number pointer 4 is stepped to i. After that, the error detection flag 26 is set to the “error not detected” state, and then the test execution elapsed time timer 3 is initialized to “0” again by the test execution elapsed time timer initialization processing (FIG. 11: S44). As a result of the initialization of the test execution elapsed time timer 3, subsequent test execution elapsed time determination processing (see FIG.
1: The determination by S45) has not been completed and the test target instruction of the group number i or before, but the test target instruction whose executable flag in all the test target instruction information is set to the “executable” state is used. , Test instruction sequence assembly processing (FIG. 11: S
The test instruction sequence is assembled according to 48). All the subsequent processing is performed in the same manner except that the test target instruction whose executable flag in all the test target instruction information is set to the “unexecutable” state is not used. Note that all the test target instructions are used as the test target except for the commands whose instruction group number pointer 4 is "n" and the executable flag in the all test target instruction information is in the "unexecutable" state. As in the previous embodiment, the test execution is continued until the operator gives an instruction to suspend the execution.

【0065】このように構成することにより、エラー検
出時にはその直前に試験命令として追加された命令を以
降の試験で使用しないようガードする手段を採ることに
より、全試験対象命令中のエラー原因となる要因のある
命令を全て検出することを可能とし、また試験をオペレ
ータ不在で連続実行することを可能とするという効果が
ある。
With this configuration, when an error is detected, a measure is added to guard the instruction added immediately before that as a test instruction so that it will not be used in the subsequent tests, which causes an error in all the instructions to be tested. There is an effect that it is possible to detect all the instructions having a factor, and it is possible to continuously execute the test without an operator.

【0066】[0066]

【発明の効果】以上説明したように、本発明は、全試験
対象命令をn個の群に分け、全試験対象命令の情報中に
各試験対象命令群ごとに異なる1からnまでの群番号を
附加し、試験命令列生成手段に1からnまでの群番号の
中の1つの群番号iを保持するポインタと、試験実行の
経過時間を測るタイマ機構および試験命令列の生成回数
を計るカウンタ機構の少くともいずれか一方を設け、ポ
インタの示す群番号i以下の群番号を持つ命令の中から
試験対象命令を選択して試験命令列の生成を行い、前記
タイマ機構が予め定める一定時間の経過ごと、あるいは
カウンタ機構が予め定める生成回数を計数するごとに、
ポインタに格納する群番号iの値に1を加算し新たな試
験命令列の生成を行うことにより、最初は少数の命令の
組合せから始まり、次第に対象命令を増加させていくと
いうスタートスモールの試験方法を可能とし、エラーの
検出時に被試験装置の障害探索の容易になるという効果
が有る。
As described above, according to the present invention, all test target instructions are divided into n groups, and the group number from 1 to n which is different for each test target instruction group in the information of all test target instructions. Is added to the test instruction sequence generation means, a pointer for holding one group number i out of the group numbers 1 to n, a timer mechanism for measuring the elapsed time of the test execution, and a counter for measuring the number of times the test instruction sequence is generated. At least one of the mechanisms is provided, the test target instruction is selected from the instructions having the group number i or less indicated by the pointer to generate the test instruction sequence, and the timer mechanism is used for a predetermined time. Each time it passes, or every time the counter mechanism counts a predetermined number of generations,
A start small test method in which 1 is added to the value of the group number i stored in the pointer to generate a new test instruction sequence, starting from a combination of a small number of instructions and gradually increasing the number of target instructions. This makes it possible to easily search for a fault in the device under test when an error is detected.

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

【図1】本発明の第1の実施例のブロック図である。FIG. 1 is a block diagram of a first embodiment of the present invention.

【図2】本発明の試験装置の基本的動作を示す流れ図で
ある。
FIG. 2 is a flow chart showing the basic operation of the test apparatus of the present invention.

【図3】本発明の第1の実施例の試験命令列生成手段内
の動作を示す流れ図である。
FIG. 3 is a flow chart showing an operation in the test instruction sequence generating means of the first exemplary embodiment of the present invention.

【図4】図3内の試験命令列組み立て処理の動作を示す
流れ図である。
FIG. 4 is a flow chart showing an operation of a test instruction sequence assembling process in FIG.

【図5】本発明の第1の実施例の記憶部10に格納する
全試験対象命令情報のデータの記憶形式図である。
FIG. 5 is a storage format diagram of data of all test target instruction information stored in the storage unit 10 according to the first embodiment of this invention.

【図6】本発明の第2の実施例のブロック図である。FIG. 6 is a block diagram of a second embodiment of the present invention.

【図7】本発明の第2の実施例の試験命令列生成手段内
の動作を示す流れ図である。
FIG. 7 is a flow chart showing an operation in the test instruction sequence generating means of the second exemplary embodiment of the present invention.

【図8】本発明の第3の実施例のブロック図である。FIG. 8 is a block diagram of a third embodiment of the present invention.

【図9】本発明の第3の実施例の試験命令列生成手段内
の動作を示す流れ図である。
FIG. 9 is a flowchart showing the operation in the test instruction sequence generating means of the third exemplary embodiment of the present invention.

【図10】本発明の第4の実施例のブロック図である。FIG. 10 is a block diagram of a fourth embodiment of the present invention.

【図11】本発明の第4の実施例の試験命令列生成処理
内の動作を示す流れ図である。
FIG. 11 is a flowchart showing an operation in a test instruction sequence generating process according to the fourth embodiment of the present invention.

【図12】本発明の第4の実施例の試験命令列組み立て
処理内の動作を示す流れ図である。
FIG. 12 is a flowchart showing an operation in a test instruction sequence assembling process according to the fourth embodiment of the present invention.

【図13】本発明の第4の実施例の記憶部10に格納す
る全試験対象命令情報のデータの記憶形式図である。
FIG. 13 is a storage format diagram of data of all test target instruction information stored in the storage unit 10 according to the fourth embodiment of the present invention.

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

1,11,21,31 試験装置 2 情報処理装置 3 試験実行経過時間タイマ 4 命令群番号ポインタ 5,15,25,35 試験命令列生成手段 6 シミュレータ 7 試験命令列実行手段 8 エラー検出手段 9 エラー情報出力手段 10 記憶部 13 試験命令列実行回数カウンタ 26 エラー検出フラグ 1, 11, 21, 31 Test apparatus 2 Information processing apparatus 3 Test execution elapsed time timer 4 Instruction group number pointer 5, 15, 25, 35 Test instruction sequence generation means 6 Simulator 7 Test instruction sequence execution means 8 Error detection means 9 Error Information output means 10 Storage unit 13 Test instruction string execution count counter 26 Error detection flag

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 予め記憶部に全試験対象命令の情報を保
持し、この全試験対象命令の中から試験命令列生成手段
が擬似乱数列に従って命令を逐次選択して試験命令列を
生成し、被試験装置に前記試験命令列を印加すると共に
シミュレータで命令動作を模擬し、前記試験命令列生成
手段の生成した試験命令列の被試験装置での実行結果と
前記シミュレータによるシミュレート結果とをエラー検
出手段で比較しエラーの検出を行う情報処理装置の試験
装置において、前記全試験対象命令をn個の群に分け、
前記全試験対象命令の情報中に各試験対象命令群ごとに
異なる1からnまでの群番号を附加し、前記試験命令列
生成手段に前記1からnまでの群番号の中の1つの群番
号iを保持するポインタおよび試験実行の経過時間を測
るタイマ機構を設けることにより、前記ポインタの示す
群番号i以下の群番号を持つ命令の中から試験対象命令
を選択して試験命令列の生成を行い、前記タイマ機構が
予め定める一定時間の経過ごとに前記ポインタに格納す
る群番号iの値に1を加算し新たな試験命令列の生成を
行うことを特徴とする情報処理装置の試験装置。
1. Information of all test target instructions is held in a storage unit in advance, and a test instruction sequence generation unit sequentially selects an instruction according to a pseudo random number sequence from among all the test target instructions to generate a test instruction sequence, Applying the test instruction sequence to the device under test and simulating the instruction operation by the simulator, and making an error between the execution result of the test instruction sequence generated by the test instruction sequence generation means in the device under test and the simulation result by the simulator. In a test device of an information processing device for comparing with a detection means to detect an error, all the test target instructions are divided into n groups,
A group number from 1 to n, which is different for each test target instruction group, is added to the information of all the test target instructions, and one group number among the group numbers 1 to n is added to the test instruction sequence generation means. By providing a pointer holding i and a timer mechanism for measuring the elapsed time of the test execution, the test target instruction is selected from the instructions having the group number less than or equal to the group number i indicated by the pointer to generate the test instruction sequence. A test apparatus for an information processing apparatus, wherein the test mechanism performs a new test instruction sequence by adding 1 to the value of the group number i stored in the pointer every time a predetermined time has elapsed.
【請求項2】 予め記憶部に全試験対象命令の情報を保
持し、この全試験対象命令の中から試験命令列生成手段
が擬似乱数列に従って命令を逐次選択して試験命令列を
生成し、被試験装置に前記試験命令列を印加すると共に
シミュレータで命令動作を模擬し、前記試験命令列生成
手段の生成した試験命令列の被試験装置での実行結果と
前記シミュレータによるシミュレート結果とをエラー検
出手段で比較しエラーの検出を行う情報処理装置の試験
装置において、前記全試験対象命令をn個の群に分け、
前記全試験対象命令の情報中に各試験対象命令群ごとに
異なる1からnまでの群番号を附加し、前記試験命令列
生成手段に前記1からnまでの群番号の中の1つの群番
号iを保持するポインタおよび試験命令列の生成回数を
計るカウンタ機構を設けることにより、前記ポインタの
示す群番号i以下の群番号を持つ命令の中から試験対象
命令を選択して試験命令列の生成を行い、前記カウンタ
機構が予め定める生成回数を計数するごとに前記ポイン
タに格納する群番号iの値に1を加算し新たな試験命令
列の生成を行うことを特徴とする情報処理装置の試験装
置。
2. The information of all the test target instructions is held in a storage unit in advance, and the test instruction sequence generating means sequentially selects the instructions according to the pseudo random number sequence from the all test target instructions to generate the test instruction sequence, Applying the test instruction sequence to the device under test and simulating the instruction operation by the simulator, and making an error between the execution result of the test instruction sequence generated by the test instruction sequence generation means in the device under test and the simulation result by the simulator. In a test device of an information processing device for comparing with a detection means to detect an error, all the test target instructions are divided into n groups,
A group number from 1 to n, which is different for each test target instruction group, is added to the information of all the test target instructions, and one group number among the group numbers 1 to n is added to the test instruction sequence generation means. By providing a pointer that holds i and a counter mechanism that counts the number of times the test instruction sequence is generated, a test target instruction is selected from the instructions having a group number equal to or smaller than the group number i indicated by the pointer to generate a test instruction sequence. And a new test instruction sequence is generated by adding 1 to the value of the group number i stored in the pointer every time the counter mechanism counts a predetermined number of generations. apparatus.
【請求項3】 試験命令列生成手段がエラー検出手段の
エラー検出以後は必ずエラー検出時の群番号である群番
号iの命令を含めて試験命令列の生成を行うことを特徴
とする請求項1および2記載の情報処理装置の試験装
置。
3. The test instruction sequence generation means always generates the test instruction sequence including the instruction of the group number i which is the group number at the time of error detection after the error detection means detects the error. A test apparatus for the information processing apparatus according to 1 or 2.
【請求項4】 試験命令列生成手段がエラー検出手段の
エラー検出以後はエラー検出時の群番号である群番号i
の命令を除外して試験命令列の生成を行うことを特徴と
する請求項1および2記載の情報処理装置の試験装置。
4. A group number i which is a group number when an error is detected by the test instruction sequence generation means after the error is detected by the error detection means.
The test apparatus for an information processing apparatus according to claim 1 or 2, wherein the test instruction sequence is generated by excluding the instruction of.
JP4049067A 1992-03-06 1992-03-06 Test device for information processor Withdrawn JPH05250202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4049067A JPH05250202A (en) 1992-03-06 1992-03-06 Test device for information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4049067A JPH05250202A (en) 1992-03-06 1992-03-06 Test device for information processor

Publications (1)

Publication Number Publication Date
JPH05250202A true JPH05250202A (en) 1993-09-28

Family

ID=12820739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4049067A Withdrawn JPH05250202A (en) 1992-03-06 1992-03-06 Test device for information processor

Country Status (1)

Country Link
JP (1) JPH05250202A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012023185A1 (en) * 2010-08-18 2012-02-23 富士通株式会社 Test method, processing unit, test program, method of generating test program, test program generating device, and test program generating program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012023185A1 (en) * 2010-08-18 2012-02-23 富士通株式会社 Test method, processing unit, test program, method of generating test program, test program generating device, and test program generating program
JP5549734B2 (en) * 2010-08-18 2014-07-16 富士通株式会社 Test method, arithmetic processing device, test program, test program generation method, test program generation device, and test program generation program

Similar Documents

Publication Publication Date Title
US5548718A (en) Method and system for determining software reliability
US8090565B2 (en) System and method for using model analysis to generate directed test vectors
CA2276494C (en) Method and apparatus for correcting errors in computer systems
US9348731B2 (en) Tracing the execution path of a computer program
KR101034409B1 (en) Determining an actual amount of time a processor consumes in executing a portion of code
US7441235B2 (en) Method, apparatus and program for testing control program
US20200167159A1 (en) Processor testing
US8533679B2 (en) Method and apparatus for inserting faults to test code paths
Hong et al. The impact of concurrent coverage metrics on testing effectiveness
JPH05250202A (en) Test device for information processor
US6671873B2 (en) Problematic binary isolator
US5533195A (en) Testing tool for diagnosing defective computer system devices
US6564162B1 (en) Method and apparatus for improving electrical verification throughput via comparison of operating-point differentiated test results
KR100267762B1 (en) Software test system
CN112527571A (en) CPU instruction set coverage rate calculation method and device
JP2003207542A (en) Electronic test system
JP5181699B2 (en) Computer test method, program, and information processing apparatus
JP3206575B2 (en) Fault test apparatus, fault test method, and recording medium recording fault test method
JPS62122000A (en) Memory element
JP2001051864A (en) Test conducting system for data processor
JP3317336B2 (en) Instruction combination test method and recording medium
CN116541291A (en) Simulation debugging method, device, equipment and storage medium
JPH04102931A (en) Testing system for information processor
JPH09265412A (en) Computer system and method for verifying system error processing
Kansomkeat et al. Analysis for class-component testability.

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990518