#2 Enable relevant tests from the shared shell repo
Merged 3 years ago by robert. Opened 3 years ago by psss.
rpms/ psss/mksh tmt-tests  into  master

file added
+1
@@ -0,0 +1,1 @@ 

+ 1

file added
+14
@@ -0,0 +1,14 @@ 

+ summary:

+     Run relevant tests from the shell tests repository

+ discover:

+     how: fmf

+     url: https://src.fedoraproject.org/tests/shell

+     filter: component:mksh

+ prepare:

+     how: install

+     package: mksh

+ execute:

+     how: tmt

+ environment:

+     PACKAGES: mksh

+     SH_BIN: mksh

file removed
-17
@@ -1,17 +0,0 @@ 

- ---

- 

- - hosts: localhost

-   roles:

-   - role: standard-test-beakerlib

-     tags:

-     - classic

-     repositories:

-     - repo: "https://src.fedoraproject.org/tests/shell.git"

-       dest: "shell"

-       fmf_filter: "tier: 1, 2"

-     environment:

-       PACKAGES: mksh

-       SH_BIN: mksh

-     required_packages:

-     - expect            # login requires expect

-     - which             # smoke requires which

This pull request enables tests in the Fedora CI using tmt which
also allows to easily execute and debug tests from your laptop:

Run tests directly on your localhost:

sudo dnf install -y tmt
tmt run --all provision --how local

Run tests in a virtual machine:

sudo dnf install -y tmt-provision-virtual
tmt run

Check the documentation to learn more about the tool:
https://docs.fedoraproject.org/en-US/ci/tmt/

rebased onto 3b60654

3 years ago

Updated to install mksh during the prepare step.

Pull-Request has been merged by robert

3 years ago