File: fig2dev-testsuite

package info (click to toggle)
fig2dev 1%3A3.2.9a-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,708 kB
  • sloc: ansic: 38,164; sh: 7,981; makefile: 162; csh: 12
file content (28 lines) | stat: -rwxr-xr-x 548 bytes parent folder | download | duplicates (3)
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
#!/bin/sh
#
# Run the fig2dev testsuite
#
# (c) 2017-2021 Roland Rosenfeld <roland@debian.org>

echo "Running dh_autoreconf"
dh_autoreconf 2>&1
echo "Running dh_auto_configure"
dh_auto_configure 2>&1

cd fig2dev/tests

echo "Rebuild testsuite"
rm -f testsuite
make testsuite

echo "Restoring required test programs"
cp /usr/libexec/fig2dev/test[12] .

echo "Running testsuite"
make installcheck-local

# Place testsuite output into artifacts:
if [ -d "$AUTOPKGTEST_ARTIFACTS" ]
then
    cp -a testsuite.log testsuite.dir $AUTOPKGTEST_ARTIFACTS/
fi