https://bugzilla.redhat.com/show_bug.cgi?id=1371158 --- Comment #3 from Ingvar Hagelund <ingvar@xxxxxxxxx> --- Thanks Petr Updated spec: https://ingvar.fedorapeople.org/ebtree/ebtree.spec Updated srpm: https://ingvar.fedorapeople.org/ebtree/ebtree-6.0.8-2.fc25.src.rpm > TODO: Execute tests from %check section. Upstream has tests. There are test binaries, but no test suite. I made a little script that runs the test with some random values, and checks that what comes in gets out. I guess that will do. > Actually it would be great if the tests used the dynamic library so they > checked the bits the RPM package will deliver to users. They uses the static > library now. Do they? [ingvar@netcat ~/rpmbuild/BUILD/ebtree-6.0.8]$ echo 42 | ./test32 42 ./test32: error while loading shared libraries: libebtree.so.0: cannot open shared object file: No such file or directory [ingvar@netcat ~/rpmbuild/BUILD/ebtree-6.0.8]$ ldd test32 linux-vdso.so.1 (0x00007ffec21ee000) libebtree.so.0 => not found libc.so.6 => /lib64/libc.so.6 (0x00007fab965b2000) /lib64/ld-linux-x86-64.so.2 (0x000055a621bb4000) [ingvar@netcat ~/rpmbuild/BUILD/ebtree-6.0.8]$ export LD_LIBRARY_PATH=. [ingvar@netcat ~/rpmbuild/BUILD/ebtree-6.0.8]$ ldd test32 linux-vdso.so.1 (0x00007ffd46de4000) libebtree.so.0 => ./libebtree.so.0 (0x00007f2668726000) libc.so.6 => /lib64/libc.so.6 (0x00007f266832f000) /lib64/ld-linux-x86-64.so.2 (0x0000557a4ca2a000) [ingvar@netcat ~/rpmbuild/BUILD/ebtree-6.0.8]$ echo 42 | ./test32 42 Dump of command line values : node 0x1ec7010 = 42 Now enter lookup values, one per line. eq: node=0x1ec7010, val=42 le: node=0x1ec7010, val=42 ge: node=0x1ec7010, val=42 -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx