Use a special test launcher that links the sanitize runtime library directly

This commit is contained in:
Kovid Goyal
2017-05-15 10:18:59 +05:30
parent ba7a6e8106
commit 788f09e855
7 changed files with 97 additions and 35 deletions

13
test-launcher.c Normal file
View File

@@ -0,0 +1,13 @@
/*
* linux-launcher.c
* Copyright (C) 2017 Kovid Goyal <kovid at kovidgoyal.net>
*
* Distributed under terms of the GPL3 license.
*/
#include <Python.h>
int main(int argc, char *argv[]) {
wchar_t *wargv[2] = {L"kitty-test", L"test.py"};
return Py_Main(2, wargv);
}