IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38492


Ignore:
Timestamp:
Jun 19, 2015, 8:59:52 AM (11 years ago)
Author:
eugene
Message:

test memory in tests (do not use ohana_memcheck_func but ohana_memcheck)

Location:
branches/eam_branches/ipp-20150616/Ohana/src/libfits/test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150616/Ohana/src/libfits/test/imagecomp.c

    r38427 r38492  
    1111int bitpix[] = {8, 16, 32, -32, -64, 0};
    1212
    13 //char *cmptype[] = {"GZIP_1", NULL};
    14 //int bitpix[] = {16, 0};
     13// char *cmptype[] = {"NONE", NULL};
     14// int bitpix[] = {16, 0};
    1515
    1616static int NX = 10;
     
    3131      test_compress_fulltile (bitpix[j], cmptype[i]);
    3232      test_compress_fullrange (bitpix[j], cmptype[i]);
     33      ok (ohana_memcheck (TRUE), "no memory corruption");
    3334    }
    3435  }
     
    4243      test_compress_fulltile (bitpix[j], cmptype[i]);
    4344      test_compress_fullrange (bitpix[j], cmptype[i]);
     45      ok (ohana_memcheck (TRUE), "no memory corruption");
    4446    }
    4547  }
     
    5355      test_compress_fulltile (bitpix[j], cmptype[i]);
    5456      test_compress_fullrange (bitpix[j], cmptype[i]);
     57      ok (ohana_memcheck (TRUE), "no memory corruption");
    5558    }
    5659  }
  • branches/eam_branches/ipp-20150616/Ohana/src/libfits/test/tablecomp.c

    r38418 r38492  
    2727    test_compress_fullrange (cmptype[i]);
    2828    test_compress_empty (cmptype[i]);
    29     ok (ohana_memcheck_func (TRUE), "no memory corruption");
     29    ok (ohana_memcheck (TRUE), "no memory corruption");
    3030  }
    3131
  • branches/eam_branches/ipp-20150616/Ohana/src/libfits/test/tcomptiming.c

    r38429 r38492  
    2929    gfits_uncompress_timing();
    3030  }
    31   ok (ohana_memcheck_func (TRUE), "no memory corruption");
     31  ok (ohana_memcheck (TRUE), "no memory corruption");
    3232
    3333  return exit_status();
Note: See TracChangeset for help on using the changeset viewer.