diff options
| author | Phil Sutter <phil@nwl.cc> | 2025-08-26 22:57:36 +0200 |
|---|---|---|
| committer | Phil Sutter <phil@nwl.cc> | 2025-09-11 18:11:53 +0200 |
| commit | 7c05001f9d052cdbdc8eb1e96d0b972f4726b885 (patch) | |
| tree | cb8f3dcbec6a70725c0e8d7076caadf10b52965e | |
| parent | 793a29ca5b7961d0f8d9c9c81ac0cd6be4183ba8 (diff) | |
tests: build: Do not assume caller's CWD
Cover for being called from a different directory by changing into the
test suite's directory first.
Signed-off-by: Phil Sutter <phil@nwl.cc>
| -rwxr-xr-x | tests/build/run-tests.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/build/run-tests.sh b/tests/build/run-tests.sh index 674383cb..a5e026a9 100755 --- a/tests/build/run-tests.sh +++ b/tests/build/run-tests.sh @@ -1,5 +1,7 @@ #!/bin/bash +cd $(dirname $0) + log_file="$(pwd)/tests.log" dir=../.. argument=( --without-cli --with-cli=linenoise --with-cli=editline --enable-debug --with-mini-gmp |
