tests(chore): Use REPOSITORY_ROOT export var from Makefile

Allows for using `load` with an absolute path instead of a relative one, which makes it possible to group tests into different directories.

Parallel tests differ slightly, loading the newer `helper/common.bash` and `helper/setup.bash` files instead of the older `test_helper/common.bash` which serial tests continue to use.
This commit is contained in:
Brennan Kinney 2022-11-26 11:37:58 +13:00
parent 2cd534a1ab
commit 835056d707
43 changed files with 50 additions and 49 deletions

View file

@ -1,4 +1,5 @@
load 'test_helper/common'
load "${REPOSITORY_ROOT}/test/helper/setup"
load "${REPOSITORY_ROOT}/test/helper/common"
function setup_file() {
local PRIVATE_CONFIG

View file

@ -1,4 +1,5 @@
load 'test_helper/common'
load "${REPOSITORY_ROOT}/test/helper/setup"
load "${REPOSITORY_ROOT}/test/helper/common"
function setup_file() {
local PRIVATE_CONFIG