Closed tekknolagi closed 2 years ago
Unless this turns out to be a massive problem I think I'd be inclined to have the solution to this be a pty wrapper live outside gtest-parallel
(both script and repo) and you could invoke that like:
$ gtest-parallel pty_wrapper_for_my_binary_that_cares_about_pty
I'll close this for now but thank you for the patch.
Hi,
Some software behaves differently in a TTY vs not.
gtest-parallel
makes the tests think they are not running interactively. It would be neat to add a mode to spawn a pty for each test.I have a patch that I wrote, but it is probably not in a place to be merged. When I run it, sometimes I have issues with my terminal after. I'm not sure if I need to change modes with the
tty
module or something.Here is the patch for your consideration. Feel free to take it as-is or modify it to your needs or completely ignore it.
Cheers, Max