mirror of
https://github.com/lupyuen/pinephone-nuttx.git
synced 2025-01-12 20:58:34 +08:00
Clean up
This commit is contained in:
parent
5dfc47106d
commit
cdb6bbc8e5
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,7 @@ clear
|
|||
## Compile test code
|
||||
gcc \
|
||||
-o test \
|
||||
-I . \
|
||||
-I ../../nuttx/arch/arm64/src/a64 \
|
||||
test.c \
|
||||
../../nuttx/arch/arm64/src/a64/a64_mipi_dphy.c \
|
||||
|
@ -20,6 +21,7 @@ gcc \
|
|||
|
||||
## Diff the actual and expected test logs
|
||||
./test >test.log
|
||||
set +e # Ignore errors
|
||||
diff \
|
||||
--ignore-all-space \
|
||||
expected.log test.log \
|
||||
|
@ -32,3 +34,5 @@ diff \
|
|||
| grep -v "ret=" \
|
||||
| grep -v "pktlen=" \
|
||||
| grep -v "hello" \
|
||||
|
||||
set -e # Exit when any command fails
|
||||
|
|
Loading…
Reference in a new issue