odin-blend2d

Odin bindings to Blend2D
Log | Files | Refs | README | LICENSE

bl_test_runner.cpp (817B)


      1 // This file is part of Blend2D project <https://blend2d.com>
      2 //
      3 // See blend2d.h or LICENSE.md for license and copyright information
      4 // SPDX-License-Identifier: Zlib
      5 
      6 #include <blend2d/api-build_test_p.h>
      7 #include <blend2d/runtime.h>
      8 #include <blend2d/runtimescope.h>
      9 
     10 int main(int argc, const char* argv[]) {
     11   BLRuntimeBuildInfo build_info;
     12   BLRuntime::query_build_info(&build_info);
     13 
     14   INFO(
     15     "Blend2D Unit Tests [use --help for command line options]\n"
     16     "  Version    : %u.%u.%u\n"
     17     "  Build Type : %s\n"
     18     "  Compiled By: %s\n\n",
     19     build_info.major_version,
     20     build_info.minor_version,
     21     build_info.patch_version,
     22     build_info.build_type == BL_RUNTIME_BUILD_TYPE_DEBUG ? "Debug" : "Release",
     23     build_info.compiler_info);
     24 
     25   BLRuntimeScope rt_scope;
     26   return BrokenAPI::run(argc, argv);
     27 }