Print out random seed if test fails
This commit is contained in:
parent
fcbbb275aa
commit
7f23257873
@ -139,7 +139,7 @@ int main(int argc, char** argv)
|
|||||||
|
|
||||||
if (htif->exit_code())
|
if (htif->exit_code())
|
||||||
{
|
{
|
||||||
fprintf(stderr, "*** FAILED *** (code = %d) after %lld cycles\n", htif->exit_code(), (long long)trace_count);
|
fprintf(stderr, "*** FAILED *** (code = %d, seed %d) after %lld cycles\n", htif->exit_code(), random_seed, (long long)trace_count);
|
||||||
ret = htif->exit_code();
|
ret = htif->exit_code();
|
||||||
}
|
}
|
||||||
else if (trace_count == max_cycles)
|
else if (trace_count == max_cycles)
|
||||||
|
Loading…
Reference in New Issue
Block a user