Print the SHA1 / version for the test suite from upstream

Bug #1855057 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Po-Hsu Lin

Bug Description

We have many test suite that came from upstream.

It's better to print the SHA1 or the version number at the beginning of the test.
Therefore it can be easier to track test history in the past.

Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
assignee: nobody → Po-Hsu Lin (cypressyew)
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This can be achieved by using the git.py from autotest.client.shared, the git.get_repo() will run git describe in the end, which can tells us that the current SHA1 we're on (if it has tags).

Or just use "git rev-parse --short HEAD"

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Changed in ubuntu-kernel-tests:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.