Can't manage to have outs=[] working in a gentest target #3388
-
Provided the simplest gentest rule possible:
If a try to output some files from this target, I get this error:
The error seems to happen before the test_cmd is executed. The logs, even with the maximum verbosity are helpless. Do you have any clue ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The documentation for I think it should be an error to pass |
Beta Was this translation helpful? Give feedback.
The documentation for
gentest
is just a teeny tiny bit terrible...outs
is to be used withcmd
for building the test; you probably wanttest_outputs
to have an output from the test command. That error message you're getting there is from the build step rather than the test step.I think it should be an error to pass
outs
withoutcmd
ortest_outputs
withouttest_cmd