Commit fa4f9f1b authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Use ERROR SUMMARY string to check for sanity errors

parent a2131611
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -189,12 +189,12 @@ sanity_stage:
      - echo "Running memory sanity check for ParticleDescriptor"
      - chmod +x test_ParticleDescriptor
      - valgrind --leak-check=full --log-file=valgrind.log ./test_ParticleDescriptor
      - grep "no leaks are possible" valgrind.log
      - grep "ERROR SUMMARY: 0 errors" valgrind.log
      - echo "Running memory sanity check for output classes"
      - chmod +x test_outputs
      - rm valgrind.log
      - valgrind --leak-check=full --log-file=valgrind.log ./test_outputs
      - grep "no leaks are possible" valgrind.log
      - grep "ERROR SUMMARY: 0 errors" valgrind.log
      
running_stage:
   stage: run