1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/bin/sh
extra_arch=""
if [ x"${pkg_nodejs_architecture:-}" != x ]; then
extra_arch="Architecture: ${pkg_nodejs_architecture}"
fi
cat <<EOF
Test-Command: /usr/share/pkg-js-autopkgtest/runner require
Depends: @, nodejs, pkg-js-autopkgtest, ${pkg_nodejs_extra_depends:-}
Restrictions: superficial, skippable, ${pkg_nodejs_extra_restrictions:-}
Features: test-name=pkg-js-autopkgtest-require
${extra_arch}
Test-Command: /usr/share/pkg-js-autopkgtest/runner
Depends: @, @builddeps@, pkg-js-autopkgtest, ${pkg_nodejs_extra_depends:-}
Restrictions: allow-stderr, skippable, ${pkg_nodejs_extra_restrictions:-}
Features: test-name=pkg-js-autopkgtest
${extra_arch}
EOF
|