From 61fef4ddbec8f70bb9e213ac0491d4e6cfefab30 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 10 Aug 2016 14:16:52 +0200 Subject: 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 --- test/integration/run-tests | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/integration/run-tests') 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='' -- cgit v1.2.3