btrfs-progs: move library-test.c to tests/

Move it out of the top-level directory.

Signed-off-by: David Sterba <dsterba@suse.com>
David Sterba 2020-03-04 20:50:14 +01:00
parent 3feefaf134
commit b147ef8764
2 changed files with 2 additions and 2 deletions

View File

@ -630,7 +630,7 @@ test-ioctl: ioctl-test ioctl-test-32 ioctl-test-64
$(Q)./ioctl-test-32 > ioctl-test-32.log
$(Q)./ioctl-test-64 > ioctl-test-64.log
library-test: library-test.c libbtrfs.so
library-test: tests/library-test.c libbtrfs.so
@echo " [TEST PREP] $@"$(eval TMPD=$(shell mktemp -d))
$(Q)mkdir -p $(TMPD)/include/btrfs && \
cp $(libbtrfs_headers) $(TMPD)/include/btrfs && \
@ -641,7 +641,7 @@ library-test: library-test.c libbtrfs.so
@echo " [TEST CLEAN] $@"
$(Q)$(RM) -rf -- $(TMPD)
library-test.static: library-test.c $(libs_static)
library-test.static: tests/library-test.c $(libs_static)
@echo " [TEST PREP] $@"$(eval TMPD=$(shell mktemp -d))
$(Q)mkdir -p $(TMPD)/include/btrfs && \
cp $(libbtrfs_headers) $(TMPD)/include/btrfs && \