From 03ee4e3e2249e114bfc7375ad4abd2f4320e05bd Mon Sep 17 00:00:00 2001 From: Matti Picus Date: Sun, 5 Jan 2020 00:12:51 +0200 Subject: tweak how to pass define_macros, shorten module name to not go over 260 chars --- testing/cffi0/test_zdistutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/cffi0/test_zdistutils.py b/testing/cffi0/test_zdistutils.py index b67b105..35b3d0c 100644 --- a/testing/cffi0/test_zdistutils.py +++ b/testing/cffi0/test_zdistutils.py @@ -89,7 +89,7 @@ class DistUtilsTest(object): csrc = '/*hi there %s!2*/\n#include \n' % self v = Verifier(ffi, csrc, force_generic_engine=self.generic, libraries=[self.lib_m]) - basename = self.__class__.__name__ + 'test_compile_module' + basename = self.__class__.__name__[:10] + '_test_compile_module' v.modulefilename = filename = str(udir.join(basename + '.so')) v.compile_module() assert filename == v.modulefilename -- cgit v1.2.1