public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v4 0/1] BaseTools/Plugin: Too many execute files cause "cmd too long" failure
@ 2023-05-10  5:14 Guo, Gua
  2023-05-10  5:14 ` [PATCH v4 1/1] " Guo, Gua
  0 siblings, 1 reply; 10+ messages in thread
From: Guo, Gua @ 2023-05-10  5:14 UTC (permalink / raw)
  To: devel; +Cc: gua.guo

From: Gua Guo <gua.guo@intel.com>

V3:
Michael Kubacki
Open1:
I understand it was common in some parts of the code base at one point to wrap all expressions in parentheses, but can it be avoided in newly added code?
And the parentheses are unnecessary in this case and don't follow typical Python style.

Solution: Fixed, I will record it in my personal guideline to prevent happen again in next time that I change python code on Edk2.

Open2:
Due to the number of references, it would be easier to follow if this path were assigned to a variable:
os.path.join(buildOutputBase, 'coverage.cov')

Solution: Fixed, Use variable to reduce repetitive data.

Open3:
Solution: my local test, performance time increase 1.4% each build. I'm not sure whether the data is reasonable or not. But if won't fix it, I think one day unittest implement more and more on Edk2 part.
It will break azurepipe line build in the future.

V2/V1:
Mike Kinney:
Open1: Make commit message more clearly.
Solution: Change commit message to use real case to describe the issue I encounter.

Gua Guo (1):
  BaseTools/Plugin: Too many execute files cause "cmd too long" failure

 .../HostBasedUnitTestRunner.py                | 46 +++++++++++++++++--
 1 file changed, 41 insertions(+), 5 deletions(-)

--
2.39.2.windows.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-05-11  2:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-10  5:14 [PATCH v4 0/1] BaseTools/Plugin: Too many execute files cause "cmd too long" failure Guo, Gua
2023-05-10  5:14 ` [PATCH v4 1/1] " Guo, Gua
2023-05-10 21:40   ` [edk2-devel] " Michael Kubacki
2023-05-10 22:00     ` Guo, Gua
2023-05-11  1:43       ` 回复: " gaoliming
2023-05-11  1:52         ` Michael D Kinney
2023-05-11  1:59           ` Guo, Gua
2023-05-11  2:06             ` 回复: " gaoliming
2023-05-11  2:12               ` Guo, Gua
2023-05-11  2:55                 ` 回复: " gaoliming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox