knurling-rs / probe-run

Run embedded programs just like native ones
Apache License 2.0
646 stars 75 forks source link

tests: (re)build test elfs before snapshot tests #256

Open Lotterleben opened 3 years ago

Lotterleben commented 3 years ago

not an issue, but a feature request:

currently, the elf files we're using for snapshot tests are pre-compiled. That makes them cumbersome to reproduce, understand or create new ones.

a possible hurdle while implementing this is that the paths printed in backtraces would then vary depending on who's executing the tests– this would have to be either parsed out during test result collection or compiled with --remap-path-prefix

Lotterleben commented 3 years ago

for the record, I've pushed the code I've used to generate the ELFs we're using so far into this repo