Skip to content

Commit 4e70b22

Browse files
committed
Use relative paths in Greentea test_spec.json
We had a similar change in #89 but that was not enough. This commit ensures all paths in `test_spec.json` are actually relative.
1 parent 7d22834 commit 4e70b22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test_psa_target.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,9 @@ def _get_test_spec(args, suite, binary_name):
248248
log_path = join("test", "logs", target, "{}.log".format(suite))
249249

250250
if args.cli == 1:
251-
image_path = join(ROOT, "BUILD", target, toolchain, binary_name)
251+
image_path = join("BUILD", target, toolchain, binary_name)
252252
else:
253-
image_path = join(ROOT, "cmake_build", target, "develop", toolchain, binary_name)
253+
image_path = join("cmake_build", target, "develop", toolchain, binary_name)
254254

255255
return {
256256
"binaries": [

0 commit comments

Comments
 (0)