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
gentestis just a teeny tiny bit terrible...outsis to be used withcmdfor building the test; you probably wanttest_outputsto 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
outswithoutcmdortest_outputswithouttest_cmd