diff --git a/memstrack.spec b/memstrack.spec index 1596116..9058a2b 100644 --- a/memstrack.spec +++ b/memstrack.spec @@ -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 - 0.2.5-2 +- Add missing tests directory + * Mon Jun 26 2023 Tao Liu - 0.2.5-1 - Rebase to latest upstream(e2d91c4823b) diff --git a/tests/runtest.sh b/tests/runtest.sh new file mode 100755 index 0000000..2629abb --- /dev/null +++ b/tests/runtest.sh @@ -0,0 +1,2 @@ +#!/bin/sh +make -C source test diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..c0a26b9 --- /dev/null +++ b/tests/tests.yml @@ -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