[all-commits] [llvm/llvm-project] 8d3dc1: lit: Move RUN at line comment after the command.
Peter Collingbourne via All-commits
all-commits at lists.llvm.org
Mon Mar 24 11:30:19 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8d3dc1ed5656a3e69e4195d58684a7f4bf0ff5cc
https://github.com/llvm/llvm-project/commit/8d3dc1ed5656a3e69e4195d58684a7f4bf0ff5cc
Author: Peter Collingbourne <pcc at google.com>
Date: 2025-03-24 (Mon, 24 Mar 2025)
Changed paths:
M llvm/docs/CommandGuide/lit.rst
M llvm/utils/lit/lit/TestRunner.py
Log Message:
-----------
lit: Move RUN at line comment after the command.
When a developer copy/pastes a failing command line into their
shell to rerun it, they have to manually delete the "RUN: at line
N:" prefix. To make life easier for such developers, let's make it
possible to copy/paste a command without needing to modify it while
still showing the line number in the output by moving the line number
to a comment at the end of the command line.
Reviewers: jroelofs, MaskRay
Reviewed By: jroelofs, MaskRay
Pull Request: https://github.com/llvm/llvm-project/pull/132485
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list