related: RHEL-33616 - Rebuild package to run tests
This commit is contained in:
parent
277e853d45
commit
cb8317e0aa
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