Actions
Bug #5679
closedBug in test data generation
Start date:
03/03/2015
Due date:
% Done:
100%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
150529
Description
If there are dependent instructions, e.g.
add a, b, c @ normal sub d, a, e @ overflow
the generator produces incorrect initialization code: it does not track dependencies between instructions and handles each instruction independently from the others.
The correct implementation should work as follows:
for each instruction of the test sequence do get the test situation of the instruction get the input values defined by the previous instructions fix those values in the test situation solve the restricted constraint and assign the rest of the parameters mark them as 'defined' simulate the instruction and produce the output values mark them as 'defined' (if there was no exception, etc.) end for each defined parameter do add the initialization code for the parameter end
Updated by Alexander Kamkin over 9 years ago
- Subject changed from [generator] Bug in test data generation to Bug in test data generation
- Category set to Test Engine
Updated by Alexander Kamkin over 9 years ago
- Target version changed from 2.1 to 2.2
Updated by Andrei Tatarnikov over 9 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Updated by Andrei Tatarnikov over 9 years ago
Updated by Andrei Tatarnikov over 9 years ago
Example demonstrating how it works: http://forge.ispras.ru/projects/microtesk/repository/changes/trunk/microtesk/src/main/arch/minimips/templates/dependencies.rb
Updated by Andrei Tatarnikov over 9 years ago
- Status changed from Resolved to Closed
- Published in build set to 150529
Actions