# CTest can I change the location of where to run the tests?

**URL:** https://discourse.cmake.org/t/ctest-can-i-change-the-location-of-where-to-run-the-tests/3797
**Category:** Usage
**Tags:** os:linux
**Created:** [July 20, 2021, 11:33pm UTC](https://discourse.cmake.org/t/ctest-can-i-change-the-location-of-where-to-run-the-tests/3797 "2021-07-20T23:33:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![echo](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/e/c6cbf5/32.png) [@echo](https://discourse.cmake.org/u/echo)
#### Post date: [July 20, 2021, 11:33pm UTC](https://discourse.cmake.org/t/ctest-can-i-change-the-location-of-where-to-run-the-tests/3797/1 "2021-07-20T23:33:00Z")

</div>

Is it possible to set the location of where to run the cunit tests to a different machine?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [July 21, 2021, 1:35am UTC](https://discourse.cmake.org/t/ctest-can-i-change-the-location-of-where-to-run-the-tests/3797/2 "2021-07-21T01:35:43Z")

</div>

Not natively, but you can prefix your test commands with `ssh remote.host test command` if you migrate the test binaries and requirements over in some other way.
