Commit 01255f16 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Merge pull request #1138 from kmod/refcounting

Turn on CI for the refcounting branch again
parents 4378ad13 b35206ac
...@@ -2,16 +2,18 @@ language: cpp ...@@ -2,16 +2,18 @@ language: cpp
branches: branches:
except: except:
- refcounting # - refcounting
compiler: compiler:
- clang - clang
- gcc # XXX: temporarily disable
# - gcc
env: env:
matrix: matrix:
- TRAVIS_BUILD_TYPE=Debug CCACHE_DIR=$HOME/.ccache_debug - TRAVIS_BUILD_TYPE=Debug CCACHE_DIR=$HOME/.ccache_debug
- TRAVIS_BUILD_TYPE=Release CCACHE_DIR=$HOME/.ccache_release # XXX: temporarily disable
# - TRAVIS_BUILD_TYPE=Release CCACHE_DIR=$HOME/.ccache_release
global: global:
- PYSTON_RUN_ARGS=G - PYSTON_RUN_ARGS=G
......
...@@ -331,7 +331,8 @@ endmacro() ...@@ -331,7 +331,8 @@ endmacro()
# tests testname directory arguments # tests testname directory arguments
add_pyston_test(defaults tests --order-by-mtime -t50) add_pyston_test(defaults tests --order-by-mtime -t50)
add_pyston_test(force_llvm tests -a=-n -a=-X -t50) # XXX: reenable
# add_pyston_test(force_llvm tests -a=-n -a=-X -t50)
if(${CMAKE_BUILD_TYPE} STREQUAL "Release") if(${CMAKE_BUILD_TYPE} STREQUAL "Release")
add_pyston_test(max_compilation_tier tests -a=-O -a=-X -t50) add_pyston_test(max_compilation_tier tests -a=-O -a=-X -t50)
endif() endif()
......
...@@ -875,7 +875,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ ...@@ -875,7 +875,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
*/ */
PyAPI_FUNC(PyObject *) _PyNumber_ConvertIntegralToInt( PyAPI_FUNC(PyObject *) _PyNumber_ConvertIntegralToInt(
PyObject *integral, STOLEN(PyObject *) integral,
const char* error_format) PYSTON_NOEXCEPT; const char* error_format) PYSTON_NOEXCEPT;
/* /*
......
# expected: fail
from test.test_support import run_unittest, import_module from test.test_support import run_unittest, import_module
# Skip test if _sqlite3 module was not built. # Skip test if _sqlite3 module was not built.
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
#include "codegen/unwinding.h" #include "codegen/unwinding.h"
#include "core/common.h" #include "core/common.h"
#include "core/stats.h" #include "core/stats.h"
#include "runtime/types.h"
#include "runtime/objmodel.h" #include "runtime/objmodel.h"
#include "runtime/types.h"
namespace pyston { namespace pyston {
......
...@@ -2151,7 +2151,7 @@ extern "C" int PyNumber_CoerceEx(PyObject** pv, PyObject** pw) noexcept { ...@@ -2151,7 +2151,7 @@ extern "C" int PyNumber_CoerceEx(PyObject** pv, PyObject** pw) noexcept {
return 1; return 1;
} }
extern "C" PyObject* _PyNumber_ConvertIntegralToInt(PyObject* integral, const char* error_format) noexcept { extern "C" PyObject* _PyNumber_ConvertIntegralToInt(STOLEN(PyObject*) integral, const char* error_format) noexcept {
const char* type_name; const char* type_name;
static PyObject* int_name = NULL; static PyObject* int_name = NULL;
if (int_name == NULL) { if (int_name == NULL) {
......
...@@ -164,7 +164,6 @@ extern "C" double PyFloat_AsDouble(PyObject* o) noexcept { ...@@ -164,7 +164,6 @@ extern "C" double PyFloat_AsDouble(PyObject* o) noexcept {
} }
val = static_cast<BoxedFloat*>(fo)->d; val = static_cast<BoxedFloat*>(fo)->d;
Py_DECREF(fo);
return val; return val;
} }
......
# expected: reffail
import os, sys import os, sys
sys.path.append(os.path.dirname(__file__) + "/../lib") sys.path.append(os.path.dirname(__file__) + "/../lib")
......
# expected: reffail
import os import os
import signal import signal
import subprocess import subprocess
......
# expected: reffail
import os import os
import sys import sys
import subprocess import subprocess
......
# expected: reffail
import subprocess, sys, os, shutil, StringIO import subprocess, sys, os, shutil, StringIO
sys.path.append(os.path.dirname(__file__) + "/../lib") sys.path.append(os.path.dirname(__file__) + "/../lib")
import test_helper import test_helper
......
# expected: reffail
import os import os
import sys import sys
import subprocess import subprocess
......
# expected: reffail
import os import os
import sys import sys
import subprocess import subprocess
......
# expected: reffail
import gc import gc
import os import os
import sys import sys
......
# expected: reffail
import os import os
import sys import sys
import subprocess import subprocess
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment