Add gating tests
resolves: rhbz#1962812
This commit is contained in:
parent
337b17b141
commit
269922171b
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
@ -25,7 +25,7 @@
|
||||
|
||||
Name: libldb
|
||||
Version: 2.3.0
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: A schema-less, ldap like, API and database
|
||||
Requires: libtalloc%{?_isa} >= %{talloc_version}
|
||||
Requires: libtdb%{?_isa} >= %{tdb_version}
|
||||
@ -230,6 +230,9 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue May 25 2021 Andreas Schneider <asn@redhat.com> - 2.4.0-5
|
||||
- resolves rhbz#1962812 - Added gating tests
|
||||
|
||||
* Thu May 20 2021 Andreas Schneider <asn@redhat.com> - 2.3.0-4
|
||||
- related: #1951285 - Enable lmdb support on ppc64le again
|
||||
|
||||
|
10
tests/sanity/Makefile
Normal file
10
tests/sanity/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
ldb_mod_op-test: ldb_mod_op_test.c
|
||||
gcc ldb_mod_op_test.c -lldb -ltevent -ltalloc -lcmocka -o ldb_mod_op-test
|
||||
|
||||
run: ldb_mod_op-test
|
||||
@echo "Running ldb_mod_op-test"
|
||||
./ldb_mod_op-test
|
||||
|
||||
clean:
|
||||
rm -f ldb_mod_op-test
|
4555
tests/sanity/ldb_mod_op_test.c
Normal file
4555
tests/sanity/ldb_mod_op_test.c
Normal file
File diff suppressed because it is too large
Load Diff
4
tests/sanity/ldbtest.sh
Executable file
4
tests/sanity/ldbtest.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#/bin/bash
|
||||
|
||||
make run || exit 1
|
||||
make clean || exit 2
|
20
tests/tests.yml
Normal file
20
tests/tests.yml
Normal file
@ -0,0 +1,20 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- sanity:
|
||||
dir: sanity
|
||||
run: ./ldbtest.sh
|
||||
required_packages:
|
||||
- make
|
||||
- gcc
|
||||
- libldb
|
||||
- libldb-devel
|
||||
- libtevent
|
||||
- libtevent-devel
|
||||
- libtalloc
|
||||
- libtalloc-devel
|
||||
- libcmocka
|
||||
- libcmocka-devel
|
Loading…
Reference in New Issue
Block a user