We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9b4c83 commit 6d3d74cCopy full SHA for 6d3d74c
tests.sh
@@ -26,9 +26,11 @@ mps3_an536_cargo="--manifest-path examples/mps3-an536/Cargo.toml"
26
my_diff() {
27
file_a=$1
28
file_b=$2
29
- # Fix Windows path separators (\\) in the output to look like UNIX ones (/)
30
- # and convert CRLF to LF
31
- diff $file_a <(cat $file_b | sed 's~\\\\~/~g' | tr -d '\r')
+ # - Fix Windows path separators (\\) to look like UNIX ones (/) in the QEMU
+ # output
+ # - Fix the CRLF line endings in the files on disk, because git adds them to
32
+ # text files.
33
+ diff <(cat $file_a | tr -d '\r') <(cat $file_b | sed 's~\\\\~/~g')
34
}
35
36
# armv7r-none-eabi tests
0 commit comments