File: thumbnail

package info (click to toggle)
solvespace 3.0.rc2%2Brepack1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,136 kB
  • sloc: cpp: 121,426; ansic: 8,912; javascript: 1,919; sh: 113; xml: 44; makefile: 25
file content (16 lines) | stat: -rwxr-xr-x 410 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e
set -x
. debian/tests/common
logname=$AUTOPKGTEST_TMP/thumbnail.txt
(
    get_files_to_thumbnail | while read fn; do
        echo $fn
        mkdir -p $AUTOPKGTEST_TMP/$(dirname $fn)
        solvespace-cli thumbnail --output $AUTOPKGTEST_TMP/%_thumb.png --size 48x48 --view isometric $fn
    done
) 2>&1 | tee $logname

# We don't care about self-intersecting errors.
! grep "Error" $logname