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 \
33 Panasonic-Blue-Ray.txt \
35 Samsung_DVD_Rec_00062C.txt \
40 Sony-RMT-D142P-DVD.txt \
42 Sony_RM-S315_lange.txt \
43 Sony_Bravia_RM-ED0009_new.txt \
46 apple-unibody-remote.txt \
47 bo_beolink1000-10kHz.txt \
53 nec-skymaster-dt500.txt \
55 nubert-subwoofer.txt \
56 orion_vcr_07660BM070.txt \
68 if tmpsrc
/irmp
-v < $j |
grep -q error
70 tmpsrc
/irmp
-v < $j |
grep error
77 Siemens-Gigaset-M740AV-15kHz.txt \
78 bo_beolink1000-15kHz.txt \
82 if tmpsrc
/irmp-15kHz
-v < $j |
grep -q error
84 tmpsrc
/irmp-15kHz
-v < $j |
grep error
96 if tmpsrc
/irmp-20kHz
-v < $j |
grep -q error
98 tmpsrc
/irmp-20kHz
-v < $j |
grep error
106 echo "all tests successful"