File: test-outputs

package info (click to toggle)
dctrl2xml 0.24
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 184 kB
  • sloc: xml: 320; python: 304; makefile: 34; sh: 11
file content (16 lines) | stat: -rwxr-xr-x 313 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

cp -R test "$AUTOPKGTEST_TMP"/
cd "$AUTOPKGTEST_TMP"/test || exit 1
sed -i 's!\.\./dctrl2xml!/usr/bin/dctrl2xml!' Makefile

make clean
make
retcode=$?

if [ $retcode -ne 0 ]; then
  echo "Test failed. Copying artifacts to $AUTOPKGTEST_ARTIFACTS"
  cp ./*_ "$AUTOPKGTEST_ARTIFACTS"/
fi

exit $retcode