aboutsummaryrefslogtreecommitdiff
path: root/tests/pic01.at
blob: a2641869874fad0751db7f89bc296636cd7585e6 (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
# This file is part of idest  -*- autotest -*-
# Copyright (C) 2011, 2015 Sergey Poznyakoff
#
# Idest is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# Idest is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with idest.  If not, see <http://www.gnu.org/licenses/>.

AT_SETUP([formats: pic --store])
AT_KEYWORDS([script format pic--store pic01])

AT_CHECK([
WITH_GUILE([
genfile -f file -p $abs_srcdir/id3v2 10k
idest -N -p $abs_top_srcdir/scheme --format pic --store --file ~N-~C.~T file])
echo file-32x32 sample image.png
cmp "file-32x32 sample image.png" $abs_srcdir/idest-32.png
echo file-68x68 sample image.png
cmp "file-68x68 sample image.png" $abs_srcdir/idest-68.png
],
[0],
[Saving file-32x32 sample image.png
Saving file-68x68 sample image.png
file-32x32 sample image.png
file-68x68 sample image.png
])

AT_CLEANUP

Return to:

Send suggestions and report system problems to the System administrator.