Commit b35206ac authored by Kevin Modzelewski's avatar Kevin Modzelewski

Turn on CI for the refcounting branch again

- mark a few more things as reffail
- disable "force-llvm" tests for now since a lot of those are failing
- fix a couple misc issues
- turn off the gcc build for now (compilation error)
- turn off the release build for now (lots of tests fail in debug mode but
  pass in release, and I don't want to bother annotating that)
parent 4378ad13
......@@ -2,16 +2,18 @@ language: cpp
branches:
except:
- refcounting
# - refcounting
compiler:
- clang
- gcc
# XXX: temporarily disable
# - gcc
env:
matrix:
- 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:
- PYSTON_RUN_ARGS=G
......
......@@ -331,7 +331,8 @@ endmacro()
# tests testname directory arguments
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")
add_pyston_test(max_compilation_tier tests -a=-O -a=-X -t50)
endif()
......
......@@ -875,7 +875,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
*/
PyAPI_FUNC(PyObject *) _PyNumber_ConvertIntegralToInt(
PyObject *integral,
STOLEN(PyObject *) integral,
const char* error_format) PYSTON_NOEXCEPT;
/*
......
# expected: fail
from test.test_support import run_unittest, import_module
# Skip test if _sqlite3 module was not built.
......
......@@ -19,8 +19,8 @@
#include "codegen/unwinding.h"
#include "core/common.h"
#include "core/stats.h"
#include "runtime/types.h"
#include "runtime/objmodel.h"
#include "runtime/types.h"
namespace pyston {
......
......@@ -2151,7 +2151,7 @@ extern "C" int PyNumber_CoerceEx(PyObject** pv, PyObject** pw) noexcept {
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;
static PyObject* int_name = NULL;
if (int_name == NULL) {
......
......@@ -164,7 +164,6 @@ extern "C" double PyFloat_AsDouble(PyObject* o) noexcept {
}
val = static_cast<BoxedFloat*>(fo)->d;
Py_DECREF(fo);
return val;
}
......
# expected: reffail
import os, sys
sys.path.append(os.path.dirname(__file__) + "/../lib")
......
# expected: reffail
import os
import signal
import subprocess
......
# expected: reffail
import os
import sys
import subprocess
......
# expected: reffail
import subprocess, sys, os, shutil, StringIO
sys.path.append(os.path.dirname(__file__) + "/../lib")
import test_helper
......
# expected: reffail
import os
import sys
import subprocess
......
# expected: reffail
import os
import sys
import subprocess
......
# expected: reffail
import gc
import os
import sys
......
# expected: reffail
import os
import sys
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