Skip to content

Commit 0f17ca6

Browse files
committed
[nrf noup] Fix running tests
Use correct path when running ctest. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
1 parent 7079d5f commit 0f17ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build/builders/nrf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def _build(self):
222222
# Note: running zephyr/zephyr.elf has the same result except it creates
223223
# a flash.bin in the current directory. ctest has more options and does not
224224
# pollute the source directory
225-
self._Execute(['ctest', '--build-nocmake', '-V', '--output-on-failure', '--test-dir', self.output_dir],
225+
self._Execute(['ctest', '--build-nocmake', '-V', '--output-on-failure', '--test-dir', os.path.join(self.output_dir, 'nrfconnect')],
226226
title='Run Tests ' + self.identifier)
227227

228228
def _bundle(self):

0 commit comments

Comments
 (0)