Skip to content

Commit eceb59e

Browse files
committed
test code for vcs is updated
1 parent 2656dd2 commit eceb59e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/simulation/simulator/vcs/test_simulation_simulator_vcs.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,14 @@ def test():
221221
if which('vcs'):
222222
sim = simulation.Simulator(test_module, sim='vcs')
223223
rslt = sim.run()
224+
225+
new_rslt = []
226+
for line in rslt.split('\n'):
227+
if line.count('LED:') > 0:
228+
new_rslt.append(line)
229+
new_rslt.append('')
230+
rslt = '\n'.join(new_rslt)
231+
224232
assert(expected_rslt == rslt)
225233

226234
else:

0 commit comments

Comments
 (0)