~brianaker/libmemcached/1164440

« back to all changes in this revision

Viewing changes to libtest/main.cc

  • Committer: Continuous Integration
  • Date: 2012-10-22 05:56:09 UTC
  • mfrom: (1086.1.8 libmemcached-1.0)
  • Revision ID: ci@tangent.org-20121022055609-cbooaw9bcdal4qge
Merge lp:~tangent-org/libmemcached/1.0-build Build: jenkins-Libmemcached-1.0-87

Show diffs side-by-side

added added

removed removed

Lines of Context:
292
292
          return EXIT_SKIP;
293
293
 
294
294
        case TEST_FAILURE:
295
 
          std::cerr << "frame->create()" << std::endl;
 
295
          std::cerr << __FILE__ << ":" <<  __LINE__ << ": " << "frame->create()" << std::endl;
296
296
          return EXIT_FAILURE;
297
297
        }
298
298
      }
340
340
  }
341
341
  catch (libtest::fatal& e)
342
342
  {
343
 
    std::cerr << "FATAL:" << e.what() << std::endl;
344
 
    exit_code= EXIT_FAILURE;
345
 
  }
346
 
  catch (libtest::start& e)
347
 
  {
348
 
    std::cerr << "Failure to start:" << e.what() << std::endl;
 
343
    std::cerr << __FILE__ << ":" <<  __LINE__ << ": " << "FATAL:" << e.what() << std::endl;
349
344
    exit_code= EXIT_FAILURE;
350
345
  }
351
346
  catch (libtest::disconnected& e)
352
347
  {
353
 
    std::cerr << "Unhandled disconnection occurred:" << e.what() << std::endl;
 
348
    std::cerr << __FILE__ << ":" <<  __LINE__ << ": " << "Unhandled disconnection occurred:" << e.what() << std::endl;
354
349
    exit_code= EXIT_FAILURE;
355
350
  }
356
351
  catch (std::exception& e)
357
352
  {
358
 
    std::cerr << "std::exception:" << e.what() << std::endl;
 
353
    std::cerr << __FILE__ << ":" <<  __LINE__ << ": " << "std::exception:" << e.what() << std::endl;
359
354
    exit_code= EXIT_FAILURE;
360
355
  }
361
356
  catch (char const*)
362
357
  {
363
 
    std::cerr << "Exception:" << std::endl;
 
358
    std::cerr << __FILE__ << ":" <<  __LINE__ << ": " << "Exception:" << std::endl;
364
359
    exit_code= EXIT_FAILURE;
365
360
  }
366
361
  catch (...)
367
362
  {
368
 
    std::cerr << "Unknown exception halted execution." << std::endl;
 
363
    std::cerr << __FILE__ << ":" <<  __LINE__ << ": " << "Unknown exception halted execution." << std::endl;
369
364
    exit_code= EXIT_FAILURE;
370
365
  }
371
366