X-Git-Url: http://cloudbase.mooo.com/gitweb/irmp.git/blobdiff_plain/592411d112f43e31c7c6179f8a98a6d319c75925..879b06c217259fbe72821796716ad23834248f01:/IR-Data/test-suite.sh?ds=inline diff --git a/IR-Data/test-suite.sh b/IR-Data/test-suite.sh index d6f20e6..da04f68 100644 --- a/IR-Data/test-suite.sh +++ b/IR-Data/test-suite.sh @@ -1,46 +1,77 @@ #! /bin/sh -for j in \ - DK_Digital.txt \ - Grundig_TP715.txt \ - Grundig_TP715_SatTV.txt \ - Grundig_TP715_Video.txt \ - Matsushita.txt \ - Panasonic-Blue-Ray.txt \ - RC5-Taste.txt \ - Samsung_DVD_Rec_00062C.txt \ - Samsung_TV.txt \ - Sony-RM-S-310.txt \ - sony-rm-s311.txt \ - Sony-RM-U305C.txt \ - Sony-RMT-D142P-DVD.txt \ - Sony-RMT-V406.txt \ - Sony_Bravia_RM-ED0009.txt \ - Sony_Bravia_RM-ED0009_new.txt \ - Yamaha-RAV388.txt \ - apple.txt \ - bo_beolink1000-10kHz.txt \ - denon.txt \ - elta_radio.txt \ - nec-repetition.txt \ - nec.txt \ - nubert-subwoofer.txt \ - orion_vcr_07660BM070.txt \ - panasonic-scan.txt \ - rc5.txt \ - rc5x-79.txt \ - rc5x.txt \ - rc6-hold.txt \ - rc6.txt \ - sharp-denon.txt \ - sharp-denon2.txt +#---------------------------------------------------------------------------- +# test suite for IRMP +# +# usage: +# +# ./test-suite.sh +# +# Copyright (c) 2010 Frank Meyer - frank(at)fli4l.de +# +# $Id: test-suite.sh,v 1.10 2010/06/09 12:04:04 fm Exp $ +#---------------------------------------------------------------------------- + +for j in \ + Dbox.txt \ + DK_Digital.txt \ + Grundig_TP715.txt \ + Grundig_TP715_SatTV.txt \ + Grundig_TP715_Video.txt \ + Matsushita.txt \ + Nokia.txt \ + Panasonic-Blue-Ray.txt \ + RC5-Taste.txt \ + Samsung_DVD_Rec_00062C.txt \ + Samsung_TV.txt \ + Sony-RM-S-310.txt \ + sony-rm-s311.txt \ + Sony-RM-U305C.txt \ + Sony-RMT-D142P-DVD.txt \ + Sony-RMT-V406.txt \ + Sony_RM-S315_lange.txt \ + Sony_Bravia_RM-ED0009_new.txt \ + Yamaha-RAV388.txt \ + apple.txt \ + bo_beolink1000-10kHz.txt \ + denon.txt \ + elta_radio.txt \ + nec-repetition.txt \ + nec-skymaster-dt500.txt \ + nec.txt \ + nubert-subwoofer.txt \ + orion_vcr_07660BM070.txt \ + panasonic-scan.txt \ + rc5.txt \ + rc5x-79.txt \ + rc5x.txt \ + rc6-hold.txt \ + rc6.txt \ + sharp-denon.txt \ + sharp-denon2.txt do echo "testing $j ..." - if ../irmp < $j | grep -q error + if ../irmp -v < $j | grep -q error then - ../irmp < $j | grep error + ../irmp -v < $j | grep error echo "test failed" exit 1 fi done + +for j in \ + Siemens-Gigaset-M740AV-15kHz.txt \ + bo_beolink1000-15kHz.txt \ + denon-15kHz.txt \ + fdc-15kHz.txt +do + echo "testing $j ..." + if ../irmp-15kHz -v < $j | grep -q error + then + ../irmp-15kHz -v < $j | grep error + echo "test failed" + exit 1 + fi +done + echo "all tests successful" exit 0