Page MenuHomePhabricator

[lit] Add a TAP-formatted output mode to lit
Needs ReviewPublic

Authored by ldrumm on Feb 19 2021, 11:33 AM.

Details

Summary

The Test Anything Protocol is a protocol to
allow test suites to communicate with a test harness. This allows lit
testsuites and the individual tests therein to be understood by
harnesses that understand the TAP protocol.

This adds the new command-line flag --display-format which accepts a
the named display format, defaulting to the informally specified
format currently displayed by lit.

Diff Detail

Unit TestsFailed

TimeTest
4,590 msx64 windows > MLIR.Examples/Toy/Ch6::jit.toy
Script: -- : 'RUN: at line 1'; toyc-ch6 -emit=jit C:\ws\w16c2-1\llvm-project\premerge-checks\mlir\test\Examples\Toy\Ch6\jit.toy
580 msx64 windows > MLIR.Examples/Toy/Ch7::jit.toy
Script: -- : 'RUN: at line 1'; toyc-ch7 -emit=jit C:\ws\w16c2-1\llvm-project\premerge-checks\mlir\test\Examples\Toy\Ch7\jit.toy

Event Timeline

ldrumm created this revision.Feb 19 2021, 11:33 AM
ldrumm requested review of this revision.Feb 19 2021, 11:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 19 2021, 11:33 AM

It seems like this new feature should be discussed on llvm-dev via an RFC first, as there is probably a wider discussion to be had about customising output format.

davezarzycki resigned from this revision.Mar 6 2021, 9:56 AM