Commit 1257cf68 authored by Marius Wachtler's avatar Marius Wachtler

enable sqlalchemy_smalltest

parent 24ee1667
......@@ -85,6 +85,9 @@ void RefcountTracker::refConsumed(llvm::Value* v, llvm::Instruction* inst) {
}
void RefcountTracker::refUsed(llvm::Value* v, llvm::Instruction* inst) {
if (llvm::isa<UndefValue>(v))
return;
assert(this->vars[v].reftype != RefType::UNKNOWN);
this->refs_used[inst].push_back(v);
......
# expected: reffail
import gc
import os
import sys
......@@ -192,21 +191,22 @@ MODULES_TO_TEST = [
'test.sql.test_rowcount',
'test.sql.test_selectable',
'test.sql.test_text',
'test.sql.test_unicode',
'test.aaa_profiling.test_resultset',
'test.dialect.test_sqlite',
'test.orm.test_dynamic',
'test.orm.test_merge',
'test.orm.test_relationships',
'test.orm.test_versioning',
'test.sql.test_compiler',
]
FAILING = [
# 'test.aaa_profiling.test_memusage', # Wants gc.get_objects
# 'test.aaa_profiling.test_resultset', # Wants sys.getrefcount
# 'test.dialect.test_sqlite', # ascii codec can't encode
# 'test.ext.test_extendedattr', # does `locals()[42] = 99` in a classdef to prove it can. maybe we could say is_pypy to avoid it.
# 'test.orm.test_dynamic', # not sure; things end up being put in tuples
# 'test.orm.test_merge', # needs PyObject_AsWriteBuffer
# 'test.orm.test_relationships', # not sure; things end up being put in tuples
# 'test.aaa_profiling.test_memusage', # assert(obj->cls != closure_cls);
# 'test.orm.test_session', # unclear
# 'test.orm.test_versioning', # crashes in the uuid module with an AttributeError from ctypes
# 'test.sql.test_compiler', # unclear
# 'test.sql.test_quote', # unclear
# 'test.sql.test_unicode', # "ascii codec can't encod character"
]
# MODULES_TO_TEST = ['test.orm.test_bulk']
......
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