| 94 | }; |
| 95 | |
| 96 | bool RunFile(lua_State* L, const char* filename) |
| 97 | { |
| 98 | char path[DMPATH_MAX_PATH]; |
| 99 | dmTestUtil::MakeHostPathf(path, sizeof(path), MOUNTFS PATH_FORMAT, filename); |
| 100 | if (luaL_dofile(L, path) != 0) |
| 101 | { |
| 102 | dmLogError("%s", lua_tolstring(L, -1, 0)); |
| 103 | return false; |
| 104 | } |
| 105 | return true; |
| 106 | } |
| 107 | |
| 108 | #if !defined(__NX__) |
| 109 | TEST_F(ScriptCrashTest, TestCrash) |
no test coverage detected