diff options
| author | jackkoenig | 2016-04-26 16:23:01 -0700 |
|---|---|---|
| committer | jackkoenig | 2016-05-03 16:56:52 -0700 |
| commit | 000a8184976bf670958c6464a83e77e5c8fcc397 (patch) | |
| tree | 507ea6d2dbebe170eeb98f02b35d51fdc53989f3 /src/test | |
| parent | e7195a2e1f38a4732c6acf0c22b2d1b0bfecaddd (diff) | |
Make simulations that time out fail when run in firrtlTests
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/resources/top.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/resources/top.cpp b/src/test/resources/top.cpp index f7671052..8fef5e00 100644 --- a/src/test/resources/top.cpp +++ b/src/test/resources/top.cpp @@ -57,9 +57,8 @@ int main(int argc, char** argv) { } if (main_time >= timeout) { - cout << "Simulation terminated by timeout at time " << main_time << + cout << "Assertion failed! Simulation terminated by timeout at time " << main_time << " (cycle " << main_time / 10 << ")"<< endl; - return -1; } else { cout << "Simulation completed at time " << main_time << " (cycle " << main_time / 10 << ")"<< endl; |
