riscv-software-src / riscof

BSD 3-Clause "New" or "Revised" License
63 stars 40 forks source link

No timeout when running tests #118

Open rtwfroody opened 1 month ago

rtwfroody commented 1 month ago

I'm writing a test, running it against spike. Spike has been running for an hour without being interrupted. There should be a timeout that catches this kind of case, and ideally gives some kind of information about what was happening.

After I killed spike, I did get:

   ERROR | Process Killed.
   ERROR | Command did not exit within 300 seconds: Command 'make -k -j1 -f /home/tnewsome/projects/riscv/riscof/riscof_work/Makefile.DUT-spike TARGET0' timed out after 300 seconds
rtwfroody commented 1 month ago

And after I killed spike again, the final result told me that my test passed.