Create RPM target for the testsuite
This commit is contained in:
@@ -191,7 +191,7 @@ bin_iscsi_test_SOURCES = test-tool/iscsi-test.c \
|
||||
if ISCSITEST
|
||||
# libiscsi test tool using cunit
|
||||
|
||||
noinst_PROGRAMS += bin/iscsi-test-cu
|
||||
bin_PROGRAMS += bin/iscsi-test-cu
|
||||
# dist_noinst_HEADERS += test-tool/iscsi-test-cu.h
|
||||
bin_iscsi_test_cu_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/test-tool
|
||||
bin_iscsi_test_cu_LDFLAGS = -ldl -lcunit
|
||||
|
||||
@@ -95,6 +95,18 @@ The libiscsi-devel package includes the header files for libiscsi.
|
||||
%{_libdir}/libiscsi.so
|
||||
%{_libdir}/pkgconfig/libiscsi.pc
|
||||
|
||||
%package testsuite
|
||||
Summary: iSCSI test suite
|
||||
Group: Development/Tools
|
||||
|
||||
%description testsuite
|
||||
Test tool for iSCSI/SCSI targets
|
||||
|
||||
%files testsuite
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/iscsi-test-cu
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 20 2013 : 1.10.0
|
||||
- Add manpages for iscsi-ls/iscsi-inq and iscsi-swp
|
||||
|
||||
Reference in New Issue
Block a user