<commit_before>#include "common.h"

int main()
{
  
  ambix_t *ambix = NULL;
  ambix_info_t *info= calloc(1, sizeof(ambix_info_t));
  ambix=ambix_open(AMBIXTEST_FILE1, AMBIX_READ, info);
  
  int result=0;

  result= ambix_seek (ambix, 100, SEEK_CUR);
  fail_if (result!=100, __LINE__, "File failed to seek correct data");
  
  ambix_close(ambix);
  
  return 0;
}<commit_msg>skip test if file cannot be opened rather than fail<commit_after>#include "common.h"

int main()
{
  int result=0;
  
  ambix_t *ambix = NULL;
  ambix_info_t *info= calloc(1, sizeof(ambix_info_t));

  ambix=ambix_open(AMBIXTEST_FILE1, AMBIX_READ, info);
  skip_if(NULL==ambix, __LINE__, "ambix_open(%s, AMBIX_READ, info)", AMBIXTEST_FILE1);
  
  result= ambix_seek (ambix, 100, SEEK_CUR);
  fail_if (result!=100, __LINE__, "File failed to seek correct data");
  
  ambix_close(ambix);
  
  return 0;
}
{'fraction_non_alphanumeric': 0.12884834663625996, 'fraction_numerical': 0.02394526795895097, 'mean_word_length': 4.8533333333333335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3597995', 'n_tokens_mistral': 378, 'n_tokens_neox': 360, 'n_words': 82}