Add missing tests directory

Release 0.2.5-2

Fix the osci gating reports: "ERROR: No dist-git tests (STI/TMT)
were found in the repository"

Related: bz2165190

Signed-off-by: Tao Liu <ltao@redhat.com>
This commit is contained in:
Tao Liu 2023-06-27 09:46:47 +08:00
parent 3aa8ef11ea
commit 82f407ff0e
3 changed files with 25 additions and 1 deletions

View File

@ -2,7 +2,7 @@
Name: memstrack
Version: 0.2.5
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A memory allocation tracer, like a hot spot analyzer for memory allocation
License: GPLv3
URL: https://github.com/ryncsn/memstrack
@ -35,6 +35,9 @@ install -p -m 755 memstrack %{buildroot}/%{_bindir}
%{_bindir}/memstrack
%changelog
* Tue Jun 27 2023 Tao Liu <ltao@redhat.com> - 0.2.5-2
- Add missing tests directory
* Mon Jun 26 2023 Tao Liu <ltao@redhat.com> - 0.2.5-1
- Rebase to latest upstream(e2d91c4823b)

2
tests/runtest.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
make -C source test

19
tests/tests.yml Normal file
View File

@ -0,0 +1,19 @@
---
- hosts: localhost
roles:
- role: standard-test-source
tags:
- always
- role: standard-test-basic
tags:
- atomic
- classic
required_packages:
- make
- ncurses-devel
- gcc
tests:
- smoke:
dir: .
run: ./runtest.sh