Skip to content

Commit 589cf43

Browse files
authored
Restore unbuffer (#6681)
1 parent 0909a26 commit 589cf43

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CMakeLists.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ function(message)
5959
endfunction()
6060

6161
option(PROFILE_TESTS "Profile tests" OFF)
62-
set(PYTHON python3)
62+
63+
# Add CCF_PYTHON_PRELAUNCH=unbuffer to env when calling cmake to get coloured
64+
# test output
65+
set(PYTHON "$ENV{CCF_PYTHON_PRELAUNCH}" python3)
6366

6467
set(DISTRIBUTE_PERF_TESTS
6568
""

0 commit comments

Comments
 (0)