Skip to content

Commit

Permalink
[nrf noup] Fix running tests
Browse files Browse the repository at this point in the history
Use correct path when running ctest.

Signed-off-by: Adrian Gielniewski <[email protected]>
  • Loading branch information
adigie committed Feb 20, 2025
1 parent 7079d5f commit 0f17ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build/builders/nrf.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def _build(self):
# Note: running zephyr/zephyr.elf has the same result except it creates
# a flash.bin in the current directory. ctest has more options and does not
# pollute the source directory
self._Execute(['ctest', '--build-nocmake', '-V', '--output-on-failure', '--test-dir', self.output_dir],
self._Execute(['ctest', '--build-nocmake', '-V', '--output-on-failure', '--test-dir', os.path.join(self.output_dir, 'nrfconnect')],
title='Run Tests ' + self.identifier)

def _bundle(self):
Expand Down

0 comments on commit 0f17ca6

Please sign in to comment.