diff options
author | Julian Andres Klode <jak@debian.org> | 2016-08-10 14:16:52 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-08-10 16:17:19 +0200 |
commit | 61fef4ddbec8f70bb9e213ac0491d4e6cfefab30 (patch) | |
tree | 5c27cbf2af240677949568c0e1ec34a79a9a4773 /test/integration/run-tests | |
parent | 4d22a5704a0ebe19a5fa2524ac90a26c824325de (diff) |
test: Automatically discover CMake build directory
Look at the project root, and all directories directly below it and
pick the directory with the newest CMakeCache.txt file.
Gbp-Dch: ignore
Diffstat (limited to 'test/integration/run-tests')
-rwxr-xr-x | test/integration/run-tests | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/integration/run-tests b/test/integration/run-tests index 78f24fbaf..e90b4b755 100755 --- a/test/integration/run-tests +++ b/test/integration/run-tests @@ -1,4 +1,10 @@ #!/bin/sh + +TESTDIR="$(readlink -f "$(dirname "$0")")" +. "$TESTDIR/framework" + +find_project_binary_dir + set -e TESTTORUN='' |