Skip to content

Custom test runners do not copy test files in directories. #5384

Answered by rgrinberg
tmcgilchrist asked this question in Q&A
Discussion options

You must be logged in to vote

The following rule:

(rule
 (with-stdout-to events_output.json
  (run ./diff.exe events)))

Attempts to read cases/events/event.json but does not declare a dependency on this file. You can amend the rule to declare the dependency with the long form for rules:

(rule
 (deps cases/events/event.json)
 (action
  (with-stdout-to events_output.json (run ./diff.exe events))))

Cheers.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tmcgilchrist
Comment options

Answer selected by tmcgilchrist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5383 on January 26, 2022 06:56.