matthewbdwyer / tipc

A compiler from TIP to llvm bitcode
MIT License
65 stars 39 forks source link

Fix system tests hanging when AST visualizer test fails #99

Closed tinzh closed 3 months ago

tinzh commented 12 months ago

Currently, the system tests hang if the AST visualizer output is different than expected, since the wrong bash variable ($differences) is given to cat. This causes cat to run with no arguments and wait for input. This PR changes it to the right bash variable, $diffed_graph, to make failing tests not cause the tests to hang and output the right debug output.