mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Support running tests from any directory
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
e374a91feb
commit
90c0a361b5
11 changed files with 12 additions and 13 deletions
|
@ -1,7 +1,6 @@
|
|||
TEST_DIRECTORY="$(pwd)"
|
||||
TOPLEVEL="$(cd .. && pwd)"
|
||||
TOPLEVEL="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
|
||||
. ./sharness.sh
|
||||
. "$TOPLEVEL/test/sharness.sh"
|
||||
|
||||
# Configure python search path.
|
||||
PYTHONPATH="$TOPLEVEL"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue