Skip to content

Commit 9cbd640

Browse files
committed
Add new TMT plan and split tests for local and pr-tests
PR-testing and Gating have to test unit-tests based on the installed package, however, when we are running these tests in local then we want to start the tests on source and not the installed package. Create two plans to solve this issue.
1 parent e4a3bc3 commit 9cbd640

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

plans/local/basic.fmf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../pr-tests/basic.fmf

plans/local/main.fmf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/basic:
2+
artifacts+:
3+
discover+:
4+
filter: tag:local
5+
prepare:
6+
- name: Install missing dependencies
7+
how: install
8+
package: python3-gobject-base

tests/units/source.fmf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
path: /
2+
test: ./tests/units/run_test.sh
3+
tag: local

tests/units/sys-installed.fmf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tag: sys-installed

0 commit comments

Comments
 (0)