Skip to content

Commit

Permalink
correct tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Oct 24, 2017
1 parent 4d04abd commit 243e5ab
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,14 @@ def test_mapping_export(self):

asg = autowig.AbstractSemanticGraph()

if autowig.parser.plugin == 'libclang':
kwargs = dict(silent = True)
else:
kwargs = dict()

asg = autowig.parser(asg, self.incdir.files('*.h'),
['-x', 'c++', '-std=c++11', '-I' + str(self.incdir.parent)],
silent = True)
**kwargs)

autowig.controller.plugin = 'default'
autowig.controller(asg)
Expand Down

0 comments on commit 243e5ab

Please sign in to comment.