Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
1257cf68
Commit
1257cf68
authored
May 19, 2016
by
Marius Wachtler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable sqlalchemy_smalltest
parent
24ee1667
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
10 deletions
+13
-10
src/codegen/irgen/refcounts.cpp
src/codegen/irgen/refcounts.cpp
+3
-0
test/integration/sqlalchemy_smalltest.py
test/integration/sqlalchemy_smalltest.py
+10
-10
No files found.
src/codegen/irgen/refcounts.cpp
View file @
1257cf68
...
...
@@ -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
);
...
...
test/integration/sqlalchemy_smalltest.py
View file @
1257cf68
# 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']
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment