X-Git-Url: http://cloudbase.mooo.com/gitweb/irmp.git/blobdiff_plain/c7a47e897cc2d4716bf54b323c46978e624b65cf..3a7e26e1f87a0e738f763d2df005d5da1690696d:/IR-Data/test-suite.sh diff --git a/IR-Data/test-suite.sh b/IR-Data/test-suite.sh index a1abf02..3d167df 100644 --- a/IR-Data/test-suite.sh +++ b/IR-Data/test-suite.sh @@ -14,7 +14,7 @@ set -e # exit on error cd `dirname $0` mkdir -p tmpsrc -cp ../irmp.[ch] ../irmpconfig.h ../irsnd.[ch] ../irsndconfig.h ../makefile.lnx tmpsrc +cp ../irmp.[ch] ../irmpconfig.h ../irsnd.[ch] ../irsndconfig.h ../irmpsystem.h ../irmpprotocols.h ../makefile.lnx tmpsrc cd tmpsrc sed 's/#define \(IRMP_SUPPORT_[A-Z_0-9]* *\)[01]/#define \1 1/g' irmpconfig.new mv irmpconfig.new irmpconfig.h @@ -53,6 +53,7 @@ for j in \ nec-repetition.txt \ nec-skymaster-dt500.txt \ nec.txt \ + nikon.txt \ nubert-subwoofer.txt \ orion_vcr_07660BM070.txt \ panasonic-scan.txt \ @@ -62,31 +63,39 @@ for j in \ rc5x.txt \ rc6-hold.txt \ rc6.txt \ - sharp-denon.txt \ - sharp-denon2.txt \ xbox360-10kHz.txt do echo "testing $j ..." if tmpsrc/irmp -v < $j | grep -q error then - tmpsrc/irmp -v < $j | grep error - echo "test failed" - exit 1 + tmpsrc/irmp -v < $j | grep error + echo "test failed" + exit 1 fi done +# t-home-mediareceiver-15kHz.txt (RUWIDO) conflicts with Denon + for j in \ - Siemens-Gigaset-M740AV-15kHz.txt \ bo_beolink1000-15kHz.txt \ + bose_wave_system_15khz.txt \ denon-15kHz.txt \ + denon-rc-176-15kHz.txt \ + irc-15kHz.txt \ + kathrein-15kHz.txt \ + recs80-15kHz.txt \ + samsung32-15kHz.txt \ + Siemens-Gigaset-M740AV-15kHz.txt \ + tp400vt-15kHz.txt \ + universal-15kHz.txt \ xbox360-15kHz.txt do echo "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 fi done @@ -98,13 +107,13 @@ do echo "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 fi done -rm -rf tmpsrc +# rm -rf tmpsrc echo "all tests successful" exit 0