1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00
os-autoinst-distri-fedora/tests
Adam Williamson b97c019ae9 revise language tag handling to be easier to use (T617)
Summary:
T617 makes some good points about the language tags; this is my
suggestion for an improvement. It requires a bit of cleverness
in unregister_prefix_tags(), but the upshot is that you don't
need to know to set any special tags when creating needles, a
needle with no language-related tags will be considered as valid
for all languages. You have to explicitly add LANGUAGE- tag(s)
to a needle for the language filtering to 'kick in' in any way.
If a needle has at least one LANGUAGE- tag, it will be filtered
unless it has the appropriate tag for the job's specified
language (default is still 'english').

With this approach, only needles which we specifically want to
*only* match their tagged language(s) need the tags, so we can
drop all those -ALL tags.

We're using LANGUAGE- instead of ENV-LANGUAGE- now because the
ENV- tag names denote tags that are treated slightly specially
by openQA, and this is not one. We cannot cleanly use
ENV-INSTLANG because openQA has a hardwired default of 'en_US'
for that.

Test Plan:
Check both English and French tests still work as
intended.

Reviewers: jskladan, garretraziel

Reviewed By: garretraziel

Subscribers: tflink

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D589
2015-09-29 15:52:50 -07:00
..
_boot_to_anaconda.pm Adds uefi support to tests where it makes sense 2015-09-15 11:04:01 +02:00
_console_wait_login.pm create fedora base class, factor out console login 2015-07-22 11:24:40 -07:00
_do_install_and_reboot.pm revise language tag handling to be easier to use (T617) 2015-09-29 15:52:50 -07:00
_graphical_wait_login.pm add comments and documentation 2015-08-05 08:23:59 +02:00
_software_selection.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_custom_btrfs.pm add ext3, btrfs and LVM thin tests, tweaks to custom methods 2015-08-10 11:01:12 -07:00
disk_custom_ext3.pm add ext3, btrfs and LVM thin tests, tweaks to custom methods 2015-08-10 11:01:12 -07:00
disk_custom_lvmthin.pm add ext3, btrfs and LVM thin tests, tweaks to custom methods 2015-08-10 11:01:12 -07:00
disk_custom_no_swap.pm small fix: wait a sec between clicks of 'Done' in no_swap 2015-08-31 17:02:27 -07:00
disk_custom_software_raid_postinstall.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_custom_software_raid.pm add ext3, btrfs and LVM thin tests, tweaks to custom methods 2015-08-10 11:01:12 -07:00
disk_guided_delete_all.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_delete_partial_postinstall.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_delete_partial.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_empty.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_encrypted_postinstall.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_encrypted.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_free_space_postinstall.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_multi_empty_all_postinstall.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_multi_empty_all.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_multi_postinstall.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_multi.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_shrink_postinstall.pm add guided shrink test 2015-09-08 15:54:22 +02:00
disk_guided_shrink.pm add guided shrink test 2015-09-08 15:54:22 +02:00
install_source_graphical.pm add comments and documentation 2015-08-05 08:23:59 +02:00
install_source_variation.pm add comments and documentation 2015-08-05 08:23:59 +02:00
uefi_postinstall.pm Adds uefi support to tests where it makes sense 2015-09-15 11:04:01 +02:00
upgrade_postinstall_desktop.pm convert upgrade tests to dnf-plugin-system-upgrade 2015-09-10 14:49:13 -07:00
upgrade_postinstall_minimal.pm convert upgrade tests to dnf-plugin-system-upgrade 2015-09-10 14:49:13 -07:00
upgrade_preinstall.pm convert upgrade tests to dnf-plugin-system-upgrade 2015-09-10 14:49:13 -07:00
upgrade_run.pm convert upgrade tests to dnf-plugin-system-upgrade 2015-09-10 14:49:13 -07:00