From cfcfd3b75ed968970154c2490ff35a8630756dc5 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Thu, 22 Oct 2020 00:20:40 -0700 Subject: [PATCH] Add diag strings for some tests to help debug --- tests/simulator/timing/test/testcase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/simulator/timing/test/testcase.cpp b/tests/simulator/timing/test/testcase.cpp index 5b5a4da3..f3e62ffe 100644 --- a/tests/simulator/timing/test/testcase.cpp +++ b/tests/simulator/timing/test/testcase.cpp @@ -48,9 +48,9 @@ class SimulatorTiming : public VirtualDeviceTest { TEST_F(SimulatorTiming, SimulatorStart) { // Time doesn't advance in the simulator until after the first cycle runs - ASSERT_EQ(Kaleidoscope.millisAtCycleStart(), t_0); + ASSERT_EQ(Kaleidoscope.millisAtCycleStart(), t_0) << "Clock is at 0 ms before we do anything"; RunCycle(); - ASSERT_EQ(Kaleidoscope.millisAtCycleStart(), t_1); + ASSERT_EQ(Kaleidoscope.millisAtCycleStart(), t_1) << "Clock is at 1 ms after the first cycle"; } TEST_F(SimulatorTiming, TimeElapses) {