File: generate

package info (click to toggle)
autodep8 0.30
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 276 kB
  • sloc: sh: 1,139; makefile: 31
file content (15 lines) | stat: -rwxr-xr-x 438 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

extra_arch=""
if [ x"${pkg_go_architecture:-}" != x ]; then
    extra_arch="Architecture: ${pkg_go_architecture}"
fi

# Stderr is required because many go tools output status info to stderr.
cat <<EOF
Test-Command: /usr/bin/dh_golang_autopkgtest
Depends: @, @builddeps@, dh-golang, ${pkg_go_extra_depends:-}
Restrictions: allow-stderr, ${pkg_go_extra_restrictions:-}
Features: test-name=dh-golang-autopkgtest
${extra_arch}
EOF