Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

WIP: Enable rootcint by default #122

Closed
wants to merge 3 commits into from

2 participants

Peter Waller Noel Dawe
Peter Waller
Owner

No description provided.

Peter Waller
Owner

To see what ACLiC is doing:

.../rootpy/rootpy/tests $ DEBUG=1 nosetests -sv --nologcapture
Peter Waller
Owner

I propose closing this pending use cases.

Noel Dawe
Owner

Agreed.

Noel Dawe ndawe closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 11 additions and 0 deletions.
  1. +3 −0  rootpy/stl.py
  2. +8 −0 rootpy/tests/test_stl.py
3  rootpy/stl.py
View
@@ -145,6 +145,9 @@ def initialize():
ROOT.gSystem.AddLinkedLibs("-Wl,-rpath,{0}".format(DICTS_PATH))
+ if "DEBUG" in os.environ:
+ ROOT.gDebug = 7
+
class CPPType(CPPGrammar):
"""
Grammar and representation of a C++ template type. Can handle arbitrary
8 rootpy/tests/test_stl.py
View
@@ -33,6 +33,7 @@
def test_parse():
+ return
for template in GOOD:
assert_equal(template, str(CPPType.from_string(template)))
@@ -43,6 +44,12 @@ def test_parse():
@attr('slow')
def test_rootcint():
+ generate('vector<float>', '<vector>')
+ generate('vector<TLorentzVector>', '<vector>;TLorentzVector.h')
+ v = ROOT.std.vector('TLorentzVector')
+ v = v()
+ return
+
generate('map<int,vector<float> >', '<vector>;<map>')
generate('map<int,vector<int> >', '<vector>;<map>')
generate('vector<TLorentzVector>', '<vector>;TLorentzVector.h')
@@ -78,6 +85,7 @@ def test_rootcint():
def test_dict_load():
+ return
with get_file('test_dicts.root') as f:
# this will trigger the loading of the dicts required by all branches
Something went wrong with that request. Please try again.