NativeTests.cpp 754 B

1234567891011121314151617181920
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #include "stdafx.h"
  6. #define CATCH_CONFIG_RUNNER
  7. #pragma warning(push)
  8. // conversion from 'int' to 'char', possible loss of data
  9. #pragma warning(disable:4242)
  10. #pragma warning(disable:4244)
  11. #include "catch.hpp"
  12. #pragma warning(pop)
  13. // Use nativetests.exe -? to get all command line options
  14. int _cdecl main(int argc, char * const argv[])
  15. {
  16. return Catch::Session().run(argc, argv);
  17. }