Skip to content

Commit 942dea3

Browse files
Add other ELFs and .out files
- Other examples which don't require features are now in the xtask dir - Added new functions to better align with how the current snapshot tests work
1 parent ebbeee4 commit 942dea3

25 files changed

+79
-51
lines changed

firmware/qemu/write_output.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
bins=("assert" "assert-eq" "assert-ne" "bitflags" "dbg" "hints" "hints_inner" "log" "panic" "panic_info" "timestamp" "unwrap")
4+
5+
echo "Generating output ..."
6+
7+
for value in "${bins[@]}"; do
8+
command="DEFMT_LOG=trace cargo -q run --features no-decode --manifest-path ../../qemu-run/Cargo.toml ../target/thumbv7m-none-eabi/debug/$value > ~/defmt/xtask/output_files/$value.out"
9+
echo "$command"
10+
eval "$command"
11+
done

xtask/output_files/assert-eq.out

9 Bytes
Binary file not shown.

xtask/output_files/assert-ne.out

7 Bytes
Binary file not shown.

xtask/output_files/assert.out

4 Bytes
Binary file not shown.

xtask/output_files/bitflags.out

183 Bytes
Binary file not shown.

xtask/output_files/dbg.out

40 Bytes
Binary file not shown.

xtask/output_files/hints.out

1.04 KB
Binary file not shown.

xtask/output_files/hints_inner.out

Whitespace-only changes.

xtask/output_files/panic.out

7 Bytes
Binary file not shown.

xtask/output_files/panic_info.out

41 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)