Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
e2c46a41
Commit
e2c46a41
authored
11 years ago
by
Frank Gaede
Browse files
Options
Downloads
Patches
Plain Diff
- added some examples for running the tests
parent
fb3cdf4a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ReadMe.txt
+29
-7
29 additions, 7 deletions
ReadMe.txt
with
29 additions
and
7 deletions
ReadMe.txt
+
29
−
7
View file @
e2c46a41
...
@@ -54,7 +54,7 @@ system before building and running the examples
...
@@ -54,7 +54,7 @@ system before building and running the examples
To build and run the simulation examples Geant4 will be required.
To build and run the simulation examples Geant4 will be required.
2
) How to build DD4hep
4
) How to build DD4hep
-----------------------
-----------------------
- Checkout code
- Checkout code
...
@@ -105,26 +105,48 @@ To build and run the simulation examples Geant4 will be required.
...
@@ -105,26 +105,48 @@ To build and run the simulation examples Geant4 will be required.
- Setup the environment for running
- Setup the environment for running
. ./bin/thisdd4hep.sh
. ./bin/thisdd4hep.sh
or
or
source ./bin/thisdd4hep.csh
source ./bin/thisdd4hep.csh
5) Testing
-----------
DD4hep has a testing mechanism built on CMake/CTest. If configured with -DBUILD_TESTING=On, some make targets are
created automatically.
- running the tests:
3) Extending
cd build
make install
make test
- running the build - after an update (to the trunk) and then the tests with finally submitting the results to the Dasboard
( http://aidasoft.desy.de/CDash/index.php?project=DD4hep )
cd build
make -j4 ExperimentalStart ExperimentalUpdate ExperimentalBuild ExperimentalSubmit
make install ExperimentalTest ExperimentalSubmit
- running individual tests with output (e.g. in case of failed tests):
cd build
ctest -V -R units
# runs only test_units
6) Extending
------------
------------
Users may extend the models by changing the compact description or adding new drivers
Users may extend the models by changing the compact description or adding new drivers
4
) Release notes
7
) Release notes
----------------
----------------
If things do not work please also consult the release notes. It may happen that it was
If things do not work please also consult the release notes. It may happen that it was
forgotten to update the information here.
forgotten to update the information here.
5
) Building the examples
8
) Building the examples
-----------------------
-----------------------
Before any of the (new) examples in the ./examples directory can be build,
Before any of the (new) examples in the ./examples directory can be build,
...
@@ -164,7 +186,7 @@ or build all examples in one go:
...
@@ -164,7 +186,7 @@ or build all examples in one go:
6
) run SLIC simulation on lccd file created with DD4Hep:
9
) run SLIC simulation on lccd file created with DD4Hep:
# make sure slic is in the path and then:
# make sure slic is in the path and then:
...
...
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