v3: Reverted redundant changes in v2, fixed two script issues.
I am trying to port the test case to min_artiq.py
, and I don't know how to port this specific statement:
@nac3
class TTLInOut:
// ...
def __init__(self, dmgr, channel,…
The need for suppressing output is because this will happen:
$ ./check_demo.sh src/dead_code_issue118.py
Checking src/dead_code_issue118.py... warning: dead code at Location { row: 3,…
v2: Rebased against master, added flags for redirecting/suppressing output, added forking of demo execution.
v4: Output IRRT into irrt.bc
, fix run_demo_lli
emitting LLVM IR instead of bitcode.
I just found it to be intuitive that if you are removing the object files, then the output executable should also be removed.
If the test failed, the files won't be deleted anyways because the script will exit after running diff
, so it doesn't matter.
@sb10q Could you take a look at the "Thing to consider" section of the PR and let me know your view on this?
v3: Merged IRRT bitcode into main.bc
, clean up temporary files after execution.