Commit | Line | Data |
---|---|---|
de6cb9d5 MJ |
1 | #!/bin/bash |
2 | # | |
3 | # SPDX-License-Identifier: GPL-2.0-only | |
4 | # | |
5 | # SPDX-FileCopyrightText: 2022 EfficiOS Inc. | |
6 | # | |
7 | ||
8 | ### Base paths to test suite ### | |
9 | if [ "x${URCU_TESTS_SRCDIR:-}" = "x" ]; then | |
10 | URCU_TESTS_SRCDIR="@abs_top_srcdir@/tests" | |
11 | fi | |
12 | export URCU_TESTS_SRCDIR | |
13 | ||
14 | if [ "x${URCU_TESTS_BUILDDIR:-}" = "x" ]; then | |
15 | URCU_TESTS_BUILDDIR="@abs_top_builddir@/tests" | |
16 | fi | |
17 | export URCU_TESTS_BUILDDIR | |
18 | ||
19 | ||
20 | ### External Tools ### | |
21 | if [ "x${URCU_TESTS_NPROC_BIN:-}" = "x" ]; then | |
22 | URCU_TESTS_NPROC_BIN="@NPROC@" | |
23 | fi | |
24 | export URCU_TESTS_NPROC_BIN | |
25 | ||
26 | if [ "x${URCU_TESTS_GETCONF_BIN:-}" = "x" ]; then | |
27 | URCU_TESTS_GETCONF_BIN="@GETCONF@" | |
28 | fi | |
29 | export URCU_TESTS_GETCONF_BIN | |
30 | ||
31 | if [ "x${URCU_TESTS_TIME_BIN:-}" = "x" ]; then | |
32 | URCU_TESTS_TIME_BIN="@TIME@" | |
33 | fi | |
34 | export URCU_TESTS_TIME_BIN | |
35 |