Skip to content

Commit c44fde1

Browse files
committed
add output to diagnose test issue on MacOS
1 parent 0f47c28 commit c44fde1

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.github/workflows/makefile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Makefile CI
22
on:
33
push:
4-
branches: [ "master" ]
4+
branches: [ "master", "fix-test" ]
55
pull_request:
66
branches: [ "master" ]
77
jobs:

test/tools/git/blame-in-diff/rc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,17 @@ define-command run %{
1616
# We've jumped to the new version of line 2. Move to the old
1717
# version so we can annotate the old version of the file.
1818
execute-keys k
19-
git blame
19+
echo -to-file /dev/stderr "running git blame"
20+
try %{ git blame } catch %{
21+
echo -to-file /dev/stderr "git blame error"
22+
eval -buffer '*debug*' write /dev/stderr
23+
echo -to-file fifo
24+
fail "oh no"
25+
}
26+
27+
eval -buffer '*debug*' write /dev/stderr
2028
hook -once buffer BufCloseFifo .* %{
29+
echo "fifo closed" > /dev/stderr
2130
execute-keys -client client0 x
2231
# Wait for a redraw before reporting completion.
2332
hook -once buffer NormalIdle .* %{
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
mkfifo fifo 2>/dev/null
22
cat fifo
3+
echo "fifo cat'ed"
34
# We should have jumped to the old version of line 2, assert on kak_selection.

0 commit comments

Comments
 (0)