Skip to content

Commit

Permalink
Move systemd_rpm_macros test into phub extratests
Browse files Browse the repository at this point in the history
fix rpm-build package name
  • Loading branch information
dzedro committed Oct 3, 2023
1 parent 44f59d2 commit d19ee51
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions schedule/functional/extra_tests_textmode_phub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ schedule:
- '{{wpa_supplicant}}'
- console/vmstat
- console/ansible
- console/systemd_rpm_macros
- console/coredump_collect # For coredumps during the suite. Please put near end.
- console/zypper_log_packages # Records packages installed in the suite. Please put at end.
conditional_schedule:
Expand Down
1 change: 1 addition & 0 deletions schedule/qam/12-SP1/mau-extratests-phub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ schedule:
- console/add_phub_extension
- console/python_scientific
- console/vmstat
- console/systemd_rpm_macros
- console/coredump_collect
...
1 change: 1 addition & 0 deletions schedule/qam/12-SP2/mau-extratests-phub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ schedule:
- console/add_phub_extension
- console/python_scientific
- console/vmstat
- console/systemd_rpm_macros
- console/coredump_collect
...
1 change: 1 addition & 0 deletions schedule/qam/12-SP3/mau-extratests-phub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ schedule:
- console/add_phub_extension
- console/python_scientific
- console/vmstat
- console/systemd_rpm_macros
- console/coredump_collect
...
1 change: 1 addition & 0 deletions schedule/qam/12-SP4/mau-extratests-phub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ schedule:
- console/add_phub_extension
- console/python_scientific
- console/vmstat
- console/systemd_rpm_macros
- console/coredump_collect
...
1 change: 1 addition & 0 deletions schedule/qam/12-SP5/mau-extratests-phub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ schedule:
- console/add_phub_extension
- console/python_scientific
- console/vmstat
- console/systemd_rpm_macros
- console/coredump_collect
...
1 change: 1 addition & 0 deletions schedule/qam/15-SP1/mau-extratests-phub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ schedule:
- '{{sle15_x86_64}}'
- console/python_flake8
- console/vmstat
- console/systemd_rpm_macros
- console/coredump_collect
conditional_schedule:
sle15_x86_64:
Expand Down
1 change: 1 addition & 0 deletions schedule/qam/15-SP2/mau-extratests-phub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ schedule:
- '{{sle15_x86_64}}'
- console/python_flake8
- console/vmstat
- console/systemd_rpm_macros
- console/coredump_collect
conditional_schedule:
sle15_x86_64:
Expand Down
1 change: 1 addition & 0 deletions schedule/qam/15-SP3/mau-extratests-phub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ schedule:
- console/python_flake8
- console/vmstat
- console/ansible
- console/systemd_rpm_macros
- console/coredump_collect
conditional_schedule:
sle15_x86_64:
Expand Down
1 change: 1 addition & 0 deletions schedule/qam/15-SP4/mau-extratests-phub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ schedule:
- console/python_flake8
- console/vmstat
- '{{arch_specific15_sp4}}'
- console/systemd_rpm_macros
- console/coredump_collect
conditional_schedule:
sle15_x86_64:
Expand Down
1 change: 1 addition & 0 deletions schedule/qam/15-SP5/mau-extratests-phub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ schedule:
# - console/python_flake8 Removed due to bsc#1209609
- console/vmstat
- '{{arch_specific15_sp4}}'
- console/systemd_rpm_macros
- console/coredump_collect
conditional_schedule:
sle15_x86_64:
Expand Down
1 change: 1 addition & 0 deletions schedule/qam/15/mau-extratests-phub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ schedule:
- '{{sle15_x86_64}}'
- console/python_flake8
- console/vmstat
- console/systemd_rpm_macros
- console/coredump_collect
conditional_schedule:
sle15_x86_64:
Expand Down
1 change: 0 additions & 1 deletion schedule/qam/common/mau-extratests2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ schedule:
- console/timezone
- console/procps
- console/iotop
- console/systemd_rpm_macros
- console/kmod
- console/suse_module_tools
- console/aaa_base
Expand Down
4 changes: 1 addition & 3 deletions tests/console/systemd_rpm_macros.pm
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ use testapi;
use serial_terminal 'select_serial_terminal';
use utils;
use version_utils;
use registration qw(add_suseconnect_product);

sub build_mt {
zypper_call("in rpmbuild");
zypper_call("in rpm-build");
zypper_call("si multipath-tools");
assert_script_run("rpmbuild -bb /usr/src/packages/SPECS/multipath-tools.spec", 180);
}
Expand All @@ -40,7 +39,6 @@ sub run {
if (is_sle '>=15') {
# enable & disable source repo for multipat-tools source
assert_script_run(q(zypper mr -e --refresh $(zypper lr|awk '/Basesystem.*Source/ {print$5}')));
add_suseconnect_product('PackageHub', undef, undef, undef, 300, 1);
zypper_call("--gpg-auto-import-keys ref", 300) if (get_var('FIPS') || get_var('FIPS_ENABLED'));
build_mt();
assert_script_run(q(zypper mr -d $(zypper lr|awk '/Basesystem.*Source/ {print$5}')));
Expand Down

0 comments on commit d19ee51

Please sign in to comment.