Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-xt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ag-ohlberger
dune-community
dune-xt
Commits
770a2621
Commit
770a2621
authored
12 years ago
by
René Fritze
Browse files
Options
Downloads
Patches
Plain Diff
[tests] used fused gtest source instead of shipping entire archive
parent
1863808e
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dune/stuff/test/CMakeLists.txt
+4
-5
4 additions, 5 deletions
dune/stuff/test/CMakeLists.txt
dune/stuff/test/gtest/gtest-all.cc
+8222
-3809
8222 additions, 3809 deletions
dune/stuff/test/gtest/gtest-all.cc
dune/stuff/test/gtest/gtest.h
+19537
-0
19537 additions, 0 deletions
dune/stuff/test/gtest/gtest.h
with
27763 additions
and
3814 deletions
dune/stuff/test/CMakeLists.txt
+
4
−
5
View file @
770a2621
enable_testing
()
set_source_files_properties
(
${
DUNE_HEADERS
}
PROPERTIES HEADER_FILE_ONLY 1
)
add_subdirectory
(
gtest
)
include_sys_dir
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/gtest/include
)
include_dir
(
${
CMAKE_CURRENT_SOURCE_DIR
}
)
file
(
GLOB test_sources
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/*.cc"
)
foreach
(
source
${
test_sources
}
)
get_filename_component
(
testname
${
source
}
NAME_WE
)
add_executable
(
${
testname
}
${
source
}
${
DUNE_HEADERS
}
)
add_executable
(
${
testname
}
${
source
}
${
DUNE_HEADERS
}
${
CMAKE_CURRENT_SOURCE_DIR
}
/gtest/gtest-all.cc
)
add_test
(
${
testname
}
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
testname
}
)
target_link_libraries
(
${
testname
}
boost_filesystem boost_system boost_timer boost_thread
${
DUNE_LIBS
}
gtest
)
LIST
(
APPEND testnames
${
testname
}
)
target_link_libraries
(
${
testname
}
boost_filesystem boost_system boost_timer boost_thread
${
DUNE_LIBS
}
)
list
(
APPEND testnames
${
testname
}
)
endforeach
(
source
)
#grid pgf output
...
...
This diff is collapsed.
Click to expand it.
dune/stuff/test/gtest/
src/
gtest.cc
→
dune/stuff/test/gtest/gtest
-all
.cc
+
8222
−
3809
View file @
770a2621
This diff is collapsed.
Click to expand it.
dune/stuff/test/gtest/gtest.h
0 → 100644
+
19537
−
0
View file @
770a2621
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