c29a5d4751
Sanity/rebuild-kernel-and-reboot is imported from RHEL's tests/binutils/Sanity/rebuild-kernel-and-reboot (as of commit c5bc77c). It needs some adaptations first before running in Fedora.
21 lines
951 B
Plaintext
21 lines
951 B
Plaintext
Rebuild kernel, install it, reboot, and check if we're running the correct
|
|
kernel. Tailored specificaly for binutils buildroot testing process.
|
|
|
|
Author: Milos Prchlik <mprchlik@redhat.com>
|
|
|
|
Based on gcc/Sanity/rebuild-kernel by:
|
|
Author: Michal Nowak <mnowak@redhat.com>
|
|
Author: Marek Polacek <polacek@redhat.com>
|
|
|
|
Using MACHINE_SET__STRONG host-filter for this test, by setting the "hardware"
|
|
section in TCMS properly. That has several effects:
|
|
|
|
- kernel rebuild is very resoruce-intensive task, and having more powerful
|
|
boxes for it is simply good,
|
|
- this task will get its own boxes, not clobbered by additional kernel packages
|
|
that are usually installed by other tasks in the same run. E.g.kernel-debuginfo,
|
|
when installed, will conflict with freshly build kernel packages. This should
|
|
workaround such situations,
|
|
- this tasks reboots its boxes - should such reboot break something, don't ruin
|
|
the whole run by it, right?
|