Print the SHA1 / version for the test suite from upstream
Bug #1855057 reported by
Po-Hsu Lin
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.
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
To post a comment you must log in.
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"