Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test error logs #178

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test error logs
Emile Trotignon committed Jan 28, 2025
commit ed60e701613f63ab49b0e7f61bac250c59593aca
21 changes: 14 additions & 7 deletions test/dune
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
(executables
(names test github_link_test longest_prefix_test)
(libraries lib devkit devkit.core extlib lwt.unix
yojson)
(libraries lib devkit devkit.core extlib lwt.unix yojson)
(preprocess
(pps lwt_ppx)))

@@ -15,9 +14,11 @@
monorobot.json
secrets.json)
(action
(with-stdout-to
slack_payloads.out
(run ./test.exe))))
(with-stderr-to
log_err.out
(with-stdout-to
slack_payloads.out
(run ./test.exe)))))

(rule
(alias runtest)
@@ -27,9 +28,15 @@
(rule
(alias runtest)
(action
(run ./github_link_test.exe)))
(diff log_err.expected log_err.out)))


(rule
(alias runtest)
(action
(run ./github_link_test.exe)))

(rule
(alias runtest)
(action
(run ./longest_prefix_test.exe)))
(run ./longest_prefix_test.exe)))
Empty file added test/log_err.expected
Empty file.