summaryrefslogtreecommitdiff
path: root/IR-Data/test-suite.sh
blob: 60a1b029ee6f35eaa3e45e55bdaa975c36ea6749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#! /bin/sh
for j in                                    \
            DK_Digital.txt                  \
            Matsushita.txt                  \
            Panasonic-Blue-Ray.txt          \
            RC5-Taste.txt                   \
            Samsung_DVD_Rec_00062C.txt      \
            Samsung_TV.txt                  \
            Sony-RM-S-310.txt               \
            Sony-RM-U305C.txt               \
            Sony-RMT-D142P-DVD.txt          \
            Sony-RMT-V406.txt               \
            Sony_Bravia_RM-ED0009.txt       \
            Sony_Bravia_RM-ED0009_new.txt   \
            Yamaha-RAV388.txt               \
            apple.txt                       \
            bo_beolink1000-10kHz.txt        \
            denon.txt                       \
            elta_radio.txt                  \
            nec-repetition.txt              \
            nec.txt                         \
            nubert-subwoofer.txt            \
            orion_vcr_07660BM070.txt        \
            panasonic-scan.txt              \
            rc5.txt                         \
            rc5x-79.txt                     \
            rc5x.txt                        \
            rc6-hold.txt                    \
            rc6.txt                         \
            sharp-denon.txt                 \
            sharp-denon2.txt
do
    echo "testing $j ..."
    if ../irmp < $j | grep -q error
    then
        ../irmp < $j | grep error
        echo "test failed"
        exit 1
    fi
done
echo "all tests successful"
exit 0