IAP GITLAB

Skip to content
Snippets Groups Projects
Commit b78a8c62 authored by Ralf Ulrich's avatar Ralf Ulrich
Browse files

Merge branch 'fix_clang_checks' into 'master'

Fix clang checks

See merge request AirShowerPhysics/corsika!140
parents 9e7d3519 c7e4c34a
No related branches found
No related tags found
No related merge requests found
......@@ -28,8 +28,8 @@
#include <corsika/process/sibyll/Interaction.h>
#include <corsika/process/sibyll/NuclearInteraction.h>
#include <corsika/process/track_writer/TrackWriter.h>
#include <corsika/process/particle_cut/ParticleCut.h>
#include <corsika/process/track_writer/TrackWriter.h>
#include <corsika/units/PhysicalUnits.h>
......
......@@ -28,8 +28,8 @@
#include <corsika/process/sibyll/Interaction.h>
#include <corsika/process/sibyll/NuclearInteraction.h>
#include <corsika/process/track_writer/TrackWriter.h>
#include <corsika/process/particle_cut/ParticleCut.h>
#include <corsika/process/track_writer/TrackWriter.h>
#include <corsika/units/PhysicalUnits.h>
......
......@@ -293,7 +293,6 @@ TEST_CASE("Process Sequence", "[Process Sequence]") {
}
}
/*
Note: there is a fine-grained dedicated test-suite for SwitchProcess
in Processes/SwitchProcess/testSwtichProcess
......
......@@ -51,7 +51,7 @@ install (
# --------------------
# code unit testing
CORSIKA_ADD_TEST(testStackInspector)
CORSIKA_ADD_TEST (testStackInspector)
target_link_libraries (
testStackInspector
ProcessStackInspector
......
......@@ -5,7 +5,7 @@ command="clang-format -style=file `find . -iregex '^.*\.\(cc\|h\)$' -not -path '
if [ "$1" == "check" ];
then
`! ${command} -output-replacements-xml | grep -qc "<replacement "` || \
{ echo "format-check FAILED!"; exit $ERRCODE; }
{ echo "format-check FAILED!"; exit 1; }
echo "Congratulations: format-check succeeded"
elif [ "$1" == "apply" ];
then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment