Running cross-compiled tests on a remote machine


I was wondering if anyone had any experience cross-compiling the libcxx tests on one machine and executing them on another.

I’m looking for any advice for best practices in doing so or an example setup.

On a possibly related note, I don’t notice a target for building the libcxx tests without executing them. Did I miss it?



You should be able to configure cmake with -DLIBCXX_EXECUTOR="SSHExecutor(...)" to get tests to execute on a remote node. This option was added in 49ff203ec4008517cdb76a3962c1d20183aad3a7.