]> cloudbase.mooo.com Git - irmp.git/blob - IR-Data/test-suite.sh
removed damaged scan files
[irmp.git] / IR-Data / test-suite.sh
1 #! /bin/sh
2 #----------------------------------------------------------------------------
3 # test suite for IRMP
4 #
5 # usage:
6 #
7 # ./test-suite.sh
8 #
9 # Copyright (c) 2010 Frank Meyer - frank(at)fli4l.de
10 #
11 # $Id: test-suite.sh,v 1.7 2010/05/28 08:26:13 fm Exp $
12 #----------------------------------------------------------------------------
13
14 for j in \
15 Dbox.txt \
16 DK_Digital.txt \
17 Grundig_TP715.txt \
18 Grundig_TP715_SatTV.txt \
19 Grundig_TP715_Video.txt \
20 Matsushita.txt \
21 Nokia.txt \
22 Panasonic-Blue-Ray.txt \
23 RC5-Taste.txt \
24 Samsung_DVD_Rec_00062C.txt \
25 Samsung_TV.txt \
26 Siemens-Gigaset-M740AV.txt \
27 Sony-RM-S-310.txt \
28 sony-rm-s311.txt \
29 Sony-RM-U305C.txt \
30 Sony-RMT-D142P-DVD.txt \
31 Sony-RMT-V406.txt \
32 Sony_RM-S315_lange.txt \
33 Sony_Bravia_RM-ED0009_new.txt \
34 Yamaha-RAV388.txt \
35 apple.txt \
36 bo_beolink1000-10kHz.txt \
37 denon.txt \
38 elta_radio.txt \
39 nec-repetition.txt \
40 nec.txt \
41 nubert-subwoofer.txt \
42 orion_vcr_07660BM070.txt \
43 panasonic-scan.txt \
44 rc5.txt \
45 rc5x-79.txt \
46 rc5x.txt \
47 rc6-hold.txt \
48 rc6.txt \
49 sharp-denon.txt \
50 sharp-denon2.txt
51 do
52 echo "testing $j ..."
53 if ../irmp < $j | grep -q error
54 then
55 ../irmp < $j | grep error
56 echo "test failed"
57 exit 1
58 fi
59 done
60 echo "all tests successful"
61 exit 0