2 #----------------------------------------------------------------------------
9 # Copyright (c) 2010 Frank Meyer - frank(at)fli4l.de
11 # $Id: test-suite.sh,v 1.10 2010/06/09 12:04:04 fm Exp $
12 #----------------------------------------------------------------------------
14 set -e # exit on error
17 cp ..
/irmp.
[ch
] ..
/irmpconfig.h ..
/irsnd.
[ch
] ..
/irsndconfig.h ..
/irmpsystem.h ..
/irmpprotocols.h ..
/makefile.lnx tmpsrc
19 sed 's/#define \(IRMP_SUPPORT_[A-Z_0-9]* *\)[01]/#define \1 1/g' <irmpconfig.h
>irmpconfig.new
20 mv irmpconfig.new irmpconfig.h
21 make -f makefile.lnx clean
22 make -f makefile.lnx all
26 3xNEC3xAPPLE.log.txt \
30 Grundig_TP715_SatTV.txt \
31 Grundig_TP715_Video.txt \
32 Kathrein-UFS-912-Remote.txt \
35 Panasonic-Blue-Ray.txt \
37 Samsung_DVD_Rec_00062C.txt \
42 Sony-RMT-D142P-DVD.txt \
44 Sony_RM-S315_lange.txt \
45 Sony_Bravia_RM-ED0009_new.txt \
48 apple-unibody-remote.txt \
49 bo_beolink1000-10kHz.txt \
55 nec-skymaster-dt500.txt \
58 nubert-subwoofer.txt \
59 orion_vcr_07660BM070.txt \
69 echo -n "testing $j ... "
70 if tmpsrc
/irmp-10kHz
-v < $j |
grep -q error
72 tmpsrc
/irmp-10kHz
-v < $j |
grep error
76 if tmpsrc
/irmp-10kHz
-v < $j |
grep -q checked
85 # t-home-mediareceiver-15kHz.txt (RUWIDO) conflicts with Denon
88 bo_beolink1000-15kHz.txt \
89 bose_wave_system_15khz.txt \
91 denon-rc-176-15kHz.txt \
92 denon-rc-176-repeat-15kHz.txt \
97 Siemens-Gigaset-M740AV-15kHz.txt \
98 thomson-mb100-15kHz.txt \
100 universal-15kHz.txt \
103 echo -n "testing $j ... "
104 if tmpsrc
/irmp-15kHz
-v < $j |
grep -q error
106 tmpsrc
/irmp-15kHz
-v < $j |
grep error
110 if tmpsrc
/irmp-15kHz
-v < $j |
grep -q checked
124 echo -n "testing $j ... "
125 if tmpsrc
/irmp-20kHz
-v < $j |
grep -q error
127 tmpsrc
/irmp-20kHz
-v < $j |
grep error
131 if tmpsrc
/irmp-20kHz
-v < $j |
grep -q checked
142 echo "all tests successful"