llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

LNT: improve documentation of StatusKind

Open marxin opened this issue 9 years ago • 3 comments

Bugzilla Link 34763
Resolution INVALID
Resolved on Jun 21, 2018 01:28
Version unspecified
OS Linux
CC @cmatthew

Extended Description

Currently, it's mentioned in documentation:

Status: StatusKind enum values (limited to ‘PASS’, ‘FAIL’, ‘XFAIL’ right now).

but: execution_status: A non zero value represents an execution failure.

So it's mixing enum value and integer values. And I'm wondering why keys with a status type are not displayed in Run detail? It's similar to Hash type, it's also not displayed in GUI.

Thanks you

marxin avatar Sep 28 '17 10:09 marxin

I'm not sure I understand your question. I think you are asking why we don't directly show the status type data in the run page?

Yes, question is why it's slightly mentioned in manual, but not presented in a run page.

I didn't write this code, but I assumed the intent was not want to confuse the user with performance data from samples with correctness failures. So it is used as a filtering mechanism.

Is there a use case for showing them?

Probably not, I'll notice that in Buildbot where I do builds and test runs. Then let's close this bug.

marxin avatar Jun 21 '18 08:06 marxin

I'm not sure I understand your question. I think you are asking why we don't directly show the status type data in the run page?

I didn't write this code, but I assumed the intent was not want to confuse the user with performance data from samples with correctness failures. So it is used as a filtering mechanism.

Is there a use case for showing them?

cmatthew avatar Jun 20 '18 18:06 cmatthew

assigned to @cmatthew

marxin avatar Sep 28 '17 10:09 marxin