From 000a8184976bf670958c6464a83e77e5c8fcc397 Mon Sep 17 00:00:00 2001 From: jackkoenig Date: Tue, 26 Apr 2016 16:23:01 -0700 Subject: Make simulations that time out fail when run in firrtlTests --- src/test/resources/top.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/test/resources/top.cpp') 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; -- cgit v1.2.3