Closed makslevental closed 1 month ago
Hey @newling can I delete "smoke test" as well? I think we have a good handle on those flags now?
This test was initially created check that flags like aie2xclbin-print-ir-before-all
were working, but those flags are now basically not relevant so I'm ok with the test being removed (although it seems to be testing more now than it did when I initially created it).
Hey @newling can I delete "smoke test" as well? I think we have a good handle on those flags now?
The test is there to prevent drift, to make sure those flags keep working. Why do you want to delete it?
The test is there to prevent drift, to make sure those flags keep working. Why do you want to delete it?
Because I'm assuming that now we understand the caveats of how argparser parses flags so why keep a test around that just tests that understanding? It's not like the implementation of that parsing is going to drift?
EDIT: and it's not free - every time we change the flags/args to cpu_comparison/run.py
we have to update the smoke test and since the logic is different from the other tests it takes some amount of squinting to change.
The test is there to prevent drift, to make sure those flags keep working. Why do you want to delete it?
Because I'm assuming that now we understand the caveats of how argparser parses flags so why keep a test around that just tests that understanding? It's not like the implementation of that parsing is going to drift?
EDIT: and it's not free - every time we change the flags/args to
cpu_comparison/run.py
we have to update the smoke test and since the logic is different from the other tests it takes some amount of squinting to change.
Fair points, you can remove it. I just hope the flag --do-not-run-aie
keeps working, that's the one I care most about in that test.
This functionality is now better tested in
compiler/plugins/target/AMD-AIE/iree-amd-aie/Target/test
andruntime/src/iree-amd-aie/aie_runtime/test
.