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 ..
/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
29 Grundig_TP715_SatTV.txt \
30 Grundig_TP715_Video.txt \
31 Kathrein-UFS-912-Remote.txt \
34 Panasonic-Blue-Ray.txt \
36 Samsung_DVD_Rec_00062C.txt \
41 Sony-RMT-D142P-DVD.txt \
43 Sony_RM-S315_lange.txt \
44 Sony_Bravia_RM-ED0009_new.txt \
47 apple-unibody-remote.txt \
48 bo_beolink1000-10kHz.txt \
54 nec-skymaster-dt500.txt \
57 nubert-subwoofer.txt \
58 orion_vcr_07660BM070.txt \
71 if tmpsrc
/irmp
-v < $j |
grep -q error
73 tmpsrc
/irmp
-v < $j |
grep error
80 Siemens-Gigaset-M740AV-15kHz.txt \
81 bo_beolink1000-15kHz.txt \
87 t-home-mediareceiver-15kHz.txt \
93 if tmpsrc
/irmp-15kHz
-v < $j |
grep -q error
95 tmpsrc
/irmp-15kHz
-v < $j |
grep error
106 echo "testing $j ..."
107 if tmpsrc
/irmp-20kHz
-v < $j |
grep -q error
109 tmpsrc
/irmp-20kHz
-v < $j |
grep error
117 echo "all tests successful"