From 775fabfac758cbdc33aa81431380ed0b6377143b Mon Sep 17 00:00:00 2001 From: ukw Date: Fri, 7 Dec 2012 13:07:52 +0000 Subject: Version 2.3.4: improved detection of DENON frame repetition per key git-svn-id: svn://mikrocontroller.net/irmp@109 aeb2e35e-bfc4-4214-b83c-9e8de998ed28 --- IR-Data/test-suite.sh | 50 +++++++++++++++++++++++++++++++++++++------------- 1 file changed, 37 insertions(+), 13 deletions(-) (limited to 'IR-Data/test-suite.sh') diff --git a/IR-Data/test-suite.sh b/IR-Data/test-suite.sh index 3d167df..eb16f74 100644 --- a/IR-Data/test-suite.sh +++ b/IR-Data/test-suite.sh @@ -23,6 +23,7 @@ make -f makefile.lnx all cd .. for j in \ + 3xNEC3xAPPLE.log.txt \ Dbox.txt \ DK_Digital.txt \ Grundig_TP715.txt \ @@ -65,12 +66,19 @@ for j in \ rc6.txt \ xbox360-10kHz.txt do - echo "testing $j ..." - if tmpsrc/irmp -v < $j | grep -q error + echo -n "testing $j ... " + if tmpsrc/irmp-10kHz -v < $j | grep -q error then - tmpsrc/irmp -v < $j | grep error - echo "test failed" - exit 1 + tmpsrc/irmp-10kHz -v < $j | grep error + echo "test failed" + exit 1 + else + if tmpsrc/irmp-10kHz -v < $j | grep -q checked + then + echo "checked!" + else + echo "successful" + fi fi done @@ -81,21 +89,30 @@ for j in \ bose_wave_system_15khz.txt \ denon-15kHz.txt \ denon-rc-176-15kHz.txt \ + denon-rc-176-repeat-15kHz.txt \ irc-15kHz.txt \ kathrein-15kHz.txt \ recs80-15kHz.txt \ samsung32-15kHz.txt \ Siemens-Gigaset-M740AV-15kHz.txt \ + thomson-mb100-15kHz.txt \ tp400vt-15kHz.txt \ universal-15kHz.txt \ xbox360-15kHz.txt do - echo "testing $j ..." + echo -n "testing $j ... " if tmpsrc/irmp-15kHz -v < $j | grep -q error then - tmpsrc/irmp-15kHz -v < $j | grep error - echo "test failed" - exit 1 + tmpsrc/irmp-15kHz -v < $j | grep error + echo "test failed" + exit 1 + else + if tmpsrc/irmp-15kHz -v < $j | grep -q checked + then + echo "checked!" + else + echo "successful" + fi fi done @@ -104,12 +121,19 @@ for j in \ fdc-20kHz.txt \ fdc2-20kHz.txt do - echo "testing $j ..." + echo -n "testing $j ... " if tmpsrc/irmp-20kHz -v < $j | grep -q error then - tmpsrc/irmp-20kHz -v < $j | grep error - echo "test failed" - exit 1 + tmpsrc/irmp-20kHz -v < $j | grep error + echo "test failed" + exit 1 + else + if tmpsrc/irmp-20kHz -v < $j | grep -q checked + then + echo "checked!" + else + echo "successful" + fi fi done -- cgit v1.2.3