#! /bin/sh\r
+#----------------------------------------------------------------------------\r
+# test suite for IRMP\r
+#\r
+# usage:\r
+#\r
+# ./test-suite.sh\r
+#\r
+# Copyright (c) 2010 Frank Meyer - frank(at)fli4l.de\r
+#\r
+# $Id: test-suite.sh,v 1.10 2010/06/09 12:04:04 fm Exp $\r
+#----------------------------------------------------------------------------\r
+\r
for j in \\r
+ Dbox.txt \\r
DK_Digital.txt \\r
Grundig_TP715.txt \\r
Grundig_TP715_SatTV.txt \\r
Grundig_TP715_Video.txt \\r
Matsushita.txt \\r
+ Nokia.txt \\r
Panasonic-Blue-Ray.txt \\r
RC5-Taste.txt \\r
Samsung_DVD_Rec_00062C.txt \\r
denon.txt \\r
elta_radio.txt \\r
nec-repetition.txt \\r
+ nec-skymaster-dt500.txt \\r
nec.txt \\r
nubert-subwoofer.txt \\r
orion_vcr_07660BM070.txt \\r
sharp-denon2.txt\r
do\r
echo "testing $j ..."\r
- if ../irmp < $j | grep -q error\r
+ if ../irmp -v < $j | grep -q error\r
then\r
- ../irmp < $j | grep error\r
- echo "test failed"\r
- exit 1\r
+ ../irmp -v < $j | grep error\r
+ echo "test failed"\r
+ exit 1\r
fi\r
done\r
+\r
+for j in \\r
+ Siemens-Gigaset-M740AV-15kHz.txt \\r
+ bo_beolink1000-15kHz.txt \\r
+ denon-15kHz.txt \\r
+ fdc-15kHz.txt\r
+do\r
+ echo "testing $j ..."\r
+ if ../irmp-15kHz -v < $j | grep -q error\r
+ then\r
+ ../irmp-15kHz -v < $j | grep error\r
+ echo "test failed"\r
+ exit 1\r
+ fi\r
+done\r
+\r
echo "all tests successful"\r
exit 0\r