Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
9f4febd3
Commit
9f4febd3
authored
9 years ago
by
Eric Cano
Browse files
Options
Downloads
Patches
Plain Diff
Merged the unit tests and system tests packages and created a script to run both in one go.
parent
2925b4ca
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cta.spec.in
+9
-17
9 additions, 17 deletions
cta.spec.in
tests/CMakeLists.txt
+1
-1
1 addition, 1 deletion
tests/CMakeLists.txt
tests/cta-unitPlusSystemTests.sh
+4
-0
4 additions, 0 deletions
tests/cta-unitPlusSystemTests.sh
with
14 additions
and
18 deletions
cta.spec.in
+
9
−
17
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
This diff is collapsed.
Click to expand it.
tests/CMakeLists.txt
+
1
−
1
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/
)
This diff is collapsed.
Click to expand it.
tests/cta-unitPlusSystemTests.sh
0 → 100644
+
4
−
0
View file @
9f4febd3
#!/bin/bash
set
-e
/usr/bin/cta-valgrindUnitTests.sh
/usr/bin/cta-systemTests
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment