feat(test): record full key log as well
This commit is contained in:
parent
aff39e57d0
commit
b1d9a7b684
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ west build -d build/$testcase -b native_posix -- -DZMK_CONFIG=$testcase > /dev/n
|
|||
if [ $? -gt 0 ]; then
|
||||
echo "FAIL: $testcase did not build" >> ./build/tests/pass-fail.log
|
||||
else
|
||||
./build/$testcase/zephyr/zmk.exe | sed -e "s/.*> //" | sed -n -f $testcase/events.patterns > build/$testcase/keycode_events.log
|
||||
./build/$testcase/zephyr/zmk.exe | sed -e "s/.*> //" | tee build/$testcase/keycode_events_full.log | sed -n -f $testcase/events.patterns > build/$testcase/keycode_events.log
|
||||
diff -au $testcase/keycode_events.snapshot build/$testcase/keycode_events.log
|
||||
if [ $? -gt 0 ]; then
|
||||
echo "FAIL: $testcase" >> ./build/tests/pass-fail.log
|
||||
|
|
Loading…
Reference in a new issue