Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
9f4febd3
Commit
9f4febd3
authored
Feb 23, 2016
by
Eric Cano
Browse files
Merged the unit tests and system tests packages and created a script to run both in one go.
parent
2925b4ca
Changes
3
Hide whitespace changes
Inline
Side-by-side
cta.spec.in
View file @
9f4febd3
...
...
@@ -131,15 +131,18 @@ The shared libraries
%attr(0755,root,root) %{_libdir}/libctatapereactorutils.so
%attr(0755,root,root) %{_libdir}/libctatapeserverdaemonutils.so
%package -n cta-
unit
tests
Summary: CERN Tape Archive: unit
test
s
%package -n cta-
system
tests
Summary: CERN Tape Archive: unit
and system tests with virtual tape drive
s
Group: Application/CTA
%description -n cta-
unit
tests
%description -n cta-
system
tests
CERN Tape Archive:
unit tests
%files -n cta-unittests
Unit tests and system tests with virtual tape drives
%files -n cta-systemtests
%attr(0755,root,root) %{_bindir}/cta-systemTests
%attr(0755,root,root) %{_libdir}/libsystemTestHelperTests.so
%attr(0755,root,root) %{_bindir}/cta-unitTests
%attr(0755,root,root) %{_bindir}/cta-valgrindUnitTests.sh
%attr(0755,root,root) %{_bindir}/cta-unitPlusSystemTests.sh
%attr(0755,root,root) %{_libdir}/libctacatalogueunittests.so
%attr(0755,root,root) %{_libdir}/libctacommonunittests.so
%attr(0755,root,root) %{_libdir}/libctaexceptionunittests.so
...
...
@@ -158,15 +161,4 @@ unit tests
%attr(0755,root,root) %{_libdir}/libctatapeserverscsiunittests.so
%attr(0755,root,root) %{_libdir}/libctatapeserverutilsunittests.so
%attr(0755,root,root) %{_libdir}/libctautilsunittests.so
%attr(0644,root,root) %{_datadir}/%{name}-%{ctaVersion}/unittest/*.suppr
%package -n cta-systemtests
Summary: CERN Tape Archive: system tests with virtual tape drives
Group: Application/CTA
%description -n cta-systemtests
CERN Tape Archive:
system tests with virtual tape drives
%files -n cta-systemtests
%attr(0755,root,root) %{_bindir}/cta-systemTests
%attr(0755,root,root) %{_libdir}/libsystemTestHelperTests.so
%attr(0644,root,root) %{_datadir}/%{name}-%{ctaVersion}/unittest/*.suppr
\ No newline at end of file
tests/CMakeLists.txt
View file @
9f4febd3
...
...
@@ -73,5 +73,5 @@ install(TARGETS systemTestHelperTests DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
configure_file
(
cta-valgrindUnitTests.sh.in
${
CMAKE_CURRENT_BINARY_DIR
}
/cta-valgrindUnitTests.sh
)
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/cta-valgrindUnitTests.sh DESTINATION usr/bin
)
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/cta-valgrindUnitTests.sh
cta-unitPlusSystemTests.sh
DESTINATION usr/bin
)
install
(
FILES valgrind.suppr helgrind.suppr DESTINATION usr/share/cta-
${
CTA_VERSION
}
/unittest/
)
tests/cta-unitPlusSystemTests.sh
0 → 100644
View file @
9f4febd3
#!/bin/bash
set
-e
/usr/bin/cta-valgrindUnitTests.sh
/usr/bin/cta-systemTests
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment