File: using-intree

package info (click to toggle)
dgit 12.16
  • links: PTS, VCS
  • area: main
  • in suites: trixie-proposed-updates
  • size: 3,368 kB
  • sloc: perl: 13,443; sh: 6,466; python: 334; makefile: 324; tcl: 69
file content (17 lines) | stat: -rwxr-xr-x 337 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
#
# usage:
#   cd .../dgit.git
#   tests/using-intree tests/test/some-test
# or
#   cd .../dgit.git
#   tests/using-intree tests/run-all
#
# effects:
#   sets DGIT_TEST_INTREE which causes tests/lib to have test scripts
#   using programs etc. from the working tree

set -e
pwd=`pwd`
export DGIT_TEST_INTREE="$pwd"
exec "$@"