[pypy-commit] pypy errno-again: fix tests

arigo noreply at buildbot.pypy.org
Fri Jan 16 18:47:08 CET 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: errno-again
Changeset: r75398:e6cc54e8bb43
Date: 2015-01-16 18:43 +0100
http://bitbucket.org/pypy/pypy/changeset/e6cc54e8bb43/

Log:	fix tests

diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backend/test/runner_test.py
--- a/rpython/jit/backend/test/runner_test.py
+++ b/rpython/jit/backend/test/runner_test.py
@@ -3037,8 +3037,7 @@
         eci = ExternalCompilationInfo(
             separate_module_sources=['''
                 #include <windows.h>
-                RPY_EXPORTED
-                long __stdcall test_call_release_gil_save_lasterror(
+                RPY_EXPORTED long test_call_release_gil_save_lasterror(
                        long a, long b, long c, long d, long e, long f, long g) {
                     SetLastError(42);
                     return (a + 10*b + 100*c + 1000*d +
@@ -3094,8 +3093,7 @@
             separate_module_sources=[r'''
                 #include <stdio.h>
                 #include <errno.h>
-                RPY_EXPORTED
-                long __stdcall test_call_release_gil_readsaved_lasterror(
+                RPY_EXPORTED long test_call_release_gil_readsaved_lasterror(
                        long a, long b, long c, long d, long e, long f, long g) {
                     long r = GetLastError();
                     printf("GetLastError() result: %ld\n", r);


More information about the pypy-commit mailing list