Skip to content

Commit

Permalink
Add kill-emacs in case it stops CI hanging
Browse files Browse the repository at this point in the history
  • Loading branch information
ElleNajt committed Jan 1, 2025
1 parent a56575b commit a85fd8b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/run_expect_tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail

update_goldens=false
Expand Down Expand Up @@ -49,7 +49,8 @@ get_emacs_args() {
(with-current-buffer (find-file-noselect \"$target_file\")
(message \"Executing %s...\" \"$target_file\")
(org-babel-execute-buffer)
(save-buffer)))" \
(save-buffer))
(kill-emacs))" \
"$target_file"
EOF
}
Expand Down

0 comments on commit a85fd8b

Please sign in to comment.