Main.cpp 603 B

1234567891011121314151617181920212223242526
  1. // Copyright (C) 2009-2022, Panagiotis Christopoulos Charitos and contributors.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #include <Tests/Framework/Framework.h>
  6. #include <AnKi/Util/Filesystem.h>
  7. using namespace anki;
  8. ANKI_MAIN_FUNCTION(myMain)
  9. int myMain(int argc, char** argv)
  10. {
  11. HeapAllocator<U8> alloc(allocAligned, nullptr);
  12. // Call a few singletons to avoid memory leak confusion
  13. LoggerSingleton::get();
  14. int exitcode = getTesterSingleton().run(argc, argv);
  15. LoggerSingleton::destroy();
  16. deleteTesterSingleton();
  17. return exitcode;
  18. }