taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

upstream-tests (342B)


      1 #!/bin/sh
      2 set -e
      3 
      4 if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
      5     CROSS_COMPILE=${DEB_HOST_GNU_TYPE}-
      6 else
      7     CROSS_COMPILE=
      8 fi
      9 
     10 WORKDIR="$(mktemp -d)"
     11 trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
     12 cp -a . "$WORKDIR"
     13 cd "$WORKDIR"
     14 
     15 dh_update_autotools_config
     16 dh_autoreconf
     17 dh_auto_configure
     18 echo "configure: OK"
     19 dh_auto_test
     20 echo "test: OK"