mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-27 23:37:04 -05:00
tests: Include patterns folder as include path to support import * from X as Y
#426
This commit is contained in:
@@ -72,7 +72,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
|
||||
runtime.setDangerousFunctionCallHandler([]{ return true; });
|
||||
runtime.setIncludePaths({ includePath });
|
||||
runtime.setIncludePaths({ includePath, patternFilePath.parent_path() });
|
||||
runtime.addPragma("MIME", DummyPragmaHandler);
|
||||
runtime.addPragma("description", DescPragmaHandler);
|
||||
runtime.addDefine("__PL_UNIT_TESTS__");
|
||||
|
||||
Reference in New Issue
Block a user