A memory test circuit according to an embodiment of the invention executes
a test on a memory in accordance with a pattern mode signal designating a
sub-test pattern included in a test pattern and including a plurality of
test actions for the memory, and stores the pattern mode signal as
failure information in a failure information storage register. The
circuit includes a storage determining circuit determining whether or not
to store the failure information in a failure information storage
register based on preset failure information storage method information.