Squashed 'external/gainput/' content from commit 2be0a50
git-subtree-dir: external/gainput git-subtree-split: 2be0a50089eafcc6fccb66142180082e48f27f4c
This commit is contained in:
17
test/test.cpp
Normal file
17
test/test.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
#if defined(__ANDROID__) || defined(ANDROID)
|
||||
#include <android_native_app_glue.h>
|
||||
#define CATCH_CONFIG_RUNNER
|
||||
#include "catch.hpp"
|
||||
void android_main(struct android_app* stateMain)
|
||||
{
|
||||
app_dummy();
|
||||
char* cmd[] = {"gainputtest"};
|
||||
Catch::Session().run( 1, cmd );
|
||||
}
|
||||
#else
|
||||
#define CATCH_CONFIG_MAIN
|
||||
#include "catch.hpp"
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user