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

Include binary consistency checks in pipeline tests

parent e92deb4d
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@ running_stage:
testing_stage:
   stage: test
   tags: ["np-tmcode"]
   allow_failure: true
   allow_failure: false
   needs:
      - job: building_stage
      - job: running_stage
@@ -123,8 +123,15 @@ testing_stage:
      - export FFILE=../../test_data/sphere/OSPH
      - echo "Comparing output of SPHERE"
      - python3 ../../src/scripts/pycompare.py --ffile=$FFILE --cfile=c_OSPH --html
      - echo "Checking consistency among legacy and HDF5 configuration files"
      - ../testing/test_TEDF ../../test_data/sphere/DEDFB c_TEDF c_TEDF.hdf5
      - cd ../cluster
      - echo "Comparing output of CLUSTER"
      - export FFILE=../../test_data/cluster/OCLU
      - python3 ../../src/scripts/pycompare.py --ffile=$FFILE --cfile=c_OCLU --html
      
      - echo "Testing cluster with 24 spheres"
      - ./np_cluster ../../test_data/cluster/DEDFB_24 ../../test_data/cluster/DCLU_24 .
      - echo "Checking consistency among legacy and HDF5 configuration files"
      - ../testing/test_TEDF ../../test_data/cluster/DEDFB_24 c_TEDF c_TEDF.hdf5
      - echo "Checking consistency among legacy and HDF5 TM files"
      - ../testing/test_TTMS c_TTMS c_TTMS.hdf5