Commit 8a03cf8f authored by Vector Li's avatar Vector Li Committed by Bruno Goncalves
Browse files

Add the procedure of updating LTP for internal builds

parent 3403d85c
---
title: LTP update procedure for internal builds
---
We update LTP for internal builds every three months to align with the
frequency of [LTP release][01]. To update it, we internally follow these steps:
* Create a branch on your fork of [kernel-tests][02] (_create a fork if you
don't have one already_).
* Copy RHELKT1LITE.YYYYMMDD file (e.g. RHELKT1LITE.20210524) from
[internal configs][03] to dir `distribution/ltp/lite/configs`.
* Update file `distribution/ltp/lite/runtest.sh` to use RHELKT1LITE.YYYYMMDD.
* Update `dci/*.xml` to use `YYYYMMDD`, e.g.
```xml
<dependency url="https://github.com/linux-test-project/ltp/releases/download/20210524/ltp-full-20210524.tar.bz2"/>
```
* Push the branch with your changes with comment
`Update LTP Stable to YYYYMMDD`.
* File an MR to repo [kernel-tests][02].
* Test your branch via `cki-ci-bot` in your MR.
[01]: https://github.com/linux-test-project/ltp/releases
[02]: https://gitlab.com/cki-project/kernel-tests
[03]: https://gitlab.cee.redhat.com/kernel-qe/kernel/-/blob/master/distribution/ltp/lite/configs
......@@ -10,8 +10,8 @@ in recent fixes and updated tests from LTP repository.
To update our copy of LTP, we internally follow these steps:
* Make your own branch of [kernel-tests] (_create a fork if you didn't
have one already_).
* Create a branch on your fork of [kernel-tests] (_create a fork if you
don't have one already_).
* Look for a recent commit in the [upstream LTP repo] **that passes
all Travis checks** and update the commit hash in the `git checkout`
command in [runtest.sh] (global variable `LTP_REPO_COMMIT_ID`) to use that
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment